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.001922/0.001922, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.002274/0.002274, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.439/1.439, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.001514/0.001514, allocations: 48.06 kB / 377.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2453, allocations: 53.37 MB / 431.2 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02185/0.2672, allocations: 19.47 MB / 450.6 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01289/0.2801, allocations: 6.039 MB / 456.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003816/0.2839, allocations: 194.9 kB / 456.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01166/0.2956, allocations: 5.922 MB / 462.8 MB, free: 7.109 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00873/0.3043, allocations: 3.416 MB / 466.2 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003497/0.3078, allocations: 1.572 MB / 467.8 MB, free: 2.109 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01754/0.3253, allocations: 12.71 MB / 480.5 MB, free: 5.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008149/0.3335, allocations: 5.944 MB / 486.4 MB, free: 15.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00724/0.3407, allocations: 3.622 MB / 490 MB, free: 11.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00898/0.3497, allocations: 5.13 MB / 495.2 MB, free: 6.566 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00285/0.3525, allocations: 0.7148 MB / 495.9 MB, free: 5.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006619/0.3592, allocations: 1.701 MB / 497.6 MB, free: 4.148 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007167/0.3663, allocations: 4.359 MB / 0.4902 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00837/0.3747, allocations: 4.741 MB / 0.4948 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0192/0.3939, allocations: 14.35 MB / 0.5088 GB, free: 12.61 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.3939, allocations: 0 / 0.5088 GB, free: 12.61 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3939, allocations: 0 / 0.5088 GB, free: 12.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004847/0.3944, allocations: 7.938 kB / 0.5088 GB, free: 12.6 MB / 430.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.03225/0.4266, allocations: 10.48 MB / 0.5191 GB, free: 2.027 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.4267, allocations: 12.03 kB / 0.5191 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003099/0.4298, allocations: 1.144 MB / 0.5202 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.654/1.084, allocations: 24.29 MB / 0.5439 GB, free: 94.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01754/1.101, allocations: 9.049 MB / 0.5528 GB, free: 90.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000298/1.102, allocations: 425.9 kB / 0.5532 GB, free: 89.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001843/1.104, allocations: 0.5856 MB / 0.5537 GB, free: 89.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02684/1.13, allocations: 16.17 MB / 0.5695 GB, free: 72.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004297/1.131, allocations: 107.2 kB / 0.5696 GB, free: 72.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001948/1.133, allocations: 266.3 kB / 0.5699 GB, free: 71.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003739/1.136, allocations: 2.765 MB / 0.5726 GB, free: 69.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02277/1.159, allocations: 12.86 MB / 0.5851 GB, free: 56.33 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.07332/1.233, allocations: 66.27 MB / 0.6499 GB, free: 4.293 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01965/1.252, allocations: 6.914 MB / 0.6566 GB, free: 13.35 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005903/1.258, allocations: 3.942 MB / 0.6605 GB, free: 9.402 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02278/1.281, allocations: 11.02 MB / 0.6712 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.637e-05/1.281, allocations: 68.56 kB / 0.6713 GB, free: 14.41 MB / 494.1 MB Notification: Performance of pre-optimization done (n=280): time 6.151e-06/1.281, allocations: 0 / 0.6713 GB, free: 14.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=339): time 0.1739/1.455, allocations: 47.59 MB / 0.7178 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002431/1.455, allocations: 406 kB / 0.7182 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01222/1.467, allocations: 7.163 MB / 0.7252 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007361/1.468, allocations: 77.7 kB / 0.7252 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00478/1.473, allocations: 5.351 MB / 0.7305 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002054/1.475, allocations: 1.294 MB / 0.7317 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003137/1.478, allocations: 1.655 MB / 0.7333 GB, free: 15.02 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.478, allocations: 305.1 kB / 0.7336 GB, free: 14.72 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00639/1.485, allocations: 3.963 MB / 0.7375 GB, free: 10.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2186/1.703, allocations: 8.581 MB / 0.7459 GB, free: 181.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01522/1.718, allocations: 13.49 MB / 0.759 GB, free: 173.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001197/1.718, allocations: 47.16 kB / 0.7591 GB, free: 173.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=1070) (initialization): time 0.03174/1.75, allocations: 17.13 MB / 0.7758 GB, free: 167.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/1.75, allocations: 77.06 kB / 0.7759 GB, free: 167.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000195/1.751, allocations: 158.7 kB / 0.776 GB, free: 167.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01563/1.766, allocations: 5.767 MB / 0.7817 GB, free: 166.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005243/1.771, allocations: 1.755 MB / 0.7834 GB, free: 165.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03483/1.806, allocations: 31.36 MB / 0.814 GB, free: 134.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006986/1.813, allocations: 0.5299 MB / 0.8145 GB, free: 134.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001339/1.815, allocations: 472 kB / 0.815 GB, free: 133.9 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.005501/1.82, allocations: 3.46 MB / 0.8184 GB, free: 130.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001357/1.821, allocations: 0.683 MB / 0.819 GB, free: 130.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02173/1.843, allocations: 11.41 MB / 0.8302 GB, free: 118.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.967e-05/1.843, allocations: 36 kB / 0.8302 GB, free: 118.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.686e-05/1.843, allocations: 16 kB / 0.8302 GB, free: 118.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.334e-05/1.843, allocations: 23.92 kB / 0.8302 GB, free: 118.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0422/1.886, allocations: 24.63 MB / 0.8543 GB, free: 93.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-05/1.886, allocations: 4 kB / 0.8543 GB, free: 93.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001852/1.887, allocations: 423.6 kB / 0.8547 GB, free: 93.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01473/1.902, allocations: 5.373 MB / 0.8599 GB, free: 87.86 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006474/1.903, allocations: 63.98 kB / 0.86 GB, free: 87.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03571/1.938, allocations: 30.04 MB / 0.8893 GB, free: 57.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/1.938, allocations: 11.94 kB / 0.8894 GB, free: 57.56 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02796/1.966, allocations: 16.46 MB / 0.9054 GB, free: 40.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001749/1.968, allocations: 0.6392 MB / 0.9061 GB, free: 40.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001693/1.97, allocations: 60 kB / 0.9061 GB, free: 40.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003827/1.974, allocations: 267.7 kB / 0.9064 GB, free: 39.95 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009905/1.975, allocations: 260.2 kB / 0.9066 GB, free: 39.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004354/1.975, allocations: 84 kB / 0.9067 GB, free: 39.62 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007512/1.983, allocations: 4.612 MB / 0.9112 GB, free: 35.04 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/1.983, allocations: 0 / 0.9112 GB, free: 35.04 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008572/1.991, allocations: 1.959 MB / 0.9131 GB, free: 33.09 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.02812/2.019, allocations: 17.15 MB / 0.9299 GB, free: 15.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01585/2.035, allocations: 10.09 MB / 0.9397 GB, free: 5.617 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/2.035, allocations: 3.938 kB / 0.9397 GB, free: 5.613 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00753/2.043, allocations: 4.381 MB / 0.944 GB, free: 1.184 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007769/2.051, allocations: 1.081 MB / 0.945 GB, free: 112 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3593/2.41, allocations: 91.61 MB / 1.035 GB, free: 130.6 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006727/2.417, allocations: 5.531 MB / 1.04 GB, free: 125 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005197/2.422, allocations: 2.62 MB / 1.042 GB, free: 122.4 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003684/2.425, allocations: 3.737 MB / 1.046 GB, free: 118.7 MB / 0.5607 GB Notification: Performance of SimCode: time 1.092e-06/2.425, allocations: 0 / 1.046 GB, free: 118.7 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4401/2.865, allocations: 162.3 MB / 1.205 GB, free: 156.3 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 43.03/45.9, allocations: 6.203 kB / 1.205 GB, free: 156.3 MB / 0.5607 GB " [Timeout remaining time 614] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_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.csv","/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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 48.64839997799936]