Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009473/0.0009474, allocations: 92.97 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.001153/0.001153, allocations: 179.9 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.512/1.512, allocations: 223.3 MB / 241.9 MB, free: 308 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.000366, allocations: 15.94 kB / 301.5 MB, free: 6.438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1334, allocations: 50.41 MB / 351.9 MB, free: 4.016 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.3698/0.5033, allocations: 93.83 MB / 445.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.05899/0.5623, allocations: 19.12 MB / 464.8 MB, free: 3.535 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02842/0.5908, allocations: 474.7 kB / 465.3 MB, free: 3.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01874/0.6096, allocations: 4.895 MB / 470.2 MB, free: 14.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04878/0.6584, allocations: 14.58 MB / 484.7 MB, free: 15.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008051/0.6664, allocations: 1.408 MB / 486.2 MB, free: 14.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.5984/1.265, allocations: 178.8 MB / 0.6494 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.016/1.281, allocations: 8.813 MB / 0.658 GB, free: 7 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009485/1.291, allocations: 2.924 MB / 0.6609 GB, free: 4.984 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01148/1.302, allocations: 4.424 MB / 0.6652 GB, free: 1.77 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003514/1.306, allocations: 284 kB / 0.6655 GB, free: 1.492 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006567/1.312, allocations: 1.128 MB / 0.6666 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009865/1.322, allocations: 3.689 MB / 0.6702 GB, free: 13.82 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005065/1.327, allocations: 1.56 MB / 0.6717 GB, free: 13.25 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01729/1.345, allocations: 10.57 MB / 0.682 GB, free: 4.07 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/1.345, allocations: 0 / 0.682 GB, free: 4.07 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.435e-06/1.345, allocations: 4 kB / 0.682 GB, free: 4.066 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005312/1.345, allocations: 0 / 0.682 GB, free: 4.066 MB / 478.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.02536/1.371, allocations: 8.103 MB / 0.6899 GB, free: 12.56 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/1.371, allocations: 12.03 kB / 0.6899 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04022/1.411, allocations: 5.345 MB / 0.6952 GB, free: 7.391 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02354/1.434, allocations: 7.725 MB / 0.7027 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005575/1.435, allocations: 422.5 kB / 0.7031 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003505/1.439, allocations: 0.5865 MB / 0.7037 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04635/1.485, allocations: 16.58 MB / 0.7199 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006206/1.486, allocations: 105.3 kB / 0.72 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002898/1.489, allocations: 266.7 kB / 0.7202 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005309/1.494, allocations: 2.764 MB / 0.7229 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.569/2.063, allocations: 13.63 MB / 0.7362 GB, free: 204.8 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.09642/2.159, allocations: 68.08 MB / 0.8027 GB, free: 147.8 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01784/2.177, allocations: 7.941 MB / 0.8105 GB, free: 139.7 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005164/2.183, allocations: 4.512 MB / 0.8149 GB, free: 135.2 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01862/2.201, allocations: 12.41 MB / 0.827 GB, free: 122.7 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.802e-05/2.201, allocations: 71.55 kB / 0.8271 GB, free: 122.6 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=280): time 6.001e-06/2.201, allocations: 0 / 0.8271 GB, free: 122.6 MB / 0.4982 GB Notification: Performance of matching and sorting (n=339): time 0.1658/2.367, allocations: 51.01 MB / 0.8769 GB, free: 71.89 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/2.367, allocations: 394.1 kB / 0.8773 GB, free: 71.42 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01011/2.377, allocations: 7.076 MB / 0.8842 GB, free: 64.37 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.001176/2.379, allocations: 77.7 kB / 0.8842 GB, free: 64.29 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003502/2.382, allocations: 5.027 MB / 0.8891 GB, free: 59.26 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002232/2.384, allocations: 1.256 MB / 0.8904 GB, free: 58.01 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006016/2.385, allocations: 181.5 kB / 0.8905 GB, free: 57.84 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0004446/2.386, allocations: 0.6904 MB / 0.8912 GB, free: 57.14 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006039/2.392, allocations: 4.508 MB / 0.8956 GB, free: 52.62 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008758/2.4, allocations: 9.232 MB / 0.9046 GB, free: 41.1 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008946/2.409, allocations: 6.263 MB / 0.9108 GB, free: 34.82 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001097/2.409, allocations: 44 kB / 0.9108 GB, free: 34.78 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.04174/2.451, allocations: 19.68 MB / 0.93 GB, free: 15.05 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002243/2.451, allocations: 72.97 kB / 0.9301 GB, free: 14.98 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002951/2.452, allocations: 160 kB / 0.9302 GB, free: 14.82 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01909/2.471, allocations: 7.048 MB / 0.9371 GB, free: 7.758 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006732/2.478, allocations: 1.93 MB / 0.939 GB, free: 5.824 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3569/2.835, allocations: 33.21 MB / 0.9714 GB, free: 175.5 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008614/2.843, allocations: 0.5972 MB / 0.972 GB, free: 175.3 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001924/2.845, allocations: 494.8 kB / 0.9725 GB, free: 175.3 MB / 0.4982 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.008627/2.854, allocations: 3.474 MB / 0.9759 GB, free: 174 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001926/2.856, allocations: 0.6305 MB / 0.9765 GB, free: 174 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02723/2.883, allocations: 13.29 MB / 0.9895 GB, free: 169.9 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001007/2.883, allocations: 38.34 kB / 0.9895 GB, free: 169.9 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.469e-05/2.883, allocations: 19.25 kB / 0.9895 GB, free: 169.9 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001072/2.883, allocations: 19.88 kB / 0.9896 GB, free: 169.9 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04759/2.931, allocations: 26.69 MB / 1.016 GB, free: 146.2 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.993e-05/2.931, allocations: 6.297 kB / 1.016 GB, free: 146.2 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00208/2.933, allocations: 423.3 kB / 1.016 GB, free: 145.7 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01817/2.951, allocations: 6.68 MB / 1.023 GB, free: 139.1 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00101/2.952, allocations: 64 kB / 1.023 GB, free: 139 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04273/2.995, allocations: 31.93 MB / 1.054 GB, free: 107 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-05/2.995, allocations: 7.938 kB / 1.054 GB, free: 107 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03567/3.031, allocations: 18.74 MB / 1.072 GB, free: 88.33 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00312/3.034, allocations: 0.7001 MB / 1.073 GB, free: 87.61 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003059/3.037, allocations: 60.62 kB / 1.073 GB, free: 87.55 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005208/3.042, allocations: 320.1 kB / 1.073 GB, free: 87.24 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001523/3.044, allocations: 242.6 kB / 1.073 GB, free: 87 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007949/3.045, allocations: 92.61 kB / 1.073 GB, free: 86.91 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.01033/3.055, allocations: 4.511 MB / 1.078 GB, free: 82.43 MB / 0.4982 GB Notification: Performance of sort global known variables: time 4e-07/3.055, allocations: 4 kB / 1.078 GB, free: 82.43 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01335/3.069, allocations: 2.134 MB / 1.08 GB, free: 80.3 MB / 0.4982 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.001458/3.07, allocations: 216.9 kB / 1.08 GB, free: 80.1 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.02007/3.09, allocations: 11.51 MB / 1.091 GB, free: 68.61 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-05/3.09, allocations: 4 kB / 1.091 GB, free: 68.61 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.008638/3.099, allocations: 4.986 MB / 1.096 GB, free: 63.57 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009476/3.108, allocations: 0.9423 MB / 1.097 GB, free: 62.66 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04303/3.151, allocations: 22.95 MB / 1.12 GB, free: 39.81 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0105/3.162, allocations: 5.461 MB / 1.125 GB, free: 34.31 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002117/3.164, allocations: 447.4 kB / 1.125 GB, free: 33.87 MB / 0.4982 GB Notification: Performance of SimCode: time 3.106e-06/3.164, allocations: 0 / 1.125 GB, free: 33.87 MB / 0.4982 GB Notification: Performance of Templates: time 0.9059/4.07, allocations: 205.6 MB / 1.326 GB, free: 169.1 MB / 0.4982 GB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1aCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1aCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1aCalcHelperMain.o] Error 1