Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000864/0.000864, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008365/0.0008365, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8931/0.8931, allocations: 177 MB / 204.1 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.482e-05/1.604e-05, allocations: 2.281 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.01132/0.01133, allocations: 15.63 MB / 340.1 MB, free: 172 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.02167, allocations: 5.852 MB / 346 MB, free: 10.3 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00266/0.02433, allocations: 171.1 kB / 346.2 MB, free: 10.13 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006162/0.03049, allocations: 6.394 MB / 352.6 MB, free: 3.719 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004672/0.03516, allocations: 2.994 MB / 355.6 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002938/0.0381, allocations: 2.452 MB / 358 MB, free: 14.25 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00882/0.04692, allocations: 11.13 MB / 369.1 MB, free: 3.105 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005493/0.05241, allocations: 7.226 MB / 376.4 MB, free: 11.78 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004697/0.05711, allocations: 4.94 MB / 381.3 MB, free: 6.832 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003981/0.06109, allocations: 4.661 MB / 386 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007092/0.0618, allocations: 0.7344 MB / 386.7 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002157/0.06396, allocations: 1.877 MB / 388.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002433/0.06639, allocations: 4.095 MB / 392.7 MB, free: 11.44 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002167/0.06856, allocations: 2.825 MB / 395.5 MB, free: 8.609 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01045/0.07901, allocations: 14.17 MB / 409.7 MB, free: 10.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.07902, allocations: 4 kB / 409.7 MB, free: 10.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.07902, allocations: 0 / 409.7 MB, free: 10.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000332/0.07935, allocations: 0 / 409.7 MB, free: 10.4 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: 2348 * Number of variables: 2348 Notification: Performance of Generate backend data structure: time 0.01632/0.09567, allocations: 9.764 MB / 419.4 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.09572, allocations: 11.98 kB / 419.4 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001241/0.09696, allocations: 1.143 MB / 420.6 MB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1448/0.2417, allocations: 24.08 MB / 444.7 MB, free: 7.277 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01219/0.2539, allocations: 6.812 MB / 451.5 MB, free: 392 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2813/0.5352, allocations: 430.5 kB / 451.9 MB, free: 110 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002764/0.538, allocations: 0.5765 MB / 452.5 MB, free: 110 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01734/0.5553, allocations: 17.11 MB / 469.6 MB, free: 98.84 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001402/0.5555, allocations: 80.67 kB / 469.7 MB, free: 98.78 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004388/0.5559, allocations: 270.2 kB / 469.9 MB, free: 98.56 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002137/0.558, allocations: 2.651 MB / 472.6 MB, free: 95.92 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01526/0.5733, allocations: 14.37 MB / 487 MB, free: 81.55 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04296/0.6162, allocations: 60.99 MB / 0.5351 GB, free: 20.16 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01162/0.6279, allocations: 8.144 MB / 0.543 GB, free: 12.03 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002989/0.6309, allocations: 4.589 MB / 0.5475 GB, free: 7.438 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01588/0.6467, allocations: 17.07 MB / 0.5642 GB, free: 6.473 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.6468, allocations: 68.5 kB / 0.5643 GB, free: 6.398 MB / 426.8 MB Notification: Performance of pre-optimization done (n=281): time 4.498e-06/0.6468, allocations: 0 / 0.5643 GB, free: 6.398 MB / 426.8 MB Notification: Performance of matching and sorting (n=374): time 0.2994/0.9462, allocations: 75.54 MB / 0.638 GB, free: 154.2 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.69e-05/0.9463, allocations: 373.3 kB / 0.6384 GB, free: 153.8 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005595/0.9519, allocations: 7.428 MB / 0.6456 GB, free: 151.2 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003705/0.9522, allocations: 81.33 kB / 0.6457 GB, free: 151.2 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00143/0.9537, allocations: 4.983 MB / 0.6506 GB, free: 147.2 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008319/0.9545, allocations: 1.417 MB / 0.652 GB, free: 145.9 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00158/0.9561, allocations: 1.817 MB / 0.6537 GB, free: 144 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 3.177e-05/0.9561, allocations: 316.5 kB / 0.6541 GB, free: 143.7 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003979/0.9601, allocations: 5.659 MB / 0.6596 GB, free: 138.1 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005131/0.9652, allocations: 10.82 MB / 0.6701 GB, free: 124.8 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01099/0.9762, allocations: 17.36 MB / 0.6871 GB, free: 105.1 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.647e-05/0.9763, allocations: 48 kB / 0.6871 GB, free: 105.1 MB / 474.8 MB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.0229/0.9992, allocations: 21.92 MB / 0.7086 GB, free: 83.13 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.287e-05/0.9992, allocations: 80.94 kB / 0.7086 GB, free: 83.05 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-05/0.9993, allocations: 172 kB / 0.7088 GB, free: 82.88 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009903/1.009, allocations: 6.846 MB / 0.7155 GB, free: 76.02 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003603/1.013, allocations: 2.078 MB / 0.7175 GB, free: 73.94 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02594/1.039, allocations: 35.91 MB / 0.7526 GB, free: 37.7 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006147/1.045, allocations: 0.8308 MB / 0.7534 GB, free: 36.87 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005014/1.045, allocations: 0.5116 MB / 0.7539 GB, free: 36.36 MB / 474.8 MB 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.003746/1.049, allocations: 3.418 MB / 0.7572 GB, free: 32.93 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007481/1.05, allocations: 0.6093 MB / 0.7578 GB, free: 32.32 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01602/1.066, allocations: 16.03 MB / 0.7735 GB, free: 16.21 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.262e-05/1.066, allocations: 48 kB / 0.7735 GB, free: 16.17 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.162e-05/1.066, allocations: 16 kB / 0.7735 GB, free: 16.15 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.437e-05/1.066, allocations: 15.94 kB / 0.7736 GB, free: 16.14 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.201/1.267, allocations: 30.19 MB / 0.803 GB, free: 141.5 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.656e-05/1.267, allocations: 4.062 kB / 0.803 GB, free: 141.5 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/1.269, allocations: 0.6078 MB / 0.8036 GB, free: 141.5 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009811/1.279, allocations: 6.428 MB / 0.8099 GB, free: 140.4 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003224/1.279, allocations: 61.86 kB / 0.81 GB, free: 140.4 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02477/1.304, allocations: 34.17 MB / 0.8433 GB, free: 112.4 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.304, allocations: 4 kB / 0.8433 GB, free: 112.4 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02258/1.326, allocations: 23.51 MB / 0.8663 GB, free: 89.21 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002065/1.328, allocations: 0.6878 MB / 0.867 GB, free: 88.88 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005928/1.329, allocations: 67.95 kB / 0.867 GB, free: 88.81 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002416/1.331, allocations: 0.5226 MB / 0.8675 GB, free: 88.29 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008147/1.332, allocations: 266.5 kB / 0.8678 GB, free: 88.03 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002223/1.332, allocations: 94.73 kB / 0.8679 GB, free: 87.94 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.004318/1.337, allocations: 4.665 MB / 0.8724 GB, free: 83.28 MB / 474.8 MB Notification: Performance of sort global known variables: time 6.01e-07/1.337, allocations: 0 / 0.8724 GB, free: 83.28 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.007314/1.344, allocations: 2.524 MB / 0.8749 GB, free: 80.77 MB / 474.8 MB 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.02285/1.367, allocations: 24.29 MB / 0.8986 GB, free: 56.79 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01469/1.382, allocations: 13.66 MB / 0.912 GB, free: 43.2 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/1.382, allocations: 4 kB / 0.912 GB, free: 43.19 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005902/1.387, allocations: 6.033 MB / 0.9179 GB, free: 37.14 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00495/1.392, allocations: 0.9381 MB / 0.9188 GB, free: 36.22 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2778/1.67, allocations: 105.3 MB / 1.022 GB, free: 119.8 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003344/1.673, allocations: 4.787 MB / 1.026 GB, free: 115 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.004017/1.677, allocations: 3.057 MB / 1.029 GB, free: 112.1 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002705/1.68, allocations: 3.415 MB / 1.033 GB, free: 108.7 MB / 490.8 MB Notification: Performance of SimCode: time 2.224e-06/1.68, allocations: 0 / 1.033 GB, free: 108.7 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3333/2.013, allocations: 173.8 MB / 1.202 GB, free: 129.2 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.12/17.14, allocations: 6.125 kB / 1.202 GB, free: 129.2 MB / 0.4949 GB " [Timeout remaining time 643] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarFourbar/PlanarFourbar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 19.03574464842677]