Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007757/0.0007757, allocations: 95.25 kB / 16.33 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009104/0.0009105, allocations: 186.6 kB / 17.22 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.4 MB / 223.4 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4118/0.4118, allocations: 43.55 MB / 315.2 MB, free: 8.887 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005653/0.0005654, allocations: 16 kB / 384.5 MB, free: 8.016 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.152, allocations: 58.86 MB / 443.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003052/0.1551, allocations: 2.605 MB / 446 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006341/0.1558, allocations: 410.5 kB / 446.4 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.1559, allocations: 11.94 kB / 446.4 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.836e-05/0.156, allocations: 43.61 kB / 446.5 MB, free: 9.977 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.1563, allocations: 150.8 kB / 446.6 MB, free: 9.828 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.1565, allocations: 67.94 kB / 446.7 MB, free: 9.762 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004951/0.157, allocations: 0.5053 MB / 447.2 MB, free: 9.254 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002794/0.1573, allocations: 129.1 kB / 447.3 MB, free: 9.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.1575, allocations: 171.4 kB / 447.5 MB, free: 8.949 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002374/0.1578, allocations: 195.1 kB / 447.7 MB, free: 8.758 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.314e-05/0.1578, allocations: 24 kB / 447.7 MB, free: 8.734 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.026e-05/0.1579, allocations: 24 kB / 447.7 MB, free: 8.711 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.073e-05/0.1579, allocations: 75.73 kB / 447.8 MB, free: 8.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.158, allocations: 117.5 kB / 447.9 MB, free: 8.516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.1584, allocations: 375.2 kB / 448.3 MB, free: 8.148 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1584, allocations: 0 / 448.3 MB, free: 8.148 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1584, allocations: 0 / 448.3 MB, free: 8.148 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1584, allocations: 0 / 448.3 MB, free: 8.148 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0008847/0.1593, allocations: 0.6548 MB / 448.9 MB, free: 7.445 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.1594, allocations: 8.031 kB / 448.9 MB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.1595, allocations: 55.34 kB / 449 MB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003725/0.1599, allocations: 286.2 kB / 449.3 MB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.1599, allocations: 40.94 kB / 449.3 MB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.494e-05/0.16, allocations: 55.91 kB / 449.4 MB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006715/0.1607, allocations: 454.1 kB / 449.8 MB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.614e-05/0.1607, allocations: 11.91 kB / 449.8 MB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.748e-05/0.1608, allocations: 23.98 kB / 449.8 MB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.1608, allocations: 12 kB / 449.9 MB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003865/0.1612, allocations: 251.7 kB / 450.1 MB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002187/0.1634, allocations: 1.707 MB / 451.8 MB, free: 4.406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004915/0.1639, allocations: 415.4 kB / 452.2 MB, free: 3.918 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.1641, allocations: 155.6 kB / 452.4 MB, free: 3.738 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.1641, allocations: 15.88 kB / 452.4 MB, free: 3.723 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.1641, allocations: 50.5 kB / 452.4 MB, free: 3.664 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 1.613e-06/0.1641, allocations: 0 / 452.4 MB, free: 3.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.0006779/0.1648, allocations: 350.1 kB / 452.8 MB, free: 3.316 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/0.165, allocations: 277 kB / 453 MB, free: 2.984 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.1652, allocations: 246.6 kB / 453.3 MB, free: 2.734 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.1652, allocations: 29.7 kB / 453.3 MB, free: 2.699 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.1654, allocations: 243.6 kB / 453.5 MB, free: 2.457 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.1655, allocations: 177.5 kB / 453.7 MB, free: 2.281 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.037e-05/0.1655, allocations: 16.31 kB / 453.7 MB, free: 2.266 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1657, allocations: 358.7 kB / 454.1 MB, free: 1.906 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.1659, allocations: 110 kB / 454.2 MB, free: 1.797 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003806/0.1663, allocations: 417.6 kB / 454.6 MB, free: 1.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002585/0.1665, allocations: 180.9 kB / 454.8 MB, free: 1.074 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.1665, allocations: 4 kB / 454.8 MB, free: 1.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007719/0.1673, allocations: 0.5674 MB / 455.4 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.1674, allocations: 8 kB / 455.4 MB, free: 500 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.1674, allocations: 8 kB / 455.4 MB, free: 492 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.756e-05/0.1674, allocations: 16 kB / 455.4 MB, free: 476 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005047/0.1679, allocations: 183.7 kB / 455.6 MB, free: 292 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.267e-05/0.168, allocations: 19.88 kB / 455.6 MB, free: 272 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.1682, allocations: 67.62 kB / 455.6 MB, free: 204 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.1682, allocations: 36 kB / 455.7 MB, free: 168 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2851/0.4533, allocations: 183.6 kB / 455.9 MB, free: 44.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002677/0.4536, allocations: 35.12 kB / 455.9 MB, free: 44.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.4537, allocations: 40.11 kB / 455.9 MB, free: 44.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.4538, allocations: 6.297 kB / 455.9 MB, free: 44.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.4538, allocations: 2.969 kB / 455.9 MB, free: 44.83 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.4538, allocations: 4.906 kB / 455.9 MB, free: 44.83 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.4549, allocations: 422.5 kB / 456.4 MB, free: 44.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.4549, allocations: 3 kB / 456.4 MB, free: 44.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005019/0.4554, allocations: 129.8 kB / 456.5 MB, free: 44.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/0.4555, allocations: 6.344 kB / 456.5 MB, free: 44.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.287e-05/0.4555, allocations: 12.19 kB / 456.5 MB, free: 44.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.4555, allocations: 5.672 kB / 456.5 MB, free: 44.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4555, allocations: 2.781 kB / 456.5 MB, free: 44.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000701/0.4562, allocations: 1.076 MB / 457.6 MB, free: 43.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.447e-05/0.4563, allocations: 109 kB / 457.7 MB, free: 43.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.637e-05/0.4564, allocations: 13.62 kB / 457.7 MB, free: 43.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003501/0.4567, allocations: 9.688 kB / 457.7 MB, free: 43.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.4568, allocations: 32.66 kB / 457.8 MB, free: 43.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.4568, allocations: 21.06 kB / 457.8 MB, free: 43.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.4569, allocations: 169.4 kB / 457.9 MB, free: 43.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4569, allocations: 0 / 457.9 MB, free: 43.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00092/0.4579, allocations: 139.5 kB / 458.1 MB, free: 43.73 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001747/0.4581, allocations: 118.6 kB / 458.2 MB, free: 43.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005963/0.4587, allocations: 344.8 kB / 458.5 MB, free: 43.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.4587, allocations: 3.906 kB / 458.5 MB, free: 43.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.4588, allocations: 128.9 kB / 458.7 MB, free: 43.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.46, allocations: 89.08 kB / 458.7 MB, free: 43.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/0.4625, allocations: 2.467 MB / 461.2 MB, free: 41.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.4628, allocations: 0.8281 MB / 462 MB, free: 41.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.403e-05/0.4629, allocations: 34.19 kB / 462.1 MB, free: 41.2 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.4629, allocations: 4 kB / 462.1 MB, free: 41.2 MB / 382.1 MB Notification: Performance of Templates: time 0.006869/0.4697, allocations: 4.93 MB / 467 MB, free: 40.79 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.InertiaCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.InertiaCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.InertiaCalcHelperMain.o] Error 1