Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001059/0.001059, allocations: 93.42 kB / 16.95 MB, free: 5.953 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.001175/0.001175, allocations: 181.5 kB / 17.84 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 223.3 MB / 241.9 MB, free: 14.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002979/0.0002979, allocations: 4 kB / 301.4 MB, free: 6.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1293, allocations: 50.42 MB / 351.9 MB, free: 3.789 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.3677/0.497, allocations: 101.2 MB / 453.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.06734/0.5644, allocations: 20.41 MB / 473.5 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03297/0.5974, allocations: 0.4987 MB / 474 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02445/0.6219, allocations: 5.284 MB / 479.3 MB, free: 5.129 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05636/0.6784, allocations: 15.62 MB / 494.9 MB, free: 5.453 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009097/0.6875, allocations: 1.494 MB / 496.4 MB, free: 3.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.6325/1.32, allocations: 179.2 MB / 0.6597 GB, free: 14.35 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01714/1.337, allocations: 9.282 MB / 0.6688 GB, free: 7.785 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00851/1.346, allocations: 3.082 MB / 0.6718 GB, free: 5.664 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01011/1.356, allocations: 4.613 MB / 0.6763 GB, free: 2.312 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002894/1.359, allocations: 292 kB / 0.6766 GB, free: 2.027 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005704/1.365, allocations: 1.141 MB / 0.6777 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007329/1.372, allocations: 3.822 MB / 0.6814 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005233/1.377, allocations: 1.625 MB / 0.683 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01873/1.396, allocations: 10.97 MB / 0.6937 GB, free: 4.117 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.034e-05/1.396, allocations: 0 / 0.6937 GB, free: 4.117 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.927e-06/1.396, allocations: 0 / 0.6937 GB, free: 4.117 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0006846/1.397, allocations: 0 / 0.6937 GB, free: 4.117 MB / 494.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.02544/1.422, allocations: 8.411 MB / 0.702 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/1.422, allocations: 8.031 kB / 0.702 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03754/1.46, allocations: 5.399 MB / 0.7072 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02208/1.482, allocations: 7.901 MB / 0.715 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005123/1.483, allocations: 453.1 kB / 0.7154 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003259/1.486, allocations: 0.6106 MB / 0.716 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5442/2.03, allocations: 17.15 MB / 0.7327 GB, free: 205.8 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005597/2.031, allocations: 99.44 kB / 0.7328 GB, free: 205.8 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001744/2.032, allocations: 284.7 kB / 0.7331 GB, free: 205.7 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005092/2.038, allocations: 2.853 MB / 0.7359 GB, free: 205.1 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03128/2.069, allocations: 14.04 MB / 0.7496 GB, free: 197 MB / 0.4982 GB 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.08866/2.158, allocations: 70.04 MB / 0.818 GB, free: 125.9 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01841/2.176, allocations: 8.264 MB / 0.8261 GB, free: 117.5 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00532/2.181, allocations: 4.62 MB / 0.8306 GB, free: 112.9 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01799/2.199, allocations: 12.78 MB / 0.8431 GB, free: 100 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/2.199, allocations: 64.56 kB / 0.8431 GB, free: 99.95 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=294): time 5.781e-06/2.2, allocations: 4 kB / 0.8431 GB, free: 99.95 MB / 0.4982 GB Notification: Performance of matching and sorting (n=360): time 0.1718/2.371, allocations: 53.45 MB / 0.8953 GB, free: 46.56 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/2.371, allocations: 406.2 kB / 0.8957 GB, free: 46.08 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01025/2.382, allocations: 7.228 MB / 0.9028 GB, free: 38.88 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.001288/2.383, allocations: 85.3 kB / 0.9029 GB, free: 38.79 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003527/2.387, allocations: 5.204 MB / 0.9079 GB, free: 33.59 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002445/2.389, allocations: 1.329 MB / 0.9092 GB, free: 32.27 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005687/2.39, allocations: 188.9 kB / 0.9094 GB, free: 32.09 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0004137/2.39, allocations: 0.6988 MB / 0.9101 GB, free: 31.38 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006042/2.396, allocations: 4.672 MB / 0.9147 GB, free: 26.7 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008241/2.404, allocations: 9.507 MB / 0.9239 GB, free: 14.85 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008317/2.413, allocations: 6.464 MB / 0.9303 GB, free: 8.375 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.134e-05/2.413, allocations: 48 kB / 0.9303 GB, free: 8.328 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1221) (initialization): time 0.3703/2.783, allocations: 20.38 MB / 0.9502 GB, free: 181.9 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001989/2.783, allocations: 75.22 kB / 0.9503 GB, free: 181.9 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004283/2.784, allocations: 167.1 kB / 0.9504 GB, free: 181.9 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02216/2.806, allocations: 7.347 MB / 0.9576 GB, free: 181.1 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006877/2.813, allocations: 2.003 MB / 0.9596 GB, free: 181 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0427/2.856, allocations: 34.34 MB / 0.9931 GB, free: 162.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008396/2.864, allocations: 0.6146 MB / 0.9937 GB, free: 162.1 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001726/2.866, allocations: 0.4961 MB / 0.9942 GB, free: 161.6 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 749 * 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],b2.cylinderColor[3],b2.cylinderColor[2],b2.cylinderColor[1],b1.cylinderColor[3],b1.cylinderColor[2],b1.cylinderColor[1],cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],mid.color[3],mid.color[2],mid.color[1],crank4.color[3],crank4.color[2],crank4.color[1],crank4.body.sphereColor[3],crank4.body.sphereColor[2],crank4.body.sphereColor[1],crank3.color[3],crank3.color[2],crank3.color[1],crank3.body.sphereColor[3],crank3.body.sphereColor[2],crank3.body.sphereColor[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],bearing.cylinderColor[3],bearing.cylinderColor[2],bearing.cylinderColor[1],connectingRod.color[3],connectingRod.color[2],connectingRod.color[1],connectingRod.body.sphereColor[3],connectingRod.body.sphereColor[2],connectingRod.body.sphereColor[1],piston.color[3],piston.color[2],piston.color[1],piston.body.sphereColor[3],piston.body.sphereColor[2],piston.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1082): * Single equations (assignments): 1076 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,55.1%) 97,(2,100.0%) 6} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.006621/2.872, allocations: 3.591 MB / 0.9977 GB, free: 158.2 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001514/2.874, allocations: 0.6575 MB / 0.9983 GB, free: 157.9 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02409/2.898, allocations: 13.93 MB / 1.012 GB, free: 143.9 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.88e-05/2.898, allocations: 40.89 kB / 1.012 GB, free: 143.9 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.436e-05/2.898, allocations: 21.12 kB / 1.012 GB, free: 143.9 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.504e-05/2.898, allocations: 19.94 kB / 1.012 GB, free: 143.9 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04487/2.943, allocations: 27.84 MB / 1.039 GB, free: 115.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.645e-05/2.943, allocations: 9.75 kB / 1.039 GB, free: 115.8 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002132/2.945, allocations: 467.3 kB / 1.04 GB, free: 115.3 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01715/2.963, allocations: 7 MB / 1.046 GB, free: 108.3 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009068/2.964, allocations: 61.25 kB / 1.047 GB, free: 108.3 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03922/3.003, allocations: 33.23 MB / 1.079 GB, free: 74.93 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/3.003, allocations: 15.91 kB / 1.079 GB, free: 74.92 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03262/3.035, allocations: 19.66 MB / 1.098 GB, free: 55.31 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005356/3.041, allocations: 1.432 MB / 1.1 GB, free: 53.86 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003381/3.044, allocations: 66.67 kB / 1.1 GB, free: 53.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006542/3.051, allocations: 331.3 kB / 1.1 GB, free: 53.48 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001665/3.053, allocations: 254.7 kB / 1.1 GB, free: 53.23 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007835/3.053, allocations: 96.42 kB / 1.1 GB, free: 53.14 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.01021/3.064, allocations: 4.607 MB / 1.105 GB, free: 48.56 MB / 0.4982 GB Notification: Performance of sort global known variables: time 4.91e-07/3.064, allocations: 0 / 1.105 GB, free: 48.56 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01448/3.078, allocations: 2.228 MB / 1.107 GB, free: 46.34 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (232): * Single equations (assignments): 226 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,55.1%) 90,(2,100.0%) 4} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001571/3.08, allocations: 219.8 kB / 1.107 GB, free: 46.13 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.02069/3.1, allocations: 11.96 MB / 1.119 GB, free: 34.16 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.746e-05/3.1, allocations: 0 / 1.119 GB, free: 34.16 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.009227/3.11, allocations: 5.268 MB / 1.124 GB, free: 28.85 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01036/3.12, allocations: 0.9652 MB / 1.125 GB, free: 27.89 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3382/3.458, allocations: 23.91 MB / 1.148 GB, free: 175.8 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01446/3.473, allocations: 5.661 MB / 1.154 GB, free: 174.9 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002298/3.475, allocations: 456.9 kB / 1.154 GB, free: 174.9 MB / 0.4982 GB Notification: Performance of SimCode: time 1.282e-06/3.475, allocations: 3.875 kB / 1.154 GB, free: 174.9 MB / 0.4982 GB Notification: Performance of Templates: time 0.6568/4.132, allocations: 213.7 MB / 1.363 GB, free: 157.9 MB / 0.4982 GB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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 OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1bCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1bCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1bCalcHelperMain.o] Error 1