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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001653/0.001653, allocations: 116.5 kB / 18.5 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001958/0.001958, allocations: 212.9 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 230.2 MB / 254.5 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 64.12 kB / 373.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09671/0.09849, allocations: 53.32 MB / 426.7 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.02212/0.1206, allocations: 20.53 MB / 447.2 MB, free: 372 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.191/0.3117, allocations: 6.207 MB / 453.4 MB, free: 7.512 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002789/0.3144, allocations: 166.5 kB / 453.6 MB, free: 7.512 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0104/0.3248, allocations: 6.412 MB / 460 MB, free: 6.238 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008108/0.333, allocations: 3.486 MB / 463.5 MB, free: 4.914 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003635/0.3366, allocations: 1.66 MB / 465.2 MB, free: 4.312 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01525/0.3518, allocations: 12.96 MB / 478.1 MB, free: 15.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008831/0.3607, allocations: 6.767 MB / 484.9 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006637/0.3673, allocations: 3.766 MB / 488.7 MB, free: 9.293 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008134/0.3754, allocations: 5.348 MB / 494 MB, free: 5.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002214/0.3777, allocations: 0.7461 MB / 494.7 MB, free: 4.355 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004378/0.382, allocations: 1.746 MB / 496.5 MB, free: 2.656 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005669/0.3877, allocations: 4.536 MB / 0.4893 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00749/0.3952, allocations: 4.931 MB / 0.4941 GB, free: 9.211 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01733/0.4125, allocations: 14.86 MB / 0.5086 GB, free: 10.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4125, allocations: 7.938 kB / 0.5086 GB, free: 10.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4125, allocations: 0 / 0.5086 GB, free: 10.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003669/0.4129, allocations: 0 / 0.5086 GB, free: 10.64 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: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.02782/0.4407, allocations: 10.93 MB / 0.5193 GB, free: 15.76 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.4408, allocations: 12.03 kB / 0.5193 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002181/0.4429, allocations: 1.193 MB / 0.5205 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2461/0.6891, allocations: 24.34 MB / 0.5442 GB, free: 6.223 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0227/0.7118, allocations: 9.352 MB / 0.5534 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004455/0.7122, allocations: 449.7 kB / 0.5538 GB, free: 12.51 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002095/0.7143, allocations: 0.6233 MB / 0.5544 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03448/0.7488, allocations: 16.73 MB / 0.5708 GB, free: 10.29 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004235/0.7492, allocations: 103.2 kB / 0.5709 GB, free: 10.19 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001941/0.7511, allocations: 288.1 kB / 0.5711 GB, free: 9.961 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004826/0.756, allocations: 2.849 MB / 0.5739 GB, free: 7.121 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02884/0.7848, allocations: 13.27 MB / 0.5869 GB, free: 9.855 MB / 494.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.4677/1.253, allocations: 68.11 MB / 0.6534 GB, free: 130.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02005/1.273, allocations: 7.633 MB / 0.6608 GB, free: 129.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005548/1.278, allocations: 4.043 MB / 0.6648 GB, free: 129.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02082/1.299, allocations: 12.07 MB / 0.6766 GB, free: 123.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.477e-05/1.299, allocations: 72.34 kB / 0.6766 GB, free: 123.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=293): time 5.761e-06/1.299, allocations: 2.438 kB / 0.6766 GB, free: 123.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=359): time 0.1613/1.46, allocations: 50.17 MB / 0.7256 GB, free: 93.18 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.983e-05/1.46, allocations: 409.7 kB / 0.726 GB, free: 92.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0104/1.471, allocations: 7.312 MB / 0.7332 GB, free: 85.52 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007307/1.472, allocations: 85.7 kB / 0.7332 GB, free: 85.43 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002855/1.474, allocations: 5.519 MB / 0.7386 GB, free: 80.52 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001305/1.476, allocations: 1.372 MB / 0.74 GB, free: 79.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003169/1.479, allocations: 1.711 MB / 0.7416 GB, free: 77.43 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.892e-05/1.479, allocations: 301.1 kB / 0.7419 GB, free: 77.14 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00491/1.484, allocations: 4.12 MB / 0.7459 GB, free: 73.01 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006263/1.49, allocations: 8.862 MB / 0.7546 GB, free: 61.89 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01196/1.502, allocations: 13.95 MB / 0.7682 GB, free: 45.87 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001309/1.502, allocations: 48 kB / 0.7683 GB, free: 45.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1106) (initialization): time 0.03074/1.533, allocations: 17.84 MB / 0.7857 GB, free: 27.93 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001254/1.533, allocations: 72 kB / 0.7858 GB, free: 27.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001714/1.533, allocations: 164 kB / 0.7859 GB, free: 27.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0154/1.549, allocations: 6.04 MB / 0.7918 GB, free: 21.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005171/1.554, allocations: 1.829 MB / 0.7936 GB, free: 19.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04099/1.595, allocations: 32.91 MB / 0.8257 GB, free: 2.488 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007161/1.602, allocations: 0.5384 MB / 0.8263 GB, free: 1.949 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001453/1.603, allocations: 483.6 kB / 0.8267 GB, free: 1.48 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 743 * 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 (967): * Single equations (assignments): 961 * 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,97,55.1%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.006928/1.61, allocations: 3.582 MB / 0.8302 GB, free: 13.89 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00181/1.612, allocations: 0.714 MB / 0.8309 GB, free: 13.17 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02769/1.64, allocations: 12 MB / 0.8427 GB, free: 1.102 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.475e-05/1.64, allocations: 36 kB / 0.8427 GB, free: 1.066 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.374e-05/1.64, allocations: 20 kB / 0.8427 GB, free: 1.047 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.281e-05/1.64, allocations: 19.94 kB / 0.8427 GB, free: 1.027 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2495/1.889, allocations: 25.79 MB / 0.8679 GB, free: 196.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.182e-05/1.89, allocations: 9.906 kB / 0.8679 GB, free: 196.1 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002355/1.892, allocations: 465.6 kB / 0.8684 GB, free: 196.1 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01657/1.908, allocations: 5.706 MB / 0.8739 GB, free: 195.8 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005007/1.909, allocations: 60.12 kB / 0.874 GB, free: 195.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03442/1.943, allocations: 31.71 MB / 0.905 GB, free: 181.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.943, allocations: 11.31 kB / 0.905 GB, free: 181.1 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02432/1.968, allocations: 17.36 MB / 0.9219 GB, free: 173.4 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001714/1.969, allocations: 0.7271 MB / 0.9226 GB, free: 173.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008846/1.97, allocations: 62.62 kB / 0.9227 GB, free: 173.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002805/1.973, allocations: 285 kB / 0.923 GB, free: 173 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007174/1.974, allocations: 253.9 kB / 0.9232 GB, free: 172.9 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002436/1.974, allocations: 95.06 kB / 0.9233 GB, free: 172.9 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005564/1.98, allocations: 4.704 MB / 0.9279 GB, free: 169.2 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/1.98, allocations: 0 / 0.9279 GB, free: 169.2 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.007428/1.987, allocations: 2.036 MB / 0.9299 GB, free: 167.2 MB / 0.5763 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 (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,90,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.02666/2.014, allocations: 18.08 MB / 0.9475 GB, free: 149.4 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01492/2.029, allocations: 10.5 MB / 0.9578 GB, free: 138.9 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/2.029, allocations: 0 / 0.9578 GB, free: 138.9 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007422/2.036, allocations: 4.612 MB / 0.9623 GB, free: 134.3 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007647/2.044, allocations: 1.113 MB / 0.9634 GB, free: 133.2 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.134/2.178, allocations: 94.95 MB / 1.056 GB, free: 30.79 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007304/2.185, allocations: 5.726 MB / 1.062 GB, free: 25.04 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.005879/2.191, allocations: 2.717 MB / 1.064 GB, free: 22.31 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004119/2.195, allocations: 3.881 MB / 1.068 GB, free: 18.43 MB / 0.5763 GB Notification: Performance of SimCode: time 1.192e-06/2.195, allocations: 0 / 1.068 GB, free: 18.43 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4274/2.622, allocations: 165.5 MB / 1.23 GB, free: 74.21 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 43.29/45.91, allocations: 11.22 kB / 1.23 GB, free: 74.2 MB / 0.5763 GB " [Timeout remaining time 614] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_fmu --startTime=0 --stopTime=0.5 --stepSize=9.94431e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b/Engine1b.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 50.461021731141955]