Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 202.7 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.4/1.4, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 51.92 kB / 377.7 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.235, allocations: 53.36 MB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.01934/0.2543, allocations: 16.72 MB / 447.8 MB, free: 5.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01201/0.2663, allocations: 5.802 MB / 453.6 MB, free: 20 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002936/0.2693, allocations: 191 kB / 453.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01115/0.2804, allocations: 5.677 MB / 459.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008165/0.2886, allocations: 3.424 MB / 462.9 MB, free: 6.699 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003616/0.2922, allocations: 1.572 MB / 464.5 MB, free: 5.125 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01808/0.3103, allocations: 12.71 MB / 477.2 MB, free: 8.398 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008084/0.3184, allocations: 5.947 MB / 483.1 MB, free: 2.363 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006187/0.3246, allocations: 3.638 MB / 486.8 MB, free: 14.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008315/0.3329, allocations: 5.122 MB / 491.9 MB, free: 9.578 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002001/0.3349, allocations: 0.7109 MB / 492.6 MB, free: 8.867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003636/0.3385, allocations: 1.58 MB / 494.2 MB, free: 7.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005507/0.344, allocations: 4.356 MB / 498.5 MB, free: 2.918 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006373/0.3504, allocations: 3.672 MB / 0.4904 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01757/0.368, allocations: 14.43 MB / 0.5045 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.368, allocations: 0 / 0.5045 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.368, allocations: 0 / 0.5045 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003411/0.3683, allocations: 0 / 0.5045 GB, free: 0.7383 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.02902/0.3973, allocations: 10.49 MB / 0.5148 GB, free: 6.164 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.3974, allocations: 8.031 kB / 0.5148 GB, free: 6.156 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003145/0.4005, allocations: 1.148 MB / 0.5159 GB, free: 4.996 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6525/1.053, allocations: 24.3 MB / 0.5396 GB, free: 95.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01862/1.072, allocations: 9.074 MB / 0.5485 GB, free: 92.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002331/1.072, allocations: 424.3 kB / 0.5489 GB, free: 92.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001422/1.073, allocations: 0.5875 MB / 0.5495 GB, free: 92.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02168/1.095, allocations: 16.42 MB / 0.5655 GB, free: 75.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002257/1.095, allocations: 103.3 kB / 0.5656 GB, free: 75.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006157/1.096, allocations: 263.7 kB / 0.5659 GB, free: 75.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003247/1.099, allocations: 2.765 MB / 0.5686 GB, free: 72.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02041/1.119, allocations: 12.83 MB / 0.5811 GB, free: 59.68 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.065/1.184, allocations: 61.35 MB / 0.641 GB, free: 13.25 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01958/1.204, allocations: 6.902 MB / 0.6477 GB, free: 6.348 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005345/1.209, allocations: 3.932 MB / 0.6516 GB, free: 2.41 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01984/1.229, allocations: 10.15 MB / 0.6615 GB, free: 8.379 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.609e-05/1.229, allocations: 64.5 kB / 0.6615 GB, free: 8.309 MB / 478.1 MB Notification: Performance of pre-optimization done (n=280): time 6.372e-06/1.229, allocations: 4 kB / 0.6616 GB, free: 8.305 MB / 478.1 MB Notification: Performance of matching and sorting (n=339): time 0.1699/1.399, allocations: 47.79 MB / 0.7082 GB, free: 8.84 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002329/1.399, allocations: 398 kB / 0.7086 GB, free: 8.363 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01108/1.41, allocations: 7.43 MB / 0.7159 GB, free: 0.9609 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0007219/1.411, allocations: 81.61 kB / 0.7159 GB, free: 0.8789 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.004503/1.416, allocations: 5.343 MB / 0.7211 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0018/1.417, allocations: 1.306 MB / 0.7224 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002565/1.42, allocations: 1.655 MB / 0.724 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001143/1.42, allocations: 301.1 kB / 0.7243 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005573/1.426, allocations: 3.959 MB / 0.7282 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01068/1.436, allocations: 8.817 MB / 0.7368 GB, free: 9.086 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2148/1.651, allocations: 13.48 MB / 0.75 GB, free: 179 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001644/1.651, allocations: 46.89 kB / 0.75 GB, free: 179 MB / 0.545 GB Notification: Performance of matching and sorting (n=1070) (initialization): time 0.04372/1.695, allocations: 17.13 MB / 0.7667 GB, free: 174.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.777e-05/1.695, allocations: 80.75 kB / 0.7668 GB, free: 174.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001372/1.695, allocations: 164.6 kB / 0.767 GB, free: 174.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01615/1.712, allocations: 5.754 MB / 0.7726 GB, free: 173.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005492/1.717, allocations: 1.753 MB / 0.7743 GB, free: 173.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03396/1.751, allocations: 31.07 MB / 0.8047 GB, free: 143.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006949/1.758, allocations: 0.5271 MB / 0.8052 GB, free: 143.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009973/1.759, allocations: 468 kB / 0.8056 GB, free: 142.8 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 727 * 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 (934): * Single equations (assignments): 928 * 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%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.00438/1.763, allocations: 3.469 MB / 0.809 GB, free: 139.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001175/1.764, allocations: 0.687 MB / 0.8097 GB, free: 139.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01953/1.784, allocations: 11.4 MB / 0.8208 GB, free: 127.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.615e-05/1.784, allocations: 43.98 kB / 0.8208 GB, free: 127.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-05/1.784, allocations: 16 kB / 0.8209 GB, free: 127.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.068e-05/1.784, allocations: 19.94 kB / 0.8209 GB, free: 127.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03622/1.82, allocations: 23.58 MB / 0.8439 GB, free: 103.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.462e-05/1.82, allocations: 8.75 kB / 0.8439 GB, free: 103.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001866/1.822, allocations: 419.4 kB / 0.8443 GB, free: 103.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01451/1.837, allocations: 5.372 MB / 0.8496 GB, free: 97.89 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005277/1.837, allocations: 60 kB / 0.8496 GB, free: 97.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03034/1.868, allocations: 29.76 MB / 0.8787 GB, free: 67.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.868, allocations: 15.94 kB / 0.8787 GB, free: 67.92 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0238/1.891, allocations: 16.44 MB / 0.8948 GB, free: 51.39 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001705/1.893, allocations: 0.6479 MB / 0.8954 GB, free: 50.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001021/1.894, allocations: 63.98 kB / 0.8954 GB, free: 50.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0029/1.897, allocations: 255.6 kB / 0.8957 GB, free: 50.43 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007316/1.898, allocations: 258.4 kB / 0.8959 GB, free: 50.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002521/1.898, allocations: 84 kB / 0.896 GB, free: 50.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005171/1.903, allocations: 4.62 MB / 0.9005 GB, free: 45.51 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/1.903, allocations: 2.078 kB / 0.9005 GB, free: 45.51 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006633/1.91, allocations: 1.955 MB / 0.9024 GB, free: 43.57 MB / 0.545 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.02416/1.934, allocations: 17.15 MB / 0.9192 GB, free: 26.22 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01273/1.947, allocations: 10.1 MB / 0.929 GB, free: 16.08 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.101e-05/1.947, allocations: 3.938 kB / 0.9291 GB, free: 16.08 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006504/1.953, allocations: 4.362 MB / 0.9333 GB, free: 11.67 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005455/1.959, allocations: 1.082 MB / 0.9344 GB, free: 10.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3863/2.345, allocations: 91.59 MB / 1.024 GB, free: 137.6 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006355/2.351, allocations: 5.054 MB / 1.029 GB, free: 132.5 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005959/2.357, allocations: 2.624 MB / 1.031 GB, free: 130.1 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005239/2.363, allocations: 3.74 MB / 1.035 GB, free: 126.3 MB / 0.5607 GB Notification: Performance of SimCode: time 1.754e-06/2.363, allocations: 0 / 1.035 GB, free: 126.3 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4425/2.805, allocations: 162 MB / 1.193 GB, free: 175.7 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.17/25.97, allocations: 0.75 kB / 1.193 GB, free: 175.7 MB / 0.5607 GB " [Timeout remaining time 634] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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: 30.164079761016183]