Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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) 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(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 91.86 kB / 17.95 MB, free: 5.629 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.001881/0.001881, allocations: 180.9 kB / 18.86 MB, free: 4.773 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.907/1.907, allocations: 205.4 MB / 225 MB, free: 13.07 MB / 190.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.0005648/0.0005649, allocations: 8.219 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1415, allocations: 47.58 MB / 329.6 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.4221/0.5636, allocations: 109 MB / 438.6 MB, free: 8.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.06545/0.6291, allocations: 21.24 MB / 459.8 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03259/0.6617, allocations: 0.4987 MB / 460.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003776/0.6655, allocations: 0.7344 MB / 461 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01287/0.6785, allocations: 3.285 MB / 464.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004985/0.6835, allocations: 1.538 MB / 465.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02846/0.7119, allocations: 16.35 MB / 482.2 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02537/0.7374, allocations: 10.68 MB / 492.9 MB, free: 2.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01008/0.7476, allocations: 2.872 MB / 495.8 MB, free: 96 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01119/0.7588, allocations: 4.645 MB / 0.4887 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003105/0.762, allocations: 288 kB / 0.489 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005849/0.7679, allocations: 1.322 MB / 0.4903 GB, free: 9.828 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007728/0.7756, allocations: 3.872 MB / 0.494 GB, free: 5.945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01118/0.7868, allocations: 4.043 MB / 0.498 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01803/0.8049, allocations: 11 MB / 0.5087 GB, free: 6.848 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.805, allocations: 0 / 0.5087 GB, free: 6.848 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.805, allocations: 0 / 0.5087 GB, free: 6.848 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0007494/0.8058, allocations: 7.938 kB / 0.5087 GB, free: 6.84 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2489 * Number of variables: 2489 Notification: Performance of Generate backend data structure: time 0.02871/0.8345, allocations: 8.326 MB / 0.5169 GB, free: 14.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.421e-05/0.8346, allocations: 8.031 kB / 0.5169 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04898/0.8836, allocations: 5.392 MB / 0.5221 GB, free: 9.008 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02791/0.9115, allocations: 8.372 MB / 0.5303 GB, free: 0.543 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007861/0.9124, allocations: 448.2 kB / 0.5307 GB, free: 108 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.5043/1.417, allocations: 0.6086 MB / 0.5313 GB, free: 149.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0468/1.464, allocations: 17.21 MB / 0.5481 GB, free: 142.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004016/1.464, allocations: 94.98 kB / 0.5482 GB, free: 142.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00111/1.465, allocations: 282.4 kB / 0.5485 GB, free: 142.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004575/1.47, allocations: 2.861 MB / 0.5513 GB, free: 141.6 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02961/1.499, allocations: 14.09 MB / 0.5651 GB, free: 129.3 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1063/1.606, allocations: 69.49 MB / 0.6329 GB, free: 58.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01943/1.625, allocations: 7.514 MB / 0.6402 GB, free: 50.76 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006423/1.632, allocations: 4.459 MB / 0.6446 GB, free: 46.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02633/1.658, allocations: 12.76 MB / 0.6571 GB, free: 33.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001052/1.658, allocations: 68.5 kB / 0.6571 GB, free: 33.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=293): time 9.188e-06/1.658, allocations: 0 / 0.6571 GB, free: 33.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=365): time 0.4655/2.124, allocations: 43.9 MB / 0.7 GB, free: 132.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002357/2.124, allocations: 399.8 kB / 0.7004 GB, free: 131.9 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01509/2.139, allocations: 7.388 MB / 0.7076 GB, free: 129.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001249/2.14, allocations: 81.58 kB / 0.7077 GB, free: 129.4 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004033/2.144, allocations: 5.233 MB / 0.7128 GB, free: 125.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002032/2.147, allocations: 1.354 MB / 0.7141 GB, free: 124.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001242/2.148, allocations: 0.8396 MB / 0.7149 GB, free: 124.1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/2.148, allocations: 309 kB / 0.7152 GB, free: 123.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005822/2.154, allocations: 4.289 MB / 0.7194 GB, free: 122.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008305/2.162, allocations: 9.185 MB / 0.7284 GB, free: 114.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0178/2.18, allocations: 14.25 MB / 0.7423 GB, free: 103.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003054/2.18, allocations: 46.16 kB / 0.7423 GB, free: 103.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.03662/2.217, allocations: 18.01 MB / 0.7599 GB, free: 86.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003285/2.217, allocations: 76 kB / 0.76 GB, free: 86.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004685/2.218, allocations: 164 kB / 0.7601 GB, free: 86.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01504/2.233, allocations: 5.332 MB / 0.7654 GB, free: 80.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007505/2.24, allocations: 2.011 MB / 0.7673 GB, free: 78.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04259/2.283, allocations: 29.03 MB / 0.7957 GB, free: 49.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01101/2.294, allocations: 0.5617 MB / 0.7962 GB, free: 48.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002248/2.296, allocations: 0.5164 MB / 0.7967 GB, free: 48.22 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 762 * Number of states: 0 () * Number of discrete variables: 72 (Rod3.color[3],Rod3.color[2],Rod3.color[1],Rod1.color[3],Rod1.color[2],Rod1.color[1],Cylinder.boxColor[3],Cylinder.boxColor[2],Cylinder.boxColor[1],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],B2.cylinderColor[3],B2.cylinderColor[2],B2.cylinderColor[1],cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Mid.color[3],Mid.color[2],Mid.color[1],Crank2.color[3],Crank2.color[2],Crank2.color[1],Crank2.body.sphereColor[3],Crank2.body.sphereColor[2],Crank2.body.sphereColor[1],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.body.sphereColor[1],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank4.color[3],Crank4.color[2],Crank4.color[1],Crank4.body.sphereColor[3],Crank4.body.sphereColor[2],Crank4.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],Bearing.cylinderColor[3],Bearing.cylinderColor[2],Bearing.cylinderColor[1],Rod2.color[3],Rod2.color[2],Rod2.color[1],Rod2.body.sphereColor[3],Rod2.body.sphereColor[2],Rod2.body.sphereColor[1],Piston.color[3],Piston.color[2],Piston.color[1],Piston.body.sphereColor[3],Piston.body.sphereColor[2],Piston.body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1102): * Single equations (assignments): 1096 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,100,72.2%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.00955/2.306, allocations: 3.622 MB / 0.8003 GB, free: 44.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002882/2.309, allocations: 0.6634 MB / 0.8009 GB, free: 43.92 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02464/2.333, allocations: 11.27 MB / 0.8119 GB, free: 32.58 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.219e-05/2.334, allocations: 36 kB / 0.8119 GB, free: 32.54 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.607e-05/2.334, allocations: 27.94 kB / 0.812 GB, free: 32.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001116/2.334, allocations: 15.94 kB / 0.812 GB, free: 32.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05235/2.386, allocations: 22.16 MB / 0.8336 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-05/2.386, allocations: 19.62 kB / 0.8336 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002395/2.389, allocations: 447.3 kB / 0.8341 GB, free: 9.676 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01487/2.404, allocations: 5.038 MB / 0.839 GB, free: 4.625 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001184/2.405, allocations: 68 kB / 0.8391 GB, free: 4.559 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3476/2.752, allocations: 28.42 MB / 0.8668 GB, free: 129.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-05/2.753, allocations: 13.88 kB / 0.8668 GB, free: 129.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02814/2.781, allocations: 16.48 MB / 0.8829 GB, free: 123.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00429/2.785, allocations: 1.346 MB / 0.8842 GB, free: 123.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001482/2.786, allocations: 74.61 kB / 0.8843 GB, free: 123 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003855/2.79, allocations: 273.6 kB / 0.8846 GB, free: 123 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001368/2.792, allocations: 264.8 kB / 0.8848 GB, free: 122.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004395/2.792, allocations: 104.2 kB / 0.8849 GB, free: 122.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.01012/2.802, allocations: 4.728 MB / 0.8895 GB, free: 121.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.51e-07/2.802, allocations: 1.656 kB / 0.8895 GB, free: 121.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01204/2.814, allocations: 2.183 MB / 0.8917 GB, free: 120.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * Number of states: 2 (Inertia.phi,Inertia.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 (241): * Single equations (assignments): 235 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,96,72.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001034/2.815, allocations: 219.6 kB / 0.8919 GB, free: 120.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0175/2.833, allocations: 10.83 MB / 0.9025 GB, free: 110.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.634e-05/2.833, allocations: 4 kB / 0.9025 GB, free: 110.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008786/2.842, allocations: 4.471 MB / 0.9068 GB, free: 106 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01857/2.86, allocations: 0.9714 MB / 0.9078 GB, free: 105 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04845/2.909, allocations: 23.84 MB / 0.9311 GB, free: 81.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01028/2.919, allocations: 5.686 MB / 0.9366 GB, free: 75.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002428/2.922, allocations: 475.4 kB / 0.9371 GB, free: 75.09 MB / 446.1 MB Notification: Performance of SimCode: time 1.342e-06/2.922, allocations: 0 / 0.9371 GB, free: 75.09 MB / 446.1 MB Notification: Performance of Templates: time 0.5681/3.49, allocations: 211.6 MB / 1.144 GB, free: 5.07 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1bCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1bCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1bCalcHelperMain.o] Error 1