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.0009767/0.000977, allocations: 84.92 kB / 17.58 MB, free: 5.758 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.00102/0.00102, allocations: 186.4 kB / 18.48 MB, free: 5.203 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.699/1.699, allocations: 205.4 MB / 224.6 MB, free: 13.08 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.0005271/0.0005274, allocations: 12 kB / 281.4 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1396, allocations: 47.58 MB / 329 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.3893/0.529, allocations: 101.3 MB / 430.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.06019/0.5893, allocations: 20.43 MB / 450.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02567/0.615, allocations: 0.4948 MB / 451.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01724/0.6322, allocations: 5.288 MB / 456.5 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04952/0.6818, allocations: 15.64 MB / 472.1 MB, free: 7.586 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007896/0.6897, allocations: 1.496 MB / 473.6 MB, free: 6.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.4265/1.116, allocations: 98.59 MB / 0.5588 GB, free: 68.87 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01457/1.131, allocations: 9.308 MB / 0.5679 GB, free: 65.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007226/1.138, allocations: 3.094 MB / 0.5709 GB, free: 63.92 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007826/1.146, allocations: 4.641 MB / 0.5754 GB, free: 60.55 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001976/1.148, allocations: 292 kB / 0.5757 GB, free: 60.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0038/1.152, allocations: 1.135 MB / 0.5768 GB, free: 59.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004444/1.156, allocations: 3.846 MB / 0.5806 GB, free: 56.47 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003417/1.16, allocations: 1.63 MB / 0.5822 GB, free: 55.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01312/1.173, allocations: 11 MB / 0.5929 GB, free: 46.33 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/1.173, allocations: 4 kB / 0.5929 GB, free: 46.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.458e-06/1.173, allocations: 3.656 kB / 0.5929 GB, free: 46.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005649/1.174, allocations: 0 / 0.5929 GB, free: 46.32 MB / 430.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.02233/1.196, allocations: 8.428 MB / 0.6011 GB, free: 38.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/1.196, allocations: 8.031 kB / 0.6011 GB, free: 38.51 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03542/1.231, allocations: 5.406 MB / 0.6064 GB, free: 33.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02096/1.252, allocations: 8.212 MB / 0.6144 GB, free: 27.35 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005993/1.253, allocations: 445.8 kB / 0.6149 GB, free: 27.11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003753/1.257, allocations: 0.613 MB / 0.6155 GB, free: 26.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03512/1.292, allocations: 17.15 MB / 0.6322 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003002/1.292, allocations: 108.4 kB / 0.6323 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007509/1.293, allocations: 277.3 kB / 0.6326 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003524/1.297, allocations: 2.859 MB / 0.6354 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02769/1.324, allocations: 14.04 MB / 0.6491 GB, free: 1.191 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.584/1.908, allocations: 69.45 MB / 0.7169 GB, free: 186.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02123/1.93, allocations: 7.487 MB / 0.7242 GB, free: 186.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005904/1.936, allocations: 4.455 MB / 0.7286 GB, free: 186.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02165/1.957, allocations: 12.76 MB / 0.741 GB, free: 181.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.412e-05/1.958, allocations: 67.53 kB / 0.7411 GB, free: 181.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=293): time 8.446e-06/1.958, allocations: 0 / 0.7411 GB, free: 181.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=365): time 0.1337/2.091, allocations: 43.92 MB / 0.784 GB, free: 148.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001866/2.091, allocations: 402.3 kB / 0.7844 GB, free: 148.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01124/2.103, allocations: 7.339 MB / 0.7915 GB, free: 141.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001207/2.104, allocations: 82.56 kB / 0.7916 GB, free: 141 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003595/2.108, allocations: 5.237 MB / 0.7967 GB, free: 135.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001961/2.11, allocations: 1.349 MB / 0.798 GB, free: 134.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004738/2.11, allocations: 188 kB / 0.7982 GB, free: 134.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004103/2.11, allocations: 0.713 MB / 0.7989 GB, free: 133.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005358/2.116, allocations: 4.243 MB / 0.8031 GB, free: 129.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00766/2.124, allocations: 9.158 MB / 0.812 GB, free: 118 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00881/2.132, allocations: 6.069 MB / 0.8179 GB, free: 112.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001738/2.133, allocations: 48 kB / 0.818 GB, free: 112.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.03162/2.164, allocations: 17.91 MB / 0.8355 GB, free: 94.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001892/2.164, allocations: 80.25 kB / 0.8355 GB, free: 94.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002818/2.165, allocations: 168 kB / 0.8357 GB, free: 94.06 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01316/2.178, allocations: 5.316 MB / 0.8409 GB, free: 88.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006991/2.185, allocations: 2.008 MB / 0.8429 GB, free: 86.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03768/2.223, allocations: 29.05 MB / 0.8712 GB, free: 57.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009466/2.232, allocations: 0.5538 MB / 0.8718 GB, free: 56.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002086/2.234, allocations: 0.5165 MB / 0.8723 GB, free: 56.19 MB / 494.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 (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 {(5,72.0%) 101,(1,100.0%) 4} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.009007/2.243, allocations: 3.618 MB / 0.8758 GB, free: 52.55 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002313/2.246, allocations: 0.6556 MB / 0.8764 GB, free: 51.89 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02281/2.268, allocations: 11.24 MB / 0.8874 GB, free: 40.58 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.198e-05/2.269, allocations: 40.62 kB / 0.8875 GB, free: 40.54 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.446e-05/2.269, allocations: 23.95 kB / 0.8875 GB, free: 40.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.507e-05/2.269, allocations: 19.92 kB / 0.8875 GB, free: 40.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3256/2.594, allocations: 22.14 MB / 0.9091 GB, free: 177 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.98e-05/2.594, allocations: 8.594 kB / 0.9091 GB, free: 177 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002677/2.597, allocations: 450.7 kB / 0.9096 GB, free: 177 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01584/2.613, allocations: 5.036 MB / 0.9145 GB, free: 176.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001095/2.614, allocations: 64.03 kB / 0.9145 GB, free: 176.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03787/2.652, allocations: 28.4 MB / 0.9423 GB, free: 166.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/2.652, allocations: 11.66 kB / 0.9423 GB, free: 166.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02721/2.679, allocations: 16.45 MB / 0.9583 GB, free: 161.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004321/2.684, allocations: 1.349 MB / 0.9596 GB, free: 160.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001342/2.685, allocations: 70.7 kB / 0.9597 GB, free: 160.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002895/2.688, allocations: 266.5 kB / 0.96 GB, free: 160.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009104/2.689, allocations: 274 kB / 0.9602 GB, free: 160.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002795/2.689, allocations: 101.5 kB / 0.9603 GB, free: 160.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007528/2.697, allocations: 4.684 MB / 0.9649 GB, free: 156.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.132e-06/2.697, allocations: 0 / 0.9649 GB, free: 156.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01095/2.708, allocations: 2.186 MB / 0.967 GB, free: 154.5 MB / 494.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 (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 {(5,72.0%) 96,(1,100.0%) 4} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007838/2.708, allocations: 221.7 kB / 0.9672 GB, free: 154.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01604/2.724, allocations: 10.75 MB / 0.9777 GB, free: 143.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/2.725, allocations: 0 / 0.9777 GB, free: 143.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006699/2.731, allocations: 4.466 MB / 0.9821 GB, free: 139.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009998/2.741, allocations: 0.9731 MB / 0.9831 GB, free: 138.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04643/2.788, allocations: 22.93 MB / 1.005 GB, free: 115.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007201/2.795, allocations: 5.675 MB / 1.011 GB, free: 109.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002105/2.797, allocations: 475.4 kB / 1.011 GB, free: 109.3 MB / 494.1 MB Notification: Performance of SimCode: time 1.523e-06/2.797, allocations: 7.719 kB / 1.011 GB, free: 109.3 MB / 494.1 MB Notification: Performance of Templates: time 0.4724/3.27, allocations: 212.3 MB / 1.219 GB, free: 79.11 MB / 494.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++ 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_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