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.001481/0.001481, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 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.001558/0.001558, allocations: 195.6 kB / 23.71 MB, free: 4.406 MB / 14.72 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 1.417/1.417, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001871/0.001871, allocations: 47.92 kB / 370.4 MB, free: 9.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2375, allocations: 52.19 MB / 422.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.0204/0.2579, allocations: 16.78 MB / 439.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01276/0.2706, allocations: 5.783 MB / 445.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003208/0.2739, allocations: 190.9 kB / 445.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01145/0.2853, allocations: 5.697 MB / 451 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008792/0.2941, allocations: 3.455 MB / 454.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003502/0.2976, allocations: 1.576 MB / 456.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01752/0.3151, allocations: 12.4 MB / 468.5 MB, free: 348 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01099/0.3261, allocations: 5.927 MB / 474.4 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008791/0.3349, allocations: 3.634 MB / 478 MB, free: 6.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009677/0.3446, allocations: 4.844 MB / 482.9 MB, free: 1.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002571/0.3471, allocations: 0.7148 MB / 483.6 MB, free: 1.105 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004627/0.3518, allocations: 1.58 MB / 485.2 MB, free: 15.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006475/0.3582, allocations: 4.375 MB / 489.6 MB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008887/0.3671, allocations: 3.703 MB / 493.3 MB, free: 7.414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02121/0.3883, allocations: 14.49 MB / 0.4958 GB, free: 8.871 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3883, allocations: 0 / 0.4958 GB, free: 8.871 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3884, allocations: 0 / 0.4958 GB, free: 8.871 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004095/0.3888, allocations: 0 / 0.4958 GB, free: 8.871 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.03354/0.4223, allocations: 10.5 MB / 0.5061 GB, free: 14.29 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/0.4224, allocations: 8.031 kB / 0.5061 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003453/0.4258, allocations: 1.148 MB / 0.5072 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2948/0.7206, allocations: 24.3 MB / 0.531 GB, free: 4.781 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3916/1.112, allocations: 9.707 MB / 0.5404 GB, free: 101.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003015/1.113, allocations: 427.8 kB / 0.5408 GB, free: 101.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002313/1.115, allocations: 0.5824 MB / 0.5414 GB, free: 101.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02339/1.138, allocations: 16.42 MB / 0.5574 GB, free: 89.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002274/1.138, allocations: 95.36 kB / 0.5575 GB, free: 88.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006521/1.139, allocations: 265.8 kB / 0.5578 GB, free: 88.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0033/1.142, allocations: 2.771 MB / 0.5605 GB, free: 86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02151/1.164, allocations: 12.83 MB / 0.573 GB, free: 73.18 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.06104/1.225, allocations: 61.35 MB / 0.6329 GB, free: 10.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01701/1.242, allocations: 6.907 MB / 0.6397 GB, free: 4.074 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003995/1.246, allocations: 3.932 MB / 0.6435 GB, free: 136 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01939/1.265, allocations: 10.15 MB / 0.6534 GB, free: 6.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.581e-05/1.265, allocations: 60.56 kB / 0.6535 GB, free: 6.023 MB / 462.1 MB Notification: Performance of pre-optimization done (n=280): time 6.752e-06/1.265, allocations: 0 / 0.6535 GB, free: 6.023 MB / 462.1 MB Notification: Performance of matching and sorting (n=339): time 0.187/1.452, allocations: 47.79 MB / 0.7002 GB, free: 6.773 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003172/1.453, allocations: 398.1 kB / 0.7006 GB, free: 6.297 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01438/1.467, allocations: 7.43 MB / 0.7078 GB, free: 14.89 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0008716/1.468, allocations: 81.45 kB / 0.7079 GB, free: 14.81 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.006184/1.474, allocations: 5.351 MB / 0.7131 GB, free: 9.418 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002208/1.476, allocations: 1.306 MB / 0.7144 GB, free: 8.102 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005072/1.481, allocations: 1.652 MB / 0.716 GB, free: 6.438 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001605/1.482, allocations: 305.1 kB / 0.7163 GB, free: 6.137 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007686/1.489, allocations: 3.959 MB / 0.7202 GB, free: 2.168 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01301/1.502, allocations: 8.821 MB / 0.7288 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2174/1.72, allocations: 13.48 MB / 0.7419 GB, free: 171.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001697/1.72, allocations: 47.22 kB / 0.742 GB, free: 171.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1070) (initialization): time 0.03387/1.754, allocations: 17.13 MB / 0.7587 GB, free: 166.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.985e-05/1.754, allocations: 81.5 kB / 0.7588 GB, free: 166.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000155/1.754, allocations: 159.6 kB / 0.7589 GB, free: 166.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01609/1.77, allocations: 5.764 MB / 0.7646 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004967/1.775, allocations: 1.747 MB / 0.7663 GB, free: 163 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03438/1.809, allocations: 31.08 MB / 0.7966 GB, free: 132.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007033/1.817, allocations: 0.5247 MB / 0.7971 GB, free: 132.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001189/1.818, allocations: 471.7 kB / 0.7976 GB, free: 131.6 MB / 0.5294 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.005201/1.823, allocations: 3.459 MB / 0.801 GB, free: 128.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001453/1.824, allocations: 0.6826 MB / 0.8016 GB, free: 127.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02112/1.845, allocations: 11.41 MB / 0.8128 GB, free: 116.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.281e-05/1.846, allocations: 36 kB / 0.8128 GB, free: 116.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.04e-05/1.846, allocations: 20 kB / 0.8128 GB, free: 116.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.295e-05/1.846, allocations: 15.94 kB / 0.8128 GB, free: 116.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03938/1.885, allocations: 23.59 MB / 0.8359 GB, free: 92.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.946e-05/1.885, allocations: 8.031 kB / 0.8359 GB, free: 92.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001879/1.887, allocations: 424.2 kB / 0.8363 GB, free: 92.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01517/1.902, allocations: 5.368 MB / 0.8415 GB, free: 86.71 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006455/1.903, allocations: 63.98 kB / 0.8416 GB, free: 86.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03304/1.936, allocations: 29.77 MB / 0.8707 GB, free: 56.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/1.936, allocations: 8 kB / 0.8707 GB, free: 56.74 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02654/1.962, allocations: 16.44 MB / 0.8867 GB, free: 40.23 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001806/1.964, allocations: 0.6427 MB / 0.8874 GB, free: 39.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001353/1.965, allocations: 60 kB / 0.8874 GB, free: 39.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003367/1.969, allocations: 263.6 kB / 0.8877 GB, free: 39.27 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007378/1.97, allocations: 254.4 kB / 0.8879 GB, free: 39.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002556/1.97, allocations: 91.91 kB / 0.888 GB, free: 38.94 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005825/1.976, allocations: 4.616 MB / 0.8925 GB, free: 34.36 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/1.976, allocations: 64 / 0.8925 GB, free: 34.36 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00733/1.983, allocations: 1.979 MB / 0.8944 GB, free: 32.38 MB / 0.5294 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.02965/2.013, allocations: 17.16 MB / 0.9112 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01502/2.028, allocations: 10.09 MB / 0.921 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/2.028, allocations: 0 / 0.921 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007449/2.035, allocations: 4.361 MB / 0.9253 GB, free: 492 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006881/2.042, allocations: 1.089 MB / 0.9264 GB, free: 15.39 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3295/2.372, allocations: 91.61 MB / 1.016 GB, free: 123.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006546/2.378, allocations: 5.063 MB / 1.021 GB, free: 118.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005364/2.383, allocations: 2.621 MB / 1.023 GB, free: 115.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004067/2.388, allocations: 3.745 MB / 1.027 GB, free: 112 MB / 0.545 GB Notification: Performance of SimCode: time 1.132e-06/2.388, allocations: 0 / 1.027 GB, free: 112 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4498/2.837, allocations: 162.1 MB / 1.185 GB, free: 146.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.01/27.85, allocations: 3.719 kB / 1.185 GB, free: 146.8 MB / 0.545 GB " [Timeout remaining time 632] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins1/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: 30.569808006752282]