Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.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_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009173/0.0009173, allocations: 94.98 kB / 17.64 MB, free: 6.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001255/0.001255, allocations: 195.3 kB / 18.55 MB, free: 5.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.608/1.608, allocations: 227.3 MB / 246.6 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000321/0.0003212, allocations: 8 kB / 307.3 MB, free: 1.398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1366, allocations: 51.49 MB / 358.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.435/0.5716, allocations: 103.8 MB / 462.6 MB, free: 3.949 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.07792/0.6496, allocations: 21.47 MB / 484 MB, free: 14.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.04206/0.6918, allocations: 0.5065 MB / 484.5 MB, free: 13.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02662/0.7184, allocations: 5.338 MB / 489.9 MB, free: 8.543 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05943/0.7779, allocations: 15.76 MB / 0.4938 GB, free: 8.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01085/0.7888, allocations: 1.703 MB / 0.4954 GB, free: 7.027 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.6051/1.394, allocations: 180.4 MB / 0.6716 GB, free: 7.852 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02208/1.416, allocations: 12.75 MB / 0.684 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009633/1.426, allocations: 3.235 MB / 0.6872 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01121/1.437, allocations: 5.039 MB / 0.6921 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.003155/1.44, allocations: 339.8 kB / 0.6924 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006344/1.447, allocations: 1.333 MB / 0.6937 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.008354/1.455, allocations: 4.215 MB / 0.6978 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.006183/1.461, allocations: 1.844 MB / 0.6996 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02162/1.483, allocations: 13.62 MB / 0.7129 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.169e-05/1.483, allocations: 0 / 0.7129 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of FrontEnd: time 5.901e-06/1.483, allocations: 0 / 0.7129 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0007966/1.484, allocations: 0 / 0.7129 GB, free: 7.922 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2752 * Number of variables: 2752 Notification: Performance of Generate backend data structure: time 0.5646/2.048, allocations: 9.353 MB / 0.7221 GB, free: 221.1 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/2.049, allocations: 10.69 kB / 0.7221 GB, free: 221.1 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04206/2.091, allocations: 5.535 MB / 0.7275 GB, free: 220.5 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0271/2.118, allocations: 8.511 MB / 0.7358 GB, free: 217.9 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007916/2.119, allocations: 0.5285 MB / 0.7363 GB, free: 217.7 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004562/2.123, allocations: 0.7279 MB / 0.737 GB, free: 217.5 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05472/2.178, allocations: 19.53 MB / 0.7561 GB, free: 202.3 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007336/2.179, allocations: 95.11 kB / 0.7562 GB, free: 202.2 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004108/2.183, allocations: 327.4 kB / 0.7565 GB, free: 202 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004745/2.188, allocations: 2.819 MB / 0.7593 GB, free: 199.2 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03858/2.226, allocations: 16.25 MB / 0.7751 GB, free: 182.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.1161/2.342, allocations: 74.47 MB / 0.8479 GB, free: 107 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02122/2.364, allocations: 8.514 MB / 0.8562 GB, free: 98.32 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006854/2.371, allocations: 4.754 MB / 0.8608 GB, free: 93.54 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02844/2.399, allocations: 15.48 MB / 0.8759 GB, free: 77.6 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.645e-05/2.399, allocations: 72.59 kB / 0.876 GB, free: 77.52 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=320): time 8.777e-06/2.399, allocations: 4 kB / 0.876 GB, free: 77.52 MB / 0.5138 GB Notification: Performance of matching and sorting (n=426): time 0.176/2.575, allocations: 52.48 MB / 0.9272 GB, free: 24.93 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/2.575, allocations: 402.8 kB / 0.9276 GB, free: 24.45 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01694/2.592, allocations: 7.516 MB / 0.935 GB, free: 16.97 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001585/2.594, allocations: 101 kB / 0.9351 GB, free: 16.87 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.004893/2.599, allocations: 5.593 MB / 0.9405 GB, free: 11.27 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002951/2.602, allocations: 1.559 MB / 0.9421 GB, free: 9.723 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00194/2.604, allocations: 203.9 kB / 0.9422 GB, free: 9.523 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0009748/2.605, allocations: 0.7321 MB / 0.943 GB, free: 8.785 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009246/2.614, allocations: 5.181 MB / 0.948 GB, free: 3.598 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3719/2.986, allocations: 10.22 MB / 0.958 GB, free: 193.2 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0158/3.002, allocations: 7.14 MB / 0.965 GB, free: 191.9 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004241/3.002, allocations: 49 kB / 0.965 GB, free: 191.9 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1333) (initialization): time 0.0578/3.06, allocations: 21.14 MB / 0.9857 GB, free: 185 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007514/3.061, allocations: 80.25 kB / 0.9857 GB, free: 185 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008418/3.062, allocations: 172.2 kB / 0.9859 GB, free: 185 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02089/3.083, allocations: 6.69 MB / 0.9924 GB, free: 183.7 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008809/3.092, allocations: 2.151 MB / 0.9945 GB, free: 183.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0537/3.145, allocations: 32.81 MB / 1.027 GB, free: 154.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01183/3.157, allocations: 0.6264 MB / 1.027 GB, free: 154.3 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003036/3.16, allocations: 0.5328 MB / 1.028 GB, free: 153.8 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 778 * Number of states: 0 () * Number of discrete variables: 73 (jointRRP.jointUSP.prismatic.positiveBranch,jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.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 (1176): * Single equations (assignments): 1171 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 129} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01238/3.173, allocations: 4.1 MB / 1.032 GB, free: 149.8 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003026/3.176, allocations: 0.691 MB / 1.032 GB, free: 149.5 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03547/3.211, allocations: 14.27 MB / 1.046 GB, free: 135.2 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.739e-05/3.211, allocations: 44 kB / 1.046 GB, free: 135.1 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.637e-05/3.211, allocations: 24 kB / 1.046 GB, free: 135.1 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001208/3.212, allocations: 19.92 kB / 1.046 GB, free: 135.1 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06746/3.279, allocations: 28.2 MB / 1.074 GB, free: 106.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-05/3.279, allocations: 12.97 kB / 1.074 GB, free: 106.8 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003208/3.282, allocations: 0.6006 MB / 1.075 GB, free: 106.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01865/3.301, allocations: 6.318 MB / 1.081 GB, free: 99.86 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00199/3.303, allocations: 76.88 kB / 1.081 GB, free: 99.79 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04509/3.348, allocations: 29.73 MB / 1.11 GB, free: 70 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.448e-06/3.348, allocations: 11.94 kB / 1.11 GB, free: 69.99 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04303/3.391, allocations: 20.87 MB / 1.13 GB, free: 48.93 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00333/3.395, allocations: 0.7386 MB / 1.131 GB, free: 48.17 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00357/3.398, allocations: 83.98 kB / 1.131 GB, free: 48.09 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006152/3.404, allocations: 335.4 kB / 1.131 GB, free: 47.77 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001911/3.406, allocations: 311.1 kB / 1.132 GB, free: 47.46 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001045/3.407, allocations: 108 kB / 1.132 GB, free: 47.36 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.01125/3.419, allocations: 4.788 MB / 1.136 GB, free: 42.61 MB / 0.5138 GB Notification: Performance of sort global known variables: time 8.12e-07/3.419, allocations: 0 / 1.136 GB, free: 42.61 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01851/3.437, allocations: 2.422 MB / 1.139 GB, free: 40.19 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (294): * Single equations (assignments): 290 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 116} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002441/3.44, allocations: 257.5 kB / 1.139 GB, free: 39.95 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.3171/3.757, allocations: 12.65 MB / 1.151 GB, free: 195.2 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.761e-05/3.757, allocations: 2.281 kB / 1.151 GB, free: 195.2 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.01163/3.769, allocations: 5.329 MB / 1.157 GB, free: 194.9 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009576/3.778, allocations: 1.03 MB / 1.158 GB, free: 194.8 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05591/3.834, allocations: 26.58 MB / 1.184 GB, free: 183.4 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01004/3.844, allocations: 6.303 MB / 1.19 GB, free: 181.3 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002799/3.847, allocations: 496 kB / 1.19 GB, free: 181.3 MB / 0.5138 GB Notification: Performance of SimCode: time 2.295e-06/3.847, allocations: 0 / 1.19 GB, free: 181.3 MB / 0.5138 GB Notification: Performance of Templates: time 0.5914/4.438, allocations: 162.9 MB / 1.349 GB, free: 189 MB / 0.5138 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.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.Engine1b_analyticCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analyticCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analyticCalcHelperMain.o] Error 1