Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.001162/0.001162, allocations: 112.4 kB / 17.73 MB, free: 5.359 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.001175/0.001175, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.456/1.456, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001157/0.001157, allocations: 55.92 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1149, allocations: 46.61 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.2351/0.3501, allocations: 19.5 MB / 394.6 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01441/0.3645, allocations: 5.991 MB / 400.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004332/0.3689, allocations: 156.1 kB / 400.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.011/0.38, allocations: 5.866 MB / 406.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008662/0.3887, allocations: 3.46 MB / 410.1 MB, free: 8.172 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003539/0.3922, allocations: 1.571 MB / 411.7 MB, free: 7.117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01601/0.4083, allocations: 11.37 MB / 423.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009185/0.4175, allocations: 7.658 MB / 430.7 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006924/0.4244, allocations: 3.603 MB / 434.3 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008347/0.4328, allocations: 4.779 MB / 439.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002621/0.4355, allocations: 0.7187 MB / 439.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005925/0.4414, allocations: 1.678 MB / 441.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006704/0.4482, allocations: 4.302 MB / 445.8 MB, free: 8.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009352/0.4576, allocations: 4.483 MB / 450.3 MB, free: 4.223 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02007/0.4777, allocations: 13.69 MB / 464 MB, free: 6.492 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.4777, allocations: 0 / 464 MB, free: 6.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4777, allocations: 0 / 464 MB, free: 6.492 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005229/0.4783, allocations: 0 / 464 MB, free: 6.492 MB / 382.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.02982/0.5081, allocations: 9.696 MB / 473.7 MB, free: 12.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.5082, allocations: 8.031 kB / 473.7 MB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04579/0.554, allocations: 5.236 MB / 478.9 MB, free: 7.445 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01998/0.574, allocations: 8.382 MB / 487.3 MB, free: 15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004224/0.5744, allocations: 423.6 kB / 487.7 MB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002407/0.5769, allocations: 0.5853 MB / 488.3 MB, free: 14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03288/0.6097, allocations: 16.55 MB / 0.493 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002901/0.6101, allocations: 95.11 kB / 0.4931 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008627/0.611, allocations: 267.8 kB / 0.4934 GB, free: 12.03 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004414/0.6154, allocations: 2.764 MB / 0.4961 GB, free: 9.266 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03102/0.6464, allocations: 13.63 MB / 0.5094 GB, free: 11.62 MB / 446.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.5334/1.18, allocations: 67.65 MB / 0.5754 GB, free: 105.3 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0213/1.201, allocations: 7.895 MB / 0.5831 GB, free: 104.4 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006507/1.208, allocations: 4.513 MB / 0.5875 GB, free: 102.4 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01912/1.227, allocations: 12.43 MB / 0.5997 GB, free: 96.78 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.88e-05/1.227, allocations: 64.44 kB / 0.5997 GB, free: 96.72 MB / 478.1 MB Notification: Performance of pre-optimization done (n=280): time 6.772e-06/1.227, allocations: 0 / 0.5997 GB, free: 96.72 MB / 478.1 MB Notification: Performance of matching and sorting (n=340): time 0.1733/1.4, allocations: 49.28 MB / 0.6479 GB, free: 58.47 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/1.401, allocations: 394.1 kB / 0.6482 GB, free: 58 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009891/1.41, allocations: 7.183 MB / 0.6553 GB, free: 50.84 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001023/1.412, allocations: 81.7 kB / 0.6553 GB, free: 50.75 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002783/1.414, allocations: 5.027 MB / 0.6602 GB, free: 45.72 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001592/1.416, allocations: 1.266 MB / 0.6615 GB, free: 44.47 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002506/1.418, allocations: 1.868 MB / 0.6633 GB, free: 42.59 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 7.135e-05/1.418, allocations: 306.1 kB / 0.6636 GB, free: 42.29 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005391/1.424, allocations: 4.543 MB / 0.668 GB, free: 37.73 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007259/1.431, allocations: 9.282 MB / 0.6771 GB, free: 26.23 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01552/1.447, allocations: 14.53 MB / 0.6913 GB, free: 9.469 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001591/1.447, allocations: 52 kB / 0.6913 GB, free: 9.418 MB / 478.1 MB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.04345/1.49, allocations: 19.77 MB / 0.7106 GB, free: 5.602 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001153/1.491, allocations: 72 kB / 0.7107 GB, free: 5.531 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001823/1.491, allocations: 160 kB / 0.7109 GB, free: 5.375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02258/1.513, allocations: 7.04 MB / 0.7177 GB, free: 14.31 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007064/1.52, allocations: 1.926 MB / 0.7196 GB, free: 12.38 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3617/1.882, allocations: 35.31 MB / 0.7541 GB, free: 166.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01033/1.893, allocations: 0.5881 MB / 0.7547 GB, free: 166.3 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002036/1.895, allocations: 0.489 MB / 0.7551 GB, free: 166.3 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 (cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Cylinder.boxColor[3],Cylinder.boxColor[2],Cylinder.boxColor[1],Mid.color[3],Mid.color[2],Mid.color[1],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],Crank2.color[3],Crank2.color[2],Crank2.color[1],Crank2.body.sphereColor[3],Crank2.body.sphereColor[2],Crank2.body.sphereColor[1],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.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],B2.cylinderColor[3],B2.cylinderColor[2],B2.cylinderColor[1],Rod.color[3],Rod.color[2],Rod.color[1],Rod.body.sphereColor[3],Rod.body.sphereColor[2],Rod.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 (1049): * Single equations (assignments): 1043 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,93,51.6%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.01212/1.907, allocations: 3.485 MB / 0.7585 GB, free: 165.8 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002395/1.909, allocations: 0.6372 MB / 0.7592 GB, free: 165.8 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03283/1.942, allocations: 13.32 MB / 0.7722 GB, free: 161.8 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.316e-05/1.942, allocations: 35 kB / 0.7722 GB, free: 161.8 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-05/1.942, allocations: 19.69 kB / 0.7722 GB, free: 161.8 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.243e-05/1.942, allocations: 20.97 kB / 0.7723 GB, free: 161.8 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05393/1.996, allocations: 26.6 MB / 0.7982 GB, free: 151 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.008e-05/1.996, allocations: 7.688 kB / 0.7982 GB, free: 151 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002136/1.999, allocations: 428.6 kB / 0.7986 GB, free: 150.9 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01912/2.018, allocations: 6.642 MB / 0.8051 GB, free: 147.6 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006518/2.018, allocations: 63.2 kB / 0.8052 GB, free: 147.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03919/2.058, allocations: 34 MB / 0.8384 GB, free: 113.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.038e-05/2.058, allocations: 11.94 kB / 0.8384 GB, free: 113.4 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03259/2.09, allocations: 18.77 MB / 0.8567 GB, free: 94.81 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003548/2.094, allocations: 1.39 MB / 0.8581 GB, free: 93.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001334/2.095, allocations: 62.84 kB / 0.8582 GB, free: 93.45 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003648/2.099, allocations: 303.5 kB / 0.8584 GB, free: 93.15 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009729/2.1, allocations: 251.6 kB / 0.8587 GB, free: 92.91 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002979/2.1, allocations: 98.14 kB / 0.8588 GB, free: 92.82 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006637/2.107, allocations: 4.599 MB / 0.8633 GB, free: 88.25 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.8e-07/2.107, allocations: 0 / 0.8633 GB, free: 88.25 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01347/2.12, allocations: 2.144 MB / 0.8654 GB, free: 86.11 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 (215): * Single equations (assignments): 209 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(7,87,55.1%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001242/2.122, allocations: 215.3 kB / 0.8656 GB, free: 85.9 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01837/2.14, allocations: 11.61 MB / 0.8769 GB, free: 74.31 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.9e-05/2.14, allocations: 4 kB / 0.8769 GB, free: 74.3 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.009106/2.149, allocations: 5.013 MB / 0.8818 GB, free: 69.25 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008134/2.157, allocations: 1 MB / 0.8828 GB, free: 68.3 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03449/2.192, allocations: 19.65 MB / 0.902 GB, free: 48.6 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006958/2.199, allocations: 5.553 MB / 0.9074 GB, free: 43.01 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.006458/2.205, allocations: 2.605 MB / 0.9099 GB, free: 40.39 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001272/2.207, allocations: 395.4 kB / 0.9103 GB, free: 40.01 MB / 0.5138 GB Notification: Performance of SimCode: time 1.052e-06/2.207, allocations: 0 / 0.9103 GB, free: 40.01 MB / 0.5138 GB Notification: Performance of Templates: time 0.4118/2.619, allocations: 94.25 MB / 1.002 GB, free: 128.1 MB / 0.5138 GB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches