Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.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.001379/0.001379, allocations: 115.8 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.001503/0.001503, allocations: 213.3 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.472/1.472, 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.PlanarFourbar,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 47.92 kB / 377.8 MB, free: 3.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3079, allocations: 53.36 MB / 431.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.02084/0.3288, allocations: 18.15 MB / 449.3 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01388/0.3426, allocations: 6.096 MB / 455.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004107/0.3467, allocations: 171.1 kB / 455.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01208/0.3588, allocations: 6.351 MB / 461.9 MB, free: 7.949 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008296/0.3671, allocations: 2.887 MB / 464.8 MB, free: 5.051 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005177/0.3723, allocations: 2.304 MB / 467.1 MB, free: 2.742 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01472/0.387, allocations: 9.722 MB / 476.8 MB, free: 9.008 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008696/0.3957, allocations: 6.225 MB / 483 MB, free: 2.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006242/0.402, allocations: 3.257 MB / 486.3 MB, free: 15.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007762/0.4097, allocations: 4.464 MB / 490.8 MB, free: 10.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002685/0.4124, allocations: 0.7148 MB / 491.5 MB, free: 10.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005258/0.4177, allocations: 1.959 MB / 493.4 MB, free: 8.266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005992/0.4237, allocations: 3.908 MB / 497.3 MB, free: 4.348 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008211/0.4319, allocations: 4.403 MB / 0.49 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02063/0.4525, allocations: 13.87 MB / 0.5035 GB, free: 2 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.381e-06/0.4525, allocations: 0 / 0.5035 GB, free: 2 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.4525, allocations: 0 / 0.5035 GB, free: 2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005238/0.453, allocations: 0 / 0.5035 GB, free: 2 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: 2348 * Number of variables: 2348 Notification: Performance of Generate backend data structure: time 0.03/0.483, allocations: 9.581 MB / 0.5129 GB, free: 8.332 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.4831, allocations: 8.031 kB / 0.5129 GB, free: 8.324 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00311/0.4862, allocations: 1.139 MB / 0.514 GB, free: 7.176 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7961/1.282, allocations: 23.27 MB / 0.5367 GB, free: 94.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02002/1.302, allocations: 7.458 MB / 0.544 GB, free: 92.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002774/1.303, allocations: 441.9 kB / 0.5444 GB, free: 92.24 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002434/1.305, allocations: 0.5774 MB / 0.545 GB, free: 92.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03129/1.336, allocations: 16.87 MB / 0.5615 GB, free: 80.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003516/1.337, allocations: 79.41 kB / 0.5615 GB, free: 80.78 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001911/1.339, allocations: 266.7 kB / 0.5618 GB, free: 80.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004035/1.343, allocations: 2.657 MB / 0.5644 GB, free: 77.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02825/1.371, allocations: 14.4 MB / 0.5785 GB, free: 63.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08301/1.454, allocations: 63.6 MB / 0.6406 GB, free: 14.79 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02458/1.478, allocations: 7.901 MB / 0.6483 GB, free: 6.848 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007225/1.486, allocations: 4.591 MB / 0.6528 GB, free: 2.25 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03282/1.518, allocations: 17.46 MB / 0.6698 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.016e-05/1.519, allocations: 64.5 kB / 0.6699 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of pre-optimization done (n=281): time 6.873e-06/1.519, allocations: 3.984 kB / 0.6699 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of matching and sorting (n=374): time 0.28/1.799, allocations: 72.94 MB / 0.7411 GB, free: 7.922 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003063/1.799, allocations: 372.6 kB / 0.7415 GB, free: 7.477 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01182/1.811, allocations: 6.427 MB / 0.7478 GB, free: 1.051 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001085/1.812, allocations: 81.7 kB / 0.7478 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.2399/2.052, allocations: 5.015 MB / 0.7527 GB, free: 191.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00325/2.055, allocations: 1.433 MB / 0.7541 GB, free: 190.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003878/2.059, allocations: 1.848 MB / 0.7559 GB, free: 190.1 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.65e-05/2.059, allocations: 309.8 kB / 0.7562 GB, free: 189.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007365/2.066, allocations: 5.658 MB / 0.7618 GB, free: 187.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009833/2.076, allocations: 10.61 MB / 0.7721 GB, free: 178.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01771/2.094, allocations: 17.35 MB / 0.7891 GB, free: 166.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000152/2.094, allocations: 50.88 kB / 0.7891 GB, free: 166.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.04152/2.135, allocations: 21.93 MB / 0.8105 GB, free: 148.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002281/2.136, allocations: 76 kB / 0.8106 GB, free: 148.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002755/2.136, allocations: 172 kB / 0.8108 GB, free: 148.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01935/2.155, allocations: 6.854 MB / 0.8175 GB, free: 141.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00705/2.162, allocations: 2.084 MB / 0.8195 GB, free: 139.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04167/2.204, allocations: 36.11 MB / 0.8548 GB, free: 102.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008255/2.212, allocations: 0.7125 MB / 0.8555 GB, free: 102.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001738/2.214, allocations: 0.5116 MB / 0.856 GB, free: 101.6 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 779 * Number of states: 0 () * Number of discrete variables: 51 (sensorJoint4.arrowColor[3],sensorJoint4.arrowColor[2],sensorJoint4.arrowColor[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],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute4cut.cylinderColor[3],revolute4cut.cylinderColor[2],revolute4cut.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1015): * Single equations (assignments): 1008 * Array equations: 4 * 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 {(5,68,84.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,24)} Notification: Performance of prepare postOptimizeDAE: time 0.006143/2.22, allocations: 3.419 MB / 0.8593 GB, free: 98.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001561/2.222, allocations: 0.617 MB / 0.8599 GB, free: 97.58 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02802/2.25, allocations: 16.03 MB / 0.8755 GB, free: 81.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-05/2.25, allocations: 51.28 kB / 0.8756 GB, free: 81.44 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-05/2.25, allocations: 20 kB / 0.8756 GB, free: 81.42 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-05/2.25, allocations: 19.88 kB / 0.8756 GB, free: 81.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04818/2.298, allocations: 31.19 MB / 0.9061 GB, free: 49.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.755e-05/2.298, allocations: 7.984 kB / 0.9061 GB, free: 49.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00303/2.301, allocations: 0.6006 MB / 0.9067 GB, free: 49.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01703/2.318, allocations: 6.44 MB / 0.913 GB, free: 42.76 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000868/2.319, allocations: 64.55 kB / 0.913 GB, free: 42.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03768/2.357, allocations: 34.33 MB / 0.9466 GB, free: 8.02 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/2.357, allocations: 3.938 kB / 0.9466 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3019/2.659, allocations: 23.51 MB / 0.9695 GB, free: 169.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002103/2.661, allocations: 0.5751 MB / 0.9701 GB, free: 169.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002113/2.663, allocations: 64.12 kB / 0.9702 GB, free: 169.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00474/2.668, allocations: 427.8 kB / 0.9706 GB, free: 169.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001306/2.669, allocations: 269.5 kB / 0.9708 GB, free: 169.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004019/2.669, allocations: 90.47 kB / 0.9709 GB, free: 169.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006443/2.676, allocations: 4.114 MB / 0.9749 GB, free: 168.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/2.676, allocations: 0 / 0.9749 GB, free: 168.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009935/2.686, allocations: 2.181 MB / 0.9771 GB, free: 167.9 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (revolute1.phi,revolute1.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 (243): * Single equations (assignments): 236 * Array equations: 4 * 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 {(5,62,84.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03858/2.724, allocations: 24.29 MB / 1.001 GB, free: 153 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02141/2.746, allocations: 13.65 MB / 1.014 GB, free: 139.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-05/2.746, allocations: 4 kB / 1.014 GB, free: 139.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01009/2.756, allocations: 6.028 MB / 1.02 GB, free: 133.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008874/2.765, allocations: 0.94 MB / 1.021 GB, free: 132.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1541/2.919, allocations: 102.9 MB / 1.121 GB, free: 21.95 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006923/2.926, allocations: 5.265 MB / 1.127 GB, free: 16.65 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006757/2.932, allocations: 3.029 MB / 1.13 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005/2.937, allocations: 3.389 MB / 1.133 GB, free: 10.23 MB / 0.545 GB Notification: Performance of SimCode: time 1.182e-06/2.937, allocations: 0 / 1.133 GB, free: 10.23 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4864/3.424, allocations: 172.3 MB / 1.301 GB, free: 66.45 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.75/33.18, allocations: 0 / 1.301 GB, free: 66.45 MB / 0.5607 GB " [Timeout remaining time 627] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_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_PlanarFourbar.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarFourbar/PlanarFourbar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.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: 36.00567737000165]