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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008251/0.0008251, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008164/0.0008164, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8883/0.8883, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.Engine1a,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.398e-05/1.602e-05, allocations: 3.266 kB / 324.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.01218/0.01219, allocations: 16.75 MB / 341.3 MB, free: 15.03 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008563/0.02075, allocations: 5.805 MB / 347.1 MB, free: 9.207 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0014/0.02215, allocations: 190.9 kB / 347.3 MB, free: 9.02 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005153/0.02731, allocations: 5.973 MB / 353.3 MB, free: 3.027 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004952/0.03226, allocations: 3.515 MB / 356.8 MB, free: 15.49 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.03454, allocations: 1.798 MB / 358.6 MB, free: 13.69 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01198/0.04653, allocations: 14.78 MB / 373.4 MB, free: 14.89 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007289/0.05382, allocations: 7.471 MB / 380.8 MB, free: 7.328 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006585/0.0604, allocations: 5.539 MB / 386.4 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004636/0.06504, allocations: 5.62 MB / 392 MB, free: 12.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008317/0.06587, allocations: 0.7461 MB / 392.7 MB, free: 11.39 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002013/0.06788, allocations: 1.662 MB / 394.4 MB, free: 9.734 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002442/0.07032, allocations: 4.594 MB / 399 MB, free: 5.129 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002519/0.07284, allocations: 3.058 MB / 402 MB, free: 2.062 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009647/0.08249, allocations: 14.7 MB / 416.7 MB, free: 3.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.0825, allocations: 0 / 416.7 MB, free: 3.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.277e-06/0.0825, allocations: 0 / 416.7 MB, free: 3.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003201/0.08282, allocations: 0 / 416.7 MB, free: 3.32 MB / 378.7 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.01619/0.09901, allocations: 10.81 MB / 427.6 MB, free: 8.414 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.09905, allocations: 19.97 kB / 427.6 MB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001031/0.1001, allocations: 1.14 MB / 428.7 MB, free: 7.242 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3922/0.4923, allocations: 25.5 MB / 454.2 MB, free: 108.2 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01017/0.5024, allocations: 8.058 MB / 462.3 MB, free: 105.8 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.5026, allocations: 421.8 kB / 462.7 MB, free: 105.7 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005769/0.5031, allocations: 0.5846 MB / 463.3 MB, free: 105.5 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01286/0.516, allocations: 16.44 MB / 479.7 MB, free: 89 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001285/0.5161, allocations: 100.7 kB / 479.8 MB, free: 88.9 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003844/0.5165, allocations: 270 kB / 480.1 MB, free: 88.69 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001897/0.5184, allocations: 2.762 MB / 482.8 MB, free: 85.94 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01249/0.5309, allocations: 12.86 MB / 495.7 MB, free: 73.09 MB / 410.8 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.04163/0.5725, allocations: 62.86 MB / 0.5455 GB, free: 9.348 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009749/0.5823, allocations: 7.152 MB / 0.5525 GB, free: 2.191 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003162/0.5854, allocations: 3.94 MB / 0.5563 GB, free: 14.25 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01156/0.597, allocations: 10.64 MB / 0.5667 GB, free: 3.723 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.597, allocations: 64.5 kB / 0.5668 GB, free: 3.648 MB / 426.8 MB Notification: Performance of pre-optimization done (n=280): time 4.909e-06/0.597, allocations: 0 / 0.5668 GB, free: 3.648 MB / 426.8 MB Notification: Performance of matching and sorting (n=339): time 0.09911/0.6961, allocations: 49.79 MB / 0.6154 GB, free: 2.254 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/0.6963, allocations: 398.1 kB / 0.6158 GB, free: 1.777 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1766/0.8729, allocations: 8.501 MB / 0.6241 GB, free: 158.6 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007747/0.8737, allocations: 77.14 kB / 0.6241 GB, free: 158.5 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001692/0.8754, allocations: 5.308 MB / 0.6293 GB, free: 156 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007348/0.8761, allocations: 1.284 MB / 0.6306 GB, free: 155.1 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00133/0.8774, allocations: 1.634 MB / 0.6322 GB, free: 154.3 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 2.732e-05/0.8775, allocations: 304.6 kB / 0.6325 GB, free: 154 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003205/0.8807, allocations: 3.956 MB / 0.6363 GB, free: 152.6 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004045/0.8847, allocations: 8.821 MB / 0.6449 GB, free: 144.7 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008268/0.893, allocations: 13.5 MB / 0.6581 GB, free: 131.4 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.229e-05/0.893, allocations: 44 kB / 0.6582 GB, free: 131.3 MB / 474.8 MB Notification: Performance of matching and sorting (n=1070) (initialization): time 0.01803/0.9111, allocations: 17.13 MB / 0.6749 GB, free: 116.1 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.586e-05/0.9111, allocations: 76.94 kB / 0.675 GB, free: 116 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.063e-05/0.9112, allocations: 156 kB / 0.6751 GB, free: 115.9 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008415/0.9196, allocations: 5.77 MB / 0.6807 GB, free: 110.1 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002843/0.9225, allocations: 1.751 MB / 0.6824 GB, free: 108.4 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02409/0.9465, allocations: 31.09 MB / 0.7128 GB, free: 76.94 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005712/0.9523, allocations: 0.6439 MB / 0.7134 GB, free: 76.29 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000541/0.9528, allocations: 471.9 kB / 0.7139 GB, free: 75.83 MB / 474.8 MB 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.003989/0.9568, allocations: 3.461 MB / 0.7173 GB, free: 72.36 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009822/0.9578, allocations: 0.683 MB / 0.7179 GB, free: 71.67 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01264/0.9704, allocations: 11.4 MB / 0.7291 GB, free: 60.2 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.249e-05/0.9704, allocations: 36 kB / 0.7291 GB, free: 60.16 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.672e-05/0.9705, allocations: 23.94 kB / 0.7291 GB, free: 60.14 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/0.9705, allocations: 15.94 kB / 0.7291 GB, free: 60.12 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02463/0.9951, allocations: 23.85 MB / 0.7524 GB, free: 35.85 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.9951, allocations: 8.75 kB / 0.7524 GB, free: 35.84 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009255/0.996, allocations: 419.4 kB / 0.7528 GB, free: 35.43 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007984/1.004, allocations: 5.365 MB / 0.7581 GB, free: 30.05 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001901/1.004, allocations: 60 kB / 0.7581 GB, free: 29.99 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02162/1.026, allocations: 29.82 MB / 0.7873 GB, free: 15.84 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/1.026, allocations: 11.94 kB / 0.7873 GB, free: 15.83 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1859/1.212, allocations: 16.43 MB / 0.8033 GB, free: 156.7 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001509/1.213, allocations: 0.7769 MB / 0.8041 GB, free: 156.6 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005419/1.214, allocations: 67.5 kB / 0.8041 GB, free: 156.6 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00191/1.216, allocations: 363.5 kB / 0.8045 GB, free: 156.6 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005346/1.216, allocations: 254.7 kB / 0.8047 GB, free: 156.5 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001641/1.216, allocations: 90.72 kB / 0.8048 GB, free: 156.5 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.004927/1.221, allocations: 5.455 MB / 0.8101 GB, free: 154.7 MB / 490.8 MB Notification: Performance of sort global known variables: time 7.1e-08/1.221, allocations: 3.094 kB / 0.8101 GB, free: 154.7 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.005174/1.227, allocations: 2.266 MB / 0.8124 GB, free: 154.5 MB / 490.8 MB 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.01634/1.243, allocations: 17.15 MB / 0.8291 GB, free: 143.2 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01012/1.253, allocations: 10.09 MB / 0.8389 GB, free: 134.2 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/1.253, allocations: 4 kB / 0.839 GB, free: 134.2 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004074/1.257, allocations: 4.367 MB / 0.8432 GB, free: 129.8 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004372/1.261, allocations: 1.089 MB / 0.8443 GB, free: 128.8 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08984/1.351, allocations: 95.31 MB / 0.9374 GB, free: 26.33 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003549/1.355, allocations: 5.052 MB / 0.9423 GB, free: 21.24 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.003348/1.358, allocations: 2.666 MB / 0.9449 GB, free: 18.57 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002315/1.36, allocations: 3.773 MB / 0.9486 GB, free: 14.79 MB / 490.8 MB Notification: Performance of SimCode: time 1.292e-06/1.36, allocations: 0 / 0.9486 GB, free: 14.79 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2907/1.651, allocations: 167 MB / 1.112 GB, free: 43.53 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.21/17.86, allocations: 19.25 kB / 1.112 GB, free: 43.51 MB / 0.4949 GB " [Timeout remaining time 642] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.77687963563949]