Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009063/0.0009064, allocations: 96.25 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001009/0.001009, allocations: 192.2 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.7 MB / 246.4 MB, free: 9.805 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002648/0.0002649, allocations: 4 kB / 307.1 MB, free: 0.9492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0916/0.09189, allocations: 51.53 MB / 358.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.2503/0.3422, allocations: 100.4 MB / 459.1 MB, free: 6.715 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.04767/0.3899, allocations: 20.07 MB / 479.1 MB, free: 2.582 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0189/0.4089, allocations: 0.4948 MB / 479.6 MB, free: 2.086 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01599/0.4249, allocations: 5.276 MB / 484.9 MB, free: 12.78 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03929/0.4642, allocations: 15.39 MB / 0.4886 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0075/0.4717, allocations: 1.49 MB / 0.49 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.4241/0.8958, allocations: 179.5 MB / 0.6653 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01441/0.9103, allocations: 9.258 MB / 0.6744 GB, free: 9.328 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006748/0.9171, allocations: 3.067 MB / 0.6774 GB, free: 7.215 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007755/0.9249, allocations: 4.609 MB / 0.6819 GB, free: 3.871 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002127/0.927, allocations: 292.9 kB / 0.6821 GB, free: 3.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00419/0.9312, allocations: 1.129 MB / 0.6832 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005955/0.9372, allocations: 3.799 MB / 0.687 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.003341/0.9406, allocations: 1.615 MB / 0.6885 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01332/0.9539, allocations: 10.92 MB / 0.6992 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.954, allocations: 2.719 kB / 0.6992 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.394e-06/0.954, allocations: 4 kB / 0.6992 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.000468/0.9545, allocations: 0 / 0.6992 GB, free: 5.789 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.02018/0.9747, allocations: 8.39 MB / 0.7074 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.9747, allocations: 8.031 kB / 0.7074 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03929/1.014, allocations: 5.391 MB / 0.7127 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01895/1.033, allocations: 7.736 MB / 0.7202 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000404/1.033, allocations: 449.8 kB / 0.7206 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002295/1.036, allocations: 0.6141 MB / 0.7212 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3879/1.424, allocations: 17.15 MB / 0.738 GB, free: 215.6 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005861/1.424, allocations: 95.36 kB / 0.7381 GB, free: 215.6 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001998/1.426, allocations: 278.1 kB / 0.7383 GB, free: 215.4 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005231/1.432, allocations: 2.867 MB / 0.7411 GB, free: 214.9 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03046/1.462, allocations: 14.04 MB / 0.7549 GB, free: 209.3 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.07669/1.539, allocations: 70.02 MB / 0.8232 GB, free: 139.2 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01827/1.557, allocations: 8.238 MB / 0.8313 GB, free: 130.9 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006239/1.563, allocations: 4.623 MB / 0.8358 GB, free: 126.2 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01848/1.582, allocations: 12.76 MB / 0.8483 GB, free: 113.4 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/1.582, allocations: 68.5 kB / 0.8483 GB, free: 113.3 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=293): time 6.422e-06/1.582, allocations: 4 kB / 0.8483 GB, free: 113.3 MB / 0.5138 GB Notification: Performance of matching and sorting (n=359): time 0.1611/1.743, allocations: 53.37 MB / 0.9004 GB, free: 59.98 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.747e-05/1.743, allocations: 398.2 kB / 0.9008 GB, free: 59.51 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008714/1.752, allocations: 7.223 MB / 0.9079 GB, free: 52.31 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0009634/1.753, allocations: 77.7 kB / 0.908 GB, free: 52.23 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002764/1.756, allocations: 5.199 MB / 0.913 GB, free: 47.04 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.00156/1.757, allocations: 1.329 MB / 0.9143 GB, free: 45.71 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006098/1.758, allocations: 188.6 kB / 0.9145 GB, free: 45.53 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0003625/1.758, allocations: 0.7047 MB / 0.9152 GB, free: 44.82 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006037/1.764, allocations: 4.672 MB / 0.9198 GB, free: 40.14 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009327/1.774, allocations: 9.503 MB / 0.929 GB, free: 28.3 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009079/1.783, allocations: 6.467 MB / 0.9354 GB, free: 21.82 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001163/1.783, allocations: 48 kB / 0.9354 GB, free: 21.77 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1220) (initialization): time 0.04012/1.823, allocations: 20.38 MB / 0.9553 GB, free: 1.34 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/1.823, allocations: 76 kB / 0.9554 GB, free: 1.266 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001454/1.823, allocations: 164 kB / 0.9555 GB, free: 1.105 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2335/2.057, allocations: 7.358 MB / 0.9627 GB, free: 193.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007531/2.065, allocations: 2.004 MB / 0.9647 GB, free: 193.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0438/2.108, allocations: 34.32 MB / 0.9982 GB, free: 179.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007873/2.116, allocations: 0.6029 MB / 0.9988 GB, free: 179.4 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001621/2.118, allocations: 0.5005 MB / 0.9993 GB, free: 179.4 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 749 * Number of states: 0 () * Number of discrete variables: 72 (rod3.color[3],rod3.color[2],rod3.color[1],rod1.color[3],rod1.color[2],rod1.color[1],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 (1081): * Single equations (assignments): 1075 * 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 {(8,51.6%) 96,(3,88.9%) 5} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.01095/2.129, allocations: 3.597 MB / 1.003 GB, free: 177.9 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0028/2.132, allocations: 0.6563 MB / 1.003 GB, free: 177.9 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04366/2.175, allocations: 13.9 MB / 1.017 GB, free: 168.4 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001537/2.176, allocations: 41.44 kB / 1.017 GB, free: 168.4 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001314/2.176, allocations: 20 kB / 1.017 GB, free: 168.4 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001508/2.176, allocations: 15.94 kB / 1.017 GB, free: 168.4 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08397/2.26, allocations: 27.82 MB / 1.044 GB, free: 140.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001004/2.26, allocations: 17.77 kB / 1.044 GB, free: 140.2 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003543/2.264, allocations: 467.3 kB / 1.045 GB, free: 139.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02878/2.292, allocations: 7.005 MB / 1.052 GB, free: 132.8 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00126/2.294, allocations: 65.09 kB / 1.052 GB, free: 132.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06041/2.354, allocations: 33.22 MB / 1.084 GB, free: 99.42 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/2.354, allocations: 4 kB / 1.084 GB, free: 99.41 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03459/2.389, allocations: 19.66 MB / 1.103 GB, free: 79.89 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002036/2.391, allocations: 0.7075 MB / 1.104 GB, free: 79.16 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002326/2.393, allocations: 67.98 kB / 1.104 GB, free: 79.09 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004824/2.398, allocations: 329 kB / 1.104 GB, free: 78.78 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001366/2.399, allocations: 254 kB / 1.105 GB, free: 78.53 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007793/2.4, allocations: 101.9 kB / 1.105 GB, free: 78.43 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.008689/2.409, allocations: 4.599 MB / 1.109 GB, free: 73.87 MB / 0.5138 GB Notification: Performance of sort global known variables: time 4.7e-07/2.409, allocations: 0 / 1.109 GB, free: 73.87 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01244/2.421, allocations: 2.206 MB / 1.111 GB, free: 71.67 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (231): * Single equations (assignments): 225 * 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%) 90,(2,100.0%) 4} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001325/2.423, allocations: 211.2 kB / 1.112 GB, free: 71.47 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0199/2.443, allocations: 11.98 MB / 1.123 GB, free: 59.52 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/2.443, allocations: 5.938 kB / 1.123 GB, free: 59.51 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.009392/2.452, allocations: 5.246 MB / 1.128 GB, free: 54.23 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008738/2.461, allocations: 0.9682 MB / 1.129 GB, free: 53.28 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04146/2.502, allocations: 23.35 MB / 1.152 GB, free: 29.96 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01016/2.513, allocations: 5.736 MB / 1.158 GB, free: 24.18 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.2172/2.73, allocations: 2.69 MB / 1.16 GB, free: 185.8 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002138/2.732, allocations: 396.6 kB / 1.161 GB, free: 185.8 MB / 0.5138 GB Notification: Performance of SimCode: time 1.022e-06/2.732, allocations: 0 / 1.161 GB, free: 185.8 MB / 0.5138 GB Notification: Performance of Templates: time 0.1454/2.878, allocations: 95.2 MB / 1.254 GB, free: 125.1 MB / 0.5138 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b/Engine1b.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches