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.001762/0.001762, allocations: 111.8 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00235/0.00235, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.714/2.714, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002409/0.002409, allocations: 68.06 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.551/0.5534, allocations: 50.54 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.03174/0.5852, allocations: 19.37 MB / 429.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02339/0.6088, allocations: 5.977 MB / 435.3 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008209/0.617, allocations: 159.4 kB / 435.5 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01774/0.6349, allocations: 5.825 MB / 441.3 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0145/0.6495, allocations: 3.303 MB / 444.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006118/0.6557, allocations: 1.564 MB / 446.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02986/0.6856, allocations: 12.66 MB / 458.8 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01741/0.703, allocations: 7.659 MB / 466.5 MB, free: 8.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01314/0.7163, allocations: 3.564 MB / 470 MB, free: 5.246 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01488/0.7312, allocations: 4.752 MB / 474.8 MB, free: 492 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00507/0.7364, allocations: 0.711 MB / 475.5 MB, free: 15.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009421/0.7459, allocations: 1.674 MB / 477.2 MB, free: 14.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0108/0.7568, allocations: 4.244 MB / 481.4 MB, free: 9.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01568/0.7725, allocations: 4.452 MB / 485.9 MB, free: 5.363 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03092/0.8035, allocations: 13.6 MB / 499.5 MB, free: 7.723 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.35e-05/0.8036, allocations: 4 kB / 499.5 MB, free: 7.719 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.8036, allocations: 4 kB / 499.5 MB, free: 7.715 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006112/0.8042, allocations: 4 kB / 499.5 MB, free: 7.711 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.05145/0.8557, allocations: 9.633 MB / 0.4972 GB, free: 13.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.208e-05/0.8558, allocations: 8.031 kB / 0.4972 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08116/0.937, allocations: 5.244 MB / 0.5023 GB, free: 8.715 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03836/0.9754, allocations: 7.89 MB / 0.51 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007565/0.9762, allocations: 431.4 kB / 0.5104 GB, free: 344 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004451/0.9807, allocations: 0.5891 MB / 0.511 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06089/1.042, allocations: 16.56 MB / 0.5272 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006346/1.042, allocations: 99.11 kB / 0.5273 GB, free: 14.03 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002976/1.045, allocations: 263.8 kB / 0.5275 GB, free: 13.77 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007423/1.053, allocations: 2.764 MB / 0.5302 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8802/1.933, allocations: 13.62 MB / 0.5435 GB, free: 113.1 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.1374/2.071, allocations: 67.73 MB / 0.6097 GB, free: 56.52 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03314/2.104, allocations: 7.908 MB / 0.6174 GB, free: 48.52 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009217/2.113, allocations: 4.514 MB / 0.6218 GB, free: 43.99 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03891/2.152, allocations: 12.4 MB / 0.6339 GB, free: 31.46 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.71e-05/2.152, allocations: 68.5 kB / 0.634 GB, free: 31.39 MB / 462.1 MB Notification: Performance of pre-optimization done (n=280): time 1.172e-05/2.152, allocations: 0 / 0.634 GB, free: 31.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=339): time 0.329/2.481, allocations: 50.13 MB / 0.6829 GB, free: 13.35 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004426/2.482, allocations: 394.1 kB / 0.6833 GB, free: 12.88 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02698/2.509, allocations: 7.111 MB / 0.6902 GB, free: 5.781 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001675/2.511, allocations: 77.7 kB / 0.6903 GB, free: 5.699 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.01012/2.521, allocations: 5.021 MB / 0.6952 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.004146/2.525, allocations: 1.253 MB / 0.6964 GB, free: 15.35 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009705/2.535, allocations: 1.864 MB / 0.6983 GB, free: 13.47 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0002071/2.535, allocations: 309.1 kB / 0.6986 GB, free: 13.16 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01493/2.55, allocations: 4.55 MB / 0.703 GB, free: 8.605 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02183/2.572, allocations: 9.263 MB / 0.712 GB, free: 13.05 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03658/2.609, allocations: 14.54 MB / 0.7262 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002832/2.609, allocations: 44 kB / 0.7263 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.4709/3.08, allocations: 19.75 MB / 0.7456 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002713/3.08, allocations: 74.44 kB / 0.7456 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003318/3.081, allocations: 161.1 kB / 0.7458 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02431/3.105, allocations: 7.06 MB / 0.7527 GB, free: 172.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007827/3.113, allocations: 1.925 MB / 0.7546 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2305/3.343, allocations: 35.32 MB / 0.7891 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01812/3.361, allocations: 0.5769 MB / 0.7896 GB, free: 146.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003359/3.365, allocations: 498 kB / 0.7901 GB, free: 146.4 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.01186/3.377, allocations: 3.476 MB / 0.7935 GB, free: 143.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002944/3.38, allocations: 0.6363 MB / 0.7941 GB, free: 142.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0542/3.434, allocations: 13.31 MB / 0.8071 GB, free: 129.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000115/3.434, allocations: 36 kB / 0.8071 GB, free: 129.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.776e-05/3.434, allocations: 23.5 kB / 0.8072 GB, free: 129.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.677e-05/3.434, allocations: 15.94 kB / 0.8072 GB, free: 129.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08516/3.52, allocations: 26.57 MB / 0.8331 GB, free: 102.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.083e-05/3.52, allocations: 8 kB / 0.8331 GB, free: 102.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003577/3.523, allocations: 419.6 kB / 0.8335 GB, free: 102.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03298/3.556, allocations: 6.645 MB / 0.84 GB, free: 95.42 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001546/3.558, allocations: 67.58 kB / 0.8401 GB, free: 95.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06875/3.627, allocations: 33.98 MB / 0.8733 GB, free: 61.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.715e-05/3.627, allocations: 15.94 kB / 0.8733 GB, free: 61.14 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05779/3.685, allocations: 18.77 MB / 0.8916 GB, free: 42.52 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005273/3.69, allocations: 0.6925 MB / 0.8923 GB, free: 41.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004133/3.694, allocations: 63.94 kB / 0.8924 GB, free: 41.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008521/3.703, allocations: 309.2 kB / 0.8927 GB, free: 41.45 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002196/3.705, allocations: 238.9 kB / 0.8929 GB, free: 41.22 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007023/3.706, allocations: 99.98 kB / 0.893 GB, free: 41.12 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01225/3.718, allocations: 4.543 MB / 0.8974 GB, free: 36.61 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.01e-07/3.718, allocations: 3.938 kB / 0.8974 GB, free: 36.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.02077/3.739, allocations: 2.123 MB / 0.8995 GB, free: 34.48 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.001997/3.741, allocations: 212.5 kB / 0.8997 GB, free: 34.28 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.03505/3.776, allocations: 11.63 MB / 0.911 GB, free: 22.62 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.03e-05/3.776, allocations: 0 / 0.911 GB, free: 22.62 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01722/3.793, allocations: 4.998 MB / 0.9159 GB, free: 17.57 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01488/3.808, allocations: 0.9943 MB / 0.9169 GB, free: 16.59 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6459/4.454, allocations: 20.12 MB / 0.9365 GB, free: 184 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02693/4.481, allocations: 5.453 MB / 0.9419 GB, free: 183.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003968/4.485, allocations: 443 kB / 0.9423 GB, free: 183.1 MB / 0.545 GB Notification: Performance of SimCode: time 4.328e-06/4.486, allocations: 2.844 kB / 0.9423 GB, free: 183.1 MB / 0.545 GB Notification: Performance of Templates: time 1.287/5.772, allocations: 208.4 MB / 1.146 GB, free: 172.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins1/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