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.001833/0.001833, allocations: 109.5 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.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.002067/0.002067, allocations: 183.9 kB / 23.72 MB, free: 4.699 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.418/1.418, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.001498/0.001498, allocations: 43.92 kB / 370.5 MB, free: 9.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2492, allocations: 52.2 MB / 422.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02173/0.2709, allocations: 19.53 MB / 442.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01362/0.2845, allocations: 6.02 MB / 448.2 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004053/0.2886, allocations: 186.9 kB / 448.4 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01208/0.3006, allocations: 5.954 MB / 454.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009205/0.3098, allocations: 3.44 MB / 457.8 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003935/0.3138, allocations: 1.58 MB / 459.4 MB, free: 9.738 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01852/0.3323, allocations: 12.4 MB / 471.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008949/0.3412, allocations: 5.963 MB / 477.7 MB, free: 7.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007418/0.3487, allocations: 3.634 MB / 481.4 MB, free: 3.625 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009521/0.3582, allocations: 5.126 MB / 486.5 MB, free: 14.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002869/0.361, allocations: 0.7109 MB / 487.2 MB, free: 13.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005457/0.3665, allocations: 1.732 MB / 488.9 MB, free: 12.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006232/0.3727, allocations: 4.379 MB / 493.3 MB, free: 7.648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008226/0.381, allocations: 4.764 MB / 498.1 MB, free: 2.859 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01932/0.4003, allocations: 14.41 MB / 0.5005 GB, free: 4.398 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.4003, allocations: 3.938 kB / 0.5005 GB, free: 4.395 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4003, allocations: 0 / 0.5005 GB, free: 4.395 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005004/0.4008, allocations: 0 / 0.5005 GB, free: 4.395 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.03303/0.4338, allocations: 10.51 MB / 0.5107 GB, free: 9.797 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.4339, allocations: 8.031 kB / 0.5107 GB, free: 9.789 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003253/0.4371, allocations: 1.14 MB / 0.5119 GB, free: 8.637 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2766/0.7137, allocations: 24.3 MB / 0.5356 GB, free: 304 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4034/1.117, allocations: 9.669 MB / 0.545 GB, free: 98.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003274/1.117, allocations: 430.4 kB / 0.5454 GB, free: 98.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001896/1.119, allocations: 0.5955 MB / 0.546 GB, free: 98.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02487/1.144, allocations: 16.17 MB / 0.5618 GB, free: 86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002637/1.144, allocations: 95.3 kB / 0.5619 GB, free: 85.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007797/1.145, allocations: 266.7 kB / 0.5622 GB, free: 85.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003299/1.148, allocations: 2.769 MB / 0.5649 GB, free: 82.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02199/1.17, allocations: 12.86 MB / 0.5774 GB, free: 70.07 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.06592/1.236, allocations: 66.28 MB / 0.6422 GB, free: 2.211 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01864/1.255, allocations: 6.907 MB / 0.6489 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005811/1.261, allocations: 3.928 MB / 0.6527 GB, free: 7.332 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02143/1.282, allocations: 11.03 MB / 0.6635 GB, free: 12.41 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.854e-05/1.282, allocations: 68.5 kB / 0.6636 GB, free: 12.34 MB / 478.1 MB Notification: Performance of pre-optimization done (n=280): time 6.302e-06/1.282, allocations: 0 / 0.6636 GB, free: 12.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=339): time 0.1762/1.459, allocations: 47.61 MB / 0.7101 GB, free: 12.97 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002396/1.459, allocations: 394.1 kB / 0.7104 GB, free: 12.5 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01372/1.473, allocations: 7.168 MB / 0.7174 GB, free: 5.359 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0008998/1.473, allocations: 82.83 kB / 0.7175 GB, free: 5.273 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.005266/1.479, allocations: 5.351 MB / 0.7227 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002043/1.481, allocations: 1.298 MB / 0.724 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003246/1.484, allocations: 1.652 MB / 0.7256 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.484, allocations: 301.1 kB / 0.7259 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006736/1.491, allocations: 3.963 MB / 0.7298 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2389/1.73, allocations: 8.585 MB / 0.7382 GB, free: 174 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01553/1.745, allocations: 13.49 MB / 0.7513 GB, free: 165.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002336/1.745, allocations: 47.25 kB / 0.7514 GB, free: 165.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1070) (initialization): time 0.03572/1.781, allocations: 17.13 MB / 0.7681 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001328/1.781, allocations: 77.47 kB / 0.7682 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002046/1.782, allocations: 165 kB / 0.7683 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01602/1.798, allocations: 5.772 MB / 0.774 GB, free: 158.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005303/1.803, allocations: 1.744 MB / 0.7757 GB, free: 156.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03517/1.838, allocations: 31.37 MB / 0.8063 GB, free: 125.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007508/1.846, allocations: 0.525 MB / 0.8068 GB, free: 124.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001439/1.847, allocations: 472 kB / 0.8073 GB, free: 124.3 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.00618/1.853, allocations: 3.462 MB / 0.8107 GB, free: 121 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001664/1.855, allocations: 0.6859 MB / 0.8113 GB, free: 120.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02227/1.877, allocations: 11.41 MB / 0.8225 GB, free: 109.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.078e-05/1.877, allocations: 36 kB / 0.8225 GB, free: 109.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-05/1.877, allocations: 20 kB / 0.8225 GB, free: 109.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-05/1.877, allocations: 15.94 kB / 0.8225 GB, free: 109.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04079/1.918, allocations: 24.63 MB / 0.8466 GB, free: 84.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.826e-05/1.918, allocations: 8 kB / 0.8466 GB, free: 84.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001868/1.92, allocations: 420.1 kB / 0.847 GB, free: 83.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01459/1.935, allocations: 5.373 MB / 0.8522 GB, free: 78.34 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006592/1.935, allocations: 63.98 kB / 0.8523 GB, free: 78.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03367/1.969, allocations: 30.05 MB / 0.8817 GB, free: 48.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/1.969, allocations: 7.938 kB / 0.8817 GB, free: 48.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02647/1.995, allocations: 16.44 MB / 0.8977 GB, free: 31.56 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001954/1.997, allocations: 0.6514 MB / 0.8984 GB, free: 30.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001849/1.999, allocations: 64 kB / 0.8984 GB, free: 30.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00415/2.003, allocations: 267.5 kB / 0.8987 GB, free: 30.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001194/2.004, allocations: 254.5 kB / 0.8989 GB, free: 30.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003758/2.005, allocations: 84 kB / 0.899 GB, free: 30.26 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007167/2.012, allocations: 4.62 MB / 0.9035 GB, free: 25.67 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.51e-07/2.012, allocations: 0 / 0.9035 GB, free: 25.67 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008929/2.021, allocations: 1.979 MB / 0.9054 GB, free: 23.7 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.02788/2.049, allocations: 17.14 MB / 0.9222 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01704/2.066, allocations: 10.1 MB / 0.932 GB, free: 12.22 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.46e-05/2.066, allocations: 4 kB / 0.932 GB, free: 12.22 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.2277/2.294, allocations: 4.371 MB / 0.9363 GB, free: 192.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008313/2.302, allocations: 1.072 MB / 0.9374 GB, free: 192.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1477/2.45, allocations: 91.66 MB / 1.027 GB, free: 115 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008026/2.458, allocations: 5.532 MB / 1.032 GB, free: 109.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006541/2.464, allocations: 2.622 MB / 1.035 GB, free: 106.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005737/2.47, allocations: 3.737 MB / 1.038 GB, free: 103.1 MB / 0.545 GB Notification: Performance of SimCode: time 2.184e-06/2.47, allocations: 0 / 1.038 GB, free: 103.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4354/2.905, allocations: 162.4 MB / 1.197 GB, free: 140.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 42.58/45.49, allocations: 12.88 kB / 1.197 GB, free: 140.7 MB / 0.545 GB " [Timeout remaining time 614] (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: 48.18971932899876]