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.001526/0.001526, allocations: 117.6 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001872/0.001872, allocations: 204.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 59.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2615, allocations: 50.54 MB / 409.3 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.01941/0.2809, allocations: 19.37 MB / 428.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01249/0.2935, allocations: 5.977 MB / 434.6 MB, free: 8.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003463/0.297, allocations: 163.4 kB / 434.8 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01048/0.3075, allocations: 5.817 MB / 440.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007904/0.3154, allocations: 3.302 MB / 443.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003352/0.3188, allocations: 1.568 MB / 445.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01753/0.3363, allocations: 12.67 MB / 458.1 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01091/0.3473, allocations: 7.646 MB / 465.8 MB, free: 8.844 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006082/0.3534, allocations: 3.556 MB / 469.3 MB, free: 5.277 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006861/0.3603, allocations: 4.725 MB / 474.1 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002219/0.3625, allocations: 0.7187 MB / 474.8 MB, free: 15.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004142/0.3667, allocations: 1.655 MB / 476.4 MB, free: 14.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005063/0.3718, allocations: 4.185 MB / 480.6 MB, free: 9.969 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007116/0.3789, allocations: 4.452 MB / 485.1 MB, free: 5.492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01637/0.3953, allocations: 13.64 MB / 498.7 MB, free: 7.797 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.3954, allocations: 0 / 498.7 MB, free: 7.797 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3954, allocations: 0 / 498.7 MB, free: 7.797 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004122/0.3958, allocations: 0 / 498.7 MB, free: 7.797 MB / 414.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.02288/0.4187, allocations: 9.895 MB / 0.4967 GB, free: 13.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.4187, allocations: 15.97 kB / 0.4967 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04234/0.4611, allocations: 5.289 MB / 0.5019 GB, free: 8.484 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01976/0.4809, allocations: 7.933 MB / 0.5096 GB, free: 500 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003673/0.4813, allocations: 423.4 kB / 0.51 GB, free: 76 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002125/0.4834, allocations: 0.5854 MB / 0.5106 GB, free: 15.49 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03226/0.5157, allocations: 16.56 MB / 0.5268 GB, free: 13.87 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004671/0.5162, allocations: 99.28 kB / 0.5269 GB, free: 13.77 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002191/0.5184, allocations: 267.8 kB / 0.5271 GB, free: 13.51 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004868/0.5233, allocations: 2.76 MB / 0.5298 GB, free: 10.74 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4549/0.9783, allocations: 13.63 MB / 0.5431 GB, free: 112.9 MB / 462.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.07596/1.054, allocations: 67.84 MB / 0.6094 GB, free: 56.09 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01815/1.072, allocations: 7.906 MB / 0.6171 GB, free: 48.09 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004571/1.077, allocations: 4.515 MB / 0.6215 GB, free: 43.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01509/1.092, allocations: 12.42 MB / 0.6336 GB, free: 31.16 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/1.092, allocations: 65.78 kB / 0.6337 GB, free: 31.09 MB / 462.1 MB Notification: Performance of pre-optimization done (n=280): time 5.17e-06/1.092, allocations: 0 / 0.6337 GB, free: 31.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=339): time 0.1734/1.266, allocations: 50.54 MB / 0.683 GB, free: 13.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002115/1.266, allocations: 398.1 kB / 0.6834 GB, free: 12.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01083/1.277, allocations: 7.127 MB / 0.6904 GB, free: 5.543 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001083/1.278, allocations: 77.7 kB / 0.6905 GB, free: 5.461 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004038/1.282, allocations: 5.193 MB / 0.6955 GB, free: 404 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002121/1.284, allocations: 1.318 MB / 0.6968 GB, free: 15.06 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00283/1.287, allocations: 1.869 MB / 0.6986 GB, free: 13.18 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001106/1.287, allocations: 308.9 kB / 0.6989 GB, free: 12.88 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006692/1.294, allocations: 4.543 MB / 0.7034 GB, free: 8.328 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01067/1.304, allocations: 9.271 MB / 0.7124 GB, free: 12.77 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01776/1.322, allocations: 14.53 MB / 0.7266 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001061/1.322, allocations: 48 kB / 0.7267 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.2497/1.572, allocations: 19.79 MB / 0.746 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.43e-05/1.572, allocations: 77.53 kB / 0.7461 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001687/1.572, allocations: 160.7 kB / 0.7462 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0204/1.593, allocations: 7.056 MB / 0.7531 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005873/1.599, allocations: 1.931 MB / 0.755 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04001/1.639, allocations: 35.33 MB / 0.7895 GB, free: 147.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007391/1.646, allocations: 0.5791 MB / 0.7901 GB, free: 146.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001228/1.647, allocations: 0.4922 MB / 0.7905 GB, free: 146.1 MB / 0.5294 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 (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.004483/1.652, allocations: 3.466 MB / 0.7939 GB, free: 142.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001239/1.653, allocations: 0.6708 MB / 0.7946 GB, free: 142.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02454/1.678, allocations: 13.32 MB / 0.8076 GB, free: 129.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.655e-05/1.678, allocations: 36 kB / 0.8076 GB, free: 129.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.128e-05/1.678, allocations: 20 kB / 0.8076 GB, free: 129.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-05/1.678, allocations: 11.95 kB / 0.8076 GB, free: 129.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03963/1.718, allocations: 26.58 MB / 0.8336 GB, free: 102.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-05/1.718, allocations: 8.031 kB / 0.8336 GB, free: 102.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001757/1.719, allocations: 423.4 kB / 0.834 GB, free: 101.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01745/1.737, allocations: 6.648 MB / 0.8405 GB, free: 95.13 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004612/1.737, allocations: 60 kB / 0.8406 GB, free: 95.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03664/1.774, allocations: 34 MB / 0.8738 GB, free: 60.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/1.774, allocations: 15.88 kB / 0.8738 GB, free: 60.86 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02959/1.804, allocations: 18.81 MB / 0.8922 GB, free: 42.23 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001767/1.805, allocations: 0.7253 MB / 0.8929 GB, free: 41.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001007/1.806, allocations: 68 kB / 0.8929 GB, free: 41.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003196/1.81, allocations: 303.5 kB / 0.8932 GB, free: 41.13 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007822/1.81, allocations: 242.6 kB / 0.8935 GB, free: 40.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002789/1.811, allocations: 88 kB / 0.8935 GB, free: 40.81 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00522/1.816, allocations: 4.553 MB / 0.898 GB, free: 36.29 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/1.816, allocations: 0 / 0.898 GB, free: 36.29 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007357/1.823, allocations: 2.121 MB / 0.9001 GB, free: 34.17 MB / 0.5294 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 (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.0005816/1.824, allocations: 214.8 kB / 0.9003 GB, free: 33.96 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01568/1.84, allocations: 11.63 MB / 0.9116 GB, free: 22.29 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/1.84, allocations: 3.938 kB / 0.9116 GB, free: 22.29 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007506/1.847, allocations: 5.005 MB / 0.9165 GB, free: 17.23 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005866/1.853, allocations: 1.005 MB / 0.9175 GB, free: 16.23 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2623/2.115, allocations: 19.78 MB / 0.9368 GB, free: 182.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01043/2.126, allocations: 5.534 MB / 0.9422 GB, free: 182 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005828/2.132, allocations: 2.601 MB / 0.9448 GB, free: 182 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/2.133, allocations: 386.5 kB / 0.9451 GB, free: 181.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.032e-06/2.133, allocations: 3.5 kB / 0.9451 GB, free: 181.9 MB / 0.545 GB Notification: Performance of Templates: time 0.1249/2.258, allocations: 93.84 MB / 1.037 GB, free: 106.8 MB / 0.545 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches