Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001449/0.00145, allocations: 94.7 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001855/0.001855, allocations: 198.2 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.667/1.667, allocations: 227.3 MB / 246.6 MB, free: 10.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002991/0.0002992, allocations: 4 kB / 307.3 MB, free: 1.414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.135, allocations: 51.48 MB / 358.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.3952/0.5303, allocations: 101.2 MB / 460 MB, free: 6.562 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0664/0.5967, allocations: 20.43 MB / 480.4 MB, free: 2.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03746/0.6342, allocations: 0.4948 MB / 480.9 MB, free: 1.566 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02369/0.6579, allocations: 5.284 MB / 486.2 MB, free: 12.26 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05582/0.7138, allocations: 15.62 MB / 0.49 GB, free: 12.58 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009749/0.7236, allocations: 1.49 MB / 0.4915 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.6515/1.375, allocations: 179.5 MB / 0.6668 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01707/1.392, allocations: 9.276 MB / 0.6759 GB, free: 8.332 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009311/1.402, allocations: 3.077 MB / 0.6789 GB, free: 6.215 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00979/1.412, allocations: 4.608 MB / 0.6834 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002778/1.414, allocations: 288 kB / 0.6837 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005812/1.42, allocations: 1.129 MB / 0.6848 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008567/1.429, allocations: 3.824 MB / 0.6885 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.004682/1.434, allocations: 1.62 MB / 0.6901 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01674/1.45, allocations: 10.96 MB / 0.7008 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/1.45, allocations: 0 / 0.7008 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.525e-06/1.45, allocations: 1.641 kB / 0.7008 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0005957/1.451, allocations: 3.656 kB / 0.7008 GB, free: 4.711 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.02547/1.476, allocations: 8.429 MB / 0.709 GB, free: 12.91 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/1.477, allocations: 12.03 kB / 0.709 GB, free: 12.9 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03911/1.516, allocations: 5.389 MB / 0.7143 GB, free: 7.699 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02219/1.538, allocations: 7.744 MB / 0.7219 GB, free: 2.078 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006214/1.539, allocations: 445.3 kB / 0.7223 GB, free: 1.836 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003561/1.542, allocations: 0.6129 MB / 0.7229 GB, free: 1.43 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6517/2.194, allocations: 17.15 MB / 0.7396 GB, free: 215.7 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007148/2.195, allocations: 96.48 kB / 0.7397 GB, free: 215.6 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002943/2.198, allocations: 279.7 kB / 0.74 GB, free: 215.5 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006345/2.204, allocations: 2.858 MB / 0.7428 GB, free: 215 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03359/2.238, allocations: 14.03 MB / 0.7565 GB, free: 208.9 MB / 0.5138 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.1064/2.344, allocations: 70.03 MB / 0.8249 GB, free: 137.8 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01875/2.363, allocations: 8.238 MB / 0.8329 GB, free: 129.4 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005432/2.368, allocations: 4.629 MB / 0.8374 GB, free: 124.8 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01972/2.388, allocations: 12.76 MB / 0.8499 GB, free: 112 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.916e-05/2.388, allocations: 74.36 kB / 0.85 GB, free: 111.9 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=293): time 5.76e-06/2.388, allocations: 0 / 0.85 GB, free: 111.9 MB / 0.5138 GB Notification: Performance of matching and sorting (n=359): time 0.1782/2.566, allocations: 53.37 MB / 0.9021 GB, free: 58.58 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001599/2.567, allocations: 402.2 kB / 0.9025 GB, free: 58.1 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01613/2.583, allocations: 7.227 MB / 0.9095 GB, free: 50.9 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001248/2.584, allocations: 77.7 kB / 0.9096 GB, free: 50.82 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.004895/2.589, allocations: 5.207 MB / 0.9147 GB, free: 45.61 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002644/2.592, allocations: 1.326 MB / 0.916 GB, free: 44.3 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001905/2.594, allocations: 184 kB / 0.9162 GB, free: 44.12 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.001106/2.595, allocations: 0.7027 MB / 0.9168 GB, free: 43.41 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008362/2.603, allocations: 4.672 MB / 0.9214 GB, free: 38.73 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0117/2.615, allocations: 9.507 MB / 0.9307 GB, free: 26.88 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01202/2.627, allocations: 6.463 MB / 0.937 GB, free: 20.41 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002432/2.627, allocations: 48 kB / 0.9371 GB, free: 20.36 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1220) (initialization): time 0.3742/3.001, allocations: 20.38 MB / 0.957 GB, free: 187.9 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002139/3.002, allocations: 75.34 kB / 0.957 GB, free: 187.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003771/3.002, allocations: 164.1 kB / 0.9572 GB, free: 187.9 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02562/3.028, allocations: 7.365 MB / 0.9644 GB, free: 187.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008443/3.036, allocations: 2.002 MB / 0.9663 GB, free: 187.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0581/3.094, allocations: 34.33 MB / 0.9999 GB, free: 175 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01339/3.108, allocations: 0.6103 MB / 1 GB, free: 174.8 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00324/3.111, allocations: 0.4993 MB / 1.001 GB, free: 174.8 MB / 0.5138 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 (1081): * Single equations (assignments): 1075 * 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 {(8,51.6%) 96,(3,88.9%) 5} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0123/3.123, allocations: 3.591 MB / 1.004 GB, free: 173.4 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002979/3.126, allocations: 0.6557 MB / 1.005 GB, free: 173.4 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03456/3.161, allocations: 13.91 MB / 1.019 GB, free: 166 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.85e-05/3.161, allocations: 40 kB / 1.019 GB, free: 165.9 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.426e-05/3.161, allocations: 20 kB / 1.019 GB, free: 165.9 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001049/3.161, allocations: 15.94 kB / 1.019 GB, free: 165.9 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06474/3.226, allocations: 27.83 MB / 1.046 GB, free: 137.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.7e-05/3.226, allocations: 11.5 kB / 1.046 GB, free: 137.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002497/3.229, allocations: 464.5 kB / 1.046 GB, free: 137.5 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01934/3.248, allocations: 7 MB / 1.053 GB, free: 130.5 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001339/3.25, allocations: 67.98 kB / 1.053 GB, free: 130.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.049/3.299, allocations: 33.22 MB / 1.086 GB, free: 97.16 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.367e-05/3.299, allocations: 11.47 kB / 1.086 GB, free: 97.15 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04128/3.34, allocations: 19.65 MB / 1.105 GB, free: 77.7 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003609/3.344, allocations: 0.7067 MB / 1.106 GB, free: 76.98 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003707/3.347, allocations: 64 kB / 1.106 GB, free: 76.91 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006575/3.354, allocations: 330.5 kB / 1.106 GB, free: 76.59 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002107/3.356, allocations: 253.9 kB / 1.106 GB, free: 76.36 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001207/3.357, allocations: 99.98 kB / 1.106 GB, free: 76.26 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.01282/3.37, allocations: 4.603 MB / 1.111 GB, free: 71.69 MB / 0.5138 GB Notification: Performance of sort global known variables: time 4.11e-07/3.37, allocations: 0 / 1.111 GB, free: 71.69 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01642/3.387, allocations: 2.227 MB / 1.113 GB, free: 69.47 MB / 0.5138 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 (231): * Single equations (assignments): 225 * 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.001814/3.389, allocations: 210 kB / 1.113 GB, free: 69.29 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0245/3.413, allocations: 11.98 MB / 1.125 GB, free: 57.44 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.881e-05/3.413, allocations: 4 kB / 1.125 GB, free: 57.43 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.01255/3.426, allocations: 5.246 MB / 1.13 GB, free: 52.15 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01249/3.438, allocations: 0.9608 MB / 1.131 GB, free: 51.21 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05426/3.493, allocations: 23.92 MB / 1.154 GB, free: 27.28 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3119/3.805, allocations: 5.656 MB / 1.16 GB, free: 187.4 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002772/3.807, allocations: 457.5 kB / 1.16 GB, free: 187.4 MB / 0.5138 GB Notification: Performance of SimCode: time 1.843e-06/3.807, allocations: 1.719 kB / 1.16 GB, free: 187.4 MB / 0.5138 GB Notification: Performance of Templates: time 0.6803/4.488, allocations: 213.7 MB / 1.369 GB, free: 180.8 MB / 0.5138 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1bCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1bCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1bCalcHelperMain.o] Error 1