Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001157/0.001157, allocations: 95.48 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00186/0.001861, allocations: 199 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.545/1.545, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002703/0.0002703, allocations: 11.94 kB / 307.3 MB, free: 1.605 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1297, allocations: 51.48 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.3948/0.5246, allocations: 93.85 MB / 452.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.05625/0.5809, allocations: 19.14 MB / 471.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03375/0.6147, allocations: 482.6 kB / 472.3 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02139/0.6361, allocations: 4.899 MB / 477.1 MB, free: 5.328 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05153/0.6877, allocations: 14.56 MB / 491.7 MB, free: 6.719 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00811/0.6958, allocations: 1.397 MB / 493.1 MB, free: 5.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.6454/1.341, allocations: 179.2 MB / 0.6565 GB, free: 15.06 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01632/1.358, allocations: 8.803 MB / 0.6651 GB, free: 8.844 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008409/1.366, allocations: 2.929 MB / 0.668 GB, free: 6.828 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01007/1.376, allocations: 4.424 MB / 0.6723 GB, free: 3.609 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002437/1.379, allocations: 276 kB / 0.6726 GB, free: 3.34 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004594/1.383, allocations: 1.117 MB / 0.6737 GB, free: 2.422 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005809/1.389, allocations: 3.685 MB / 0.6773 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003702/1.393, allocations: 1.565 MB / 0.6788 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01869/1.412, allocations: 10.57 MB / 0.6891 GB, free: 5.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/1.412, allocations: 0 / 0.6891 GB, free: 5.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.436e-06/1.412, allocations: 0 / 0.6891 GB, free: 5.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0005667/1.412, allocations: 0 / 0.6891 GB, free: 5.93 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: 2386 * Number of variables: 2386 Notification: Performance of Generate backend data structure: time 0.02432/1.437, allocations: 8.129 MB / 0.697 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.986e-05/1.437, allocations: 8.031 kB / 0.6971 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03926/1.476, allocations: 5.348 MB / 0.7023 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.021/1.497, allocations: 7.571 MB / 0.7097 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004541/1.497, allocations: 427.2 kB / 0.7101 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003093/1.501, allocations: 0.5823 MB / 0.7106 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03769/1.538, allocations: 16.58 MB / 0.7268 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005383/1.539, allocations: 96.02 kB / 0.7269 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002169/1.541, allocations: 266.6 kB / 0.7272 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004974/1.546, allocations: 2.769 MB / 0.7299 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5787/2.125, allocations: 13.63 MB / 0.7432 GB, free: 215 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.1147/2.24, allocations: 68.09 MB / 0.8097 GB, free: 161.6 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01786/2.257, allocations: 7.943 MB / 0.8174 GB, free: 153.5 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005729/2.263, allocations: 4.51 MB / 0.8218 GB, free: 149 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02095/2.284, allocations: 12.4 MB / 0.8339 GB, free: 136.5 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.395e-05/2.284, allocations: 68.5 kB / 0.834 GB, free: 136.4 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=280): time 7.363e-06/2.284, allocations: 3.969 kB / 0.834 GB, free: 136.4 MB / 0.5138 GB Notification: Performance of matching and sorting (n=339): time 0.1747/2.459, allocations: 51.02 MB / 0.8838 GB, free: 85.68 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001472/2.459, allocations: 398.1 kB / 0.8842 GB, free: 85.2 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01644/2.476, allocations: 7.075 MB / 0.8911 GB, free: 78.15 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001407/2.477, allocations: 81.64 kB / 0.8912 GB, free: 78.06 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.004514/2.482, allocations: 5.021 MB / 0.8961 GB, free: 73.04 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.00242/2.484, allocations: 1.26 MB / 0.8973 GB, free: 71.79 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001718/2.486, allocations: 181.3 kB / 0.8975 GB, free: 71.62 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0008817/2.487, allocations: 0.6864 MB / 0.8982 GB, free: 70.92 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007558/2.494, allocations: 4.511 MB / 0.9026 GB, free: 66.4 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01077/2.505, allocations: 9.228 MB / 0.9116 GB, free: 54.88 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01029/2.516, allocations: 6.264 MB / 0.9177 GB, free: 48.61 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001774/2.516, allocations: 44 kB / 0.9178 GB, free: 48.56 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.04379/2.56, allocations: 19.68 MB / 0.937 GB, free: 28.83 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.000219/2.56, allocations: 72 kB / 0.937 GB, free: 28.76 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000319/2.56, allocations: 160 kB / 0.9372 GB, free: 28.6 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01889/2.579, allocations: 7.046 MB / 0.9441 GB, free: 21.54 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006366/2.585, allocations: 1.93 MB / 0.946 GB, free: 19.61 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3735/2.959, allocations: 33.21 MB / 0.9784 GB, free: 188.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01006/2.969, allocations: 0.5879 MB / 0.979 GB, free: 188.6 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002936/2.972, allocations: 0.493 MB / 0.9795 GB, free: 188.5 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 733 * Number of states: 0 () * Number of discrete variables: 66 (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 (1048): * Single equations (assignments): 1042 * 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%) 94,(2,100.0%) 6} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.01129/2.983, allocations: 3.474 MB / 0.9828 GB, free: 187.2 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002956/2.986, allocations: 0.6365 MB / 0.9835 GB, free: 187.2 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02904/3.015, allocations: 13.29 MB / 0.9964 GB, free: 183.1 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.959e-05/3.016, allocations: 33.66 kB / 0.9965 GB, free: 183.1 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-05/3.016, allocations: 19.91 kB / 0.9965 GB, free: 183.1 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.221e-05/3.016, allocations: 17.64 kB / 0.9965 GB, free: 183.1 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0487/3.064, allocations: 26.69 MB / 1.023 GB, free: 170.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.413e-05/3.064, allocations: 7.797 kB / 1.023 GB, free: 170.6 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001976/3.066, allocations: 423.3 kB / 1.023 GB, free: 170.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01702/3.084, allocations: 6.679 MB / 1.03 GB, free: 163.6 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008946/3.084, allocations: 67.38 kB / 1.03 GB, free: 163.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03653/3.121, allocations: 31.94 MB / 1.061 GB, free: 131.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/3.121, allocations: 4 kB / 1.061 GB, free: 131.5 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02964/3.151, allocations: 18.74 MB / 1.079 GB, free: 112.9 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002659/3.153, allocations: 0.6949 MB / 1.08 GB, free: 112.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001293/3.155, allocations: 65.47 kB / 1.08 GB, free: 112.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002987/3.158, allocations: 311.5 kB / 1.08 GB, free: 111.8 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000874/3.159, allocations: 237.9 kB / 1.08 GB, free: 111.6 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002836/3.159, allocations: 95.7 kB / 1.08 GB, free: 111.5 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007165/3.166, allocations: 4.512 MB / 1.085 GB, free: 107 MB / 0.5138 GB Notification: Performance of sort global known variables: time 4.11e-07/3.166, allocations: 0 / 1.085 GB, free: 107 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01081/3.177, allocations: 2.14 MB / 1.087 GB, free: 104.9 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (214): * Single equations (assignments): 208 * 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%) 87,(2,100.0%) 4} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007576/3.178, allocations: 214.4 kB / 1.087 GB, free: 104.7 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01768/3.195, allocations: 11.52 MB / 1.098 GB, free: 93.16 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.608e-05/3.195, allocations: 4 kB / 1.098 GB, free: 93.15 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.008199/3.204, allocations: 4.98 MB / 1.103 GB, free: 88.14 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0101/3.214, allocations: 0.9414 MB / 1.104 GB, free: 87.22 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05058/3.264, allocations: 22.95 MB / 1.127 GB, free: 64.35 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006465/3.271, allocations: 5.445 MB / 1.132 GB, free: 58.86 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001903/3.273, allocations: 451.4 kB / 1.132 GB, free: 58.42 MB / 0.5138 GB Notification: Performance of SimCode: time 8.62e-07/3.273, allocations: 0 / 1.132 GB, free: 58.42 MB / 0.5138 GB Notification: Performance of Templates: time 0.6058/3.879, allocations: 205.6 MB / 1.333 GB, free: 37.69 MB / 0.5138 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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.Engine1aCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1aCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1aCalcHelperMain.o] Error 1