Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000859/0.000859, allocations: 80.72 kB / 20.67 MB, free: 3.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007679/0.0007679, allocations: 153.1 kB / 23.93 MB, free: 0.6211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.872/0.872, allocations: 173.4 MB / 200.5 MB, free: 9.449 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 318.4 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/1.991e-05, allocations: 9.656 kB / 318.5 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.0116/0.01162, allocations: 16.8 MB / 335.3 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01055/0.02217, allocations: 5.778 MB / 341 MB, free: 15.55 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003453/0.02562, allocations: 190.9 kB / 341.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006483/0.03211, allocations: 5.996 MB / 347.2 MB, free: 9.344 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006371/0.03848, allocations: 3.557 MB / 350.8 MB, free: 5.77 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002429/0.04091, allocations: 1.79 MB / 352.6 MB, free: 3.977 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01248/0.05339, allocations: 14.27 MB / 366.8 MB, free: 5.684 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009162/0.06255, allocations: 7.471 MB / 374.3 MB, free: 14.12 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01082/0.07337, allocations: 5.551 MB / 379.9 MB, free: 8.555 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00801/0.08138, allocations: 5.635 MB / 385.5 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002194/0.08357, allocations: 0.7422 MB / 386.2 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003777/0.08735, allocations: 1.666 MB / 387.9 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005232/0.09258, allocations: 4.625 MB / 392.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004558/0.09714, allocations: 3.078 MB / 395.6 MB, free: 8.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01216/0.1093, allocations: 14.76 MB / 410.4 MB, free: 9.965 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1093, allocations: 0 / 410.4 MB, free: 9.965 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1093, allocations: 4 kB / 410.4 MB, free: 9.961 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004565/0.1098, allocations: 0 / 410.4 MB, free: 9.961 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.0235/0.1333, allocations: 10.83 MB / 421.2 MB, free: 15.04 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.1333, allocations: 8.922 kB / 421.2 MB, free: 15.03 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002599/0.1359, allocations: 1.148 MB / 422.4 MB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1387/0.2746, allocations: 25.5 MB / 447.9 MB, free: 4.336 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2651/0.5397, allocations: 8.061 MB / 455.9 MB, free: 113.7 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003677/0.5401, allocations: 426.4 kB / 456.3 MB, free: 113.5 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002426/0.5425, allocations: 0.584 MB / 456.9 MB, free: 113.4 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01803/0.5605, allocations: 16.44 MB / 473.4 MB, free: 100.6 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002066/0.5607, allocations: 104 kB / 473.5 MB, free: 100.5 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000512/0.5612, allocations: 265.1 kB / 473.7 MB, free: 100.3 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002114/0.5633, allocations: 2.764 MB / 476.5 MB, free: 97.55 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01773/0.5811, allocations: 12.84 MB / 489.3 MB, free: 84.7 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.05798/0.6391, allocations: 62.87 MB / 0.5393 GB, free: 21.27 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01093/0.65, allocations: 7.161 MB / 0.5462 GB, free: 14.12 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003153/0.6531, allocations: 3.928 MB / 0.5501 GB, free: 10.18 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01234/0.6655, allocations: 10.65 MB / 0.5605 GB, free: 15.64 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.819e-05/0.6655, allocations: 68.47 kB / 0.5605 GB, free: 15.57 MB / 426.8 MB Notification: Performance of pre-optimization done (n=280): time 6.031e-06/0.6655, allocations: 0 / 0.5605 GB, free: 15.57 MB / 426.8 MB Notification: Performance of matching and sorting (n=339): time 0.1076/0.7731, allocations: 49.79 MB / 0.6092 GB, free: 14.29 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/0.7733, allocations: 398 kB / 0.6096 GB, free: 13.81 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01097/0.7842, allocations: 8.504 MB / 0.6179 GB, free: 5.332 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009121/0.7851, allocations: 77.7 kB / 0.6179 GB, free: 5.25 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.1725/0.9576, allocations: 5.309 MB / 0.6231 GB, free: 164 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002888/0.9605, allocations: 1.29 MB / 0.6244 GB, free: 164 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003254/0.9638, allocations: 1.638 MB / 0.626 GB, free: 164 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 3.442e-05/0.9638, allocations: 304.9 kB / 0.6263 GB, free: 163.7 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003209/0.967, allocations: 3.958 MB / 0.6301 GB, free: 162.7 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004294/0.9713, allocations: 8.816 MB / 0.6387 GB, free: 154.8 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01038/0.9817, allocations: 13.49 MB / 0.6519 GB, free: 144.9 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002993/0.982, allocations: 43.19 kB / 0.652 GB, free: 144.9 MB / 474.8 MB Notification: Performance of matching and sorting (n=1070) (initialization): time 0.0243/1.006, allocations: 17.14 MB / 0.6687 GB, free: 132.2 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.041e-05/1.006, allocations: 72 kB / 0.6688 GB, free: 132.1 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000118/1.006, allocations: 160 kB / 0.6689 GB, free: 131.9 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009116/1.016, allocations: 5.771 MB / 0.6745 GB, free: 126.2 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003834/1.019, allocations: 1.747 MB / 0.6763 GB, free: 124.5 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02405/1.043, allocations: 31.1 MB / 0.7066 GB, free: 93.25 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00597/1.049, allocations: 0.6359 MB / 0.7072 GB, free: 92.62 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00109/1.051, allocations: 472 kB / 0.7077 GB, free: 92.16 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.004469/1.055, allocations: 3.462 MB / 0.7111 GB, free: 88.79 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001253/1.056, allocations: 0.6868 MB / 0.7117 GB, free: 88.1 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01259/1.069, allocations: 11.4 MB / 0.7229 GB, free: 76.63 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-05/1.069, allocations: 36 kB / 0.7229 GB, free: 76.59 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.56e-05/1.069, allocations: 20.28 kB / 0.7229 GB, free: 76.57 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.183e-05/1.069, allocations: 19.88 kB / 0.723 GB, free: 76.55 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02941/1.098, allocations: 23.86 MB / 0.7463 GB, free: 52.32 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-05/1.098, allocations: 7.938 kB / 0.7463 GB, free: 52.31 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/1.1, allocations: 419.4 kB / 0.7467 GB, free: 51.9 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008883/1.109, allocations: 5.369 MB / 0.7519 GB, free: 46.52 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006641/1.109, allocations: 60 kB / 0.752 GB, free: 46.46 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02363/1.133, allocations: 29.82 MB / 0.7811 GB, free: 16.31 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.133, allocations: 7.938 kB / 0.7811 GB, free: 16.3 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1827/1.316, allocations: 16.43 MB / 0.7971 GB, free: 145.1 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002393/1.318, allocations: 0.7768 MB / 0.7979 GB, free: 145.1 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00178/1.32, allocations: 61.64 kB / 0.798 GB, free: 145.1 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002478/1.322, allocations: 372.1 kB / 0.7983 GB, free: 145.1 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006869/1.323, allocations: 253.4 kB / 0.7985 GB, free: 145.1 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001651/1.323, allocations: 92.31 kB / 0.7986 GB, free: 145.1 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.005708/1.329, allocations: 5.457 MB / 0.804 GB, free: 144.1 MB / 474.8 MB Notification: Performance of sort global known variables: time 6e-08/1.329, allocations: 0 / 0.804 GB, free: 144.1 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.007179/1.336, allocations: 2.289 MB / 0.8062 GB, free: 143.9 MB / 474.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.0177/1.354, allocations: 17.17 MB / 0.823 GB, free: 137.5 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01084/1.365, allocations: 10.09 MB / 0.8328 GB, free: 129.8 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/1.365, allocations: 4 kB / 0.8328 GB, free: 129.8 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004538/1.369, allocations: 4.367 MB / 0.8371 GB, free: 126.1 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006168/1.375, allocations: 1.091 MB / 0.8381 GB, free: 125.2 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1076/1.483, allocations: 95.34 MB / 0.9313 GB, free: 23.93 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005339/1.488, allocations: 5.072 MB / 0.9362 GB, free: 18.81 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.003872/1.492, allocations: 2.657 MB / 0.9388 GB, free: 16.15 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003113/1.495, allocations: 3.781 MB / 0.9425 GB, free: 12.37 MB / 474.8 MB Notification: Performance of SimCode: time 1.473e-06/1.495, allocations: 0 / 0.9425 GB, free: 12.37 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3115/1.807, allocations: 167.2 MB / 1.106 GB, free: 36.93 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.66/16.47, allocations: 11.12 kB / 1.106 GB, free: 36.92 MB / 490.8 MB " [Timeout remaining time 643] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 18.370153105817735]