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.001355/0.001355, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001473/0.001473, allocations: 213.6 kB / 23.73 MB, free: 4.16 MB / 14.72 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 1.482/1.482, allocations: 230.5 MB / 257.4 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002005/0.002005, allocations: 59.91 kB / 377.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2818, allocations: 53.41 MB / 431.1 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.02084/0.3026, allocations: 15.6 MB / 446.7 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01502/0.3176, allocations: 5.85 MB / 452.6 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004197/0.3218, allocations: 175.1 kB / 452.8 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01207/0.3339, allocations: 6.067 MB / 458.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008317/0.3422, allocations: 2.914 MB / 461.7 MB, free: 7.797 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005197/0.3474, allocations: 2.249 MB / 464 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01437/0.3618, allocations: 9.704 MB / 473.7 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008215/0.37, allocations: 6.186 MB / 479.9 MB, free: 5.535 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006385/0.3764, allocations: 3.257 MB / 483.1 MB, free: 2.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007177/0.3836, allocations: 4.155 MB / 487.3 MB, free: 14.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001929/0.3855, allocations: 0.7148 MB / 488 MB, free: 13.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004107/0.3896, allocations: 1.807 MB / 489.8 MB, free: 11.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004823/0.3944, allocations: 3.904 MB / 493.7 MB, free: 7.664 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006635/0.4011, allocations: 3.408 MB / 497.1 MB, free: 4.238 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01952/0.4206, allocations: 13.93 MB / 0.4991 GB, free: 6.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.4206, allocations: 0 / 0.4991 GB, free: 6.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4206, allocations: 0 / 0.4991 GB, free: 6.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004409/0.421, allocations: 0 / 0.4991 GB, free: 6.25 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.0322/0.4532, allocations: 9.588 MB / 0.5084 GB, free: 12.58 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.4533, allocations: 11.98 kB / 0.5085 GB, free: 12.57 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00355/0.4568, allocations: 1.131 MB / 0.5096 GB, free: 11.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3428/0.7997, allocations: 23.28 MB / 0.5323 GB, free: 4.117 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4006/1.2, allocations: 7.467 MB / 0.5396 GB, free: 95.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008013/1.201, allocations: 438.4 kB / 0.54 GB, free: 95.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003439/1.204, allocations: 0.5878 MB / 0.5406 GB, free: 94.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03943/1.244, allocations: 17.08 MB / 0.5573 GB, free: 83.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006335/1.245, allocations: 83.06 kB / 0.5573 GB, free: 83.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002854/1.247, allocations: 266.7 kB / 0.5576 GB, free: 83.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00455/1.252, allocations: 2.668 MB / 0.5602 GB, free: 80.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03364/1.286, allocations: 14.36 MB / 0.5742 GB, free: 66.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09015/1.376, allocations: 60.19 MB / 0.633 GB, free: 5.359 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02571/1.401, allocations: 7.904 MB / 0.6407 GB, free: 13.46 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009497/1.411, allocations: 4.578 MB / 0.6452 GB, free: 8.883 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04335/1.454, allocations: 16.52 MB / 0.6613 GB, free: 8.465 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.488e-05/1.454, allocations: 56.56 kB / 0.6614 GB, free: 8.402 MB / 478.1 MB Notification: Performance of pre-optimization done (n=281): time 8.876e-06/1.454, allocations: 4 kB / 0.6614 GB, free: 8.398 MB / 478.1 MB Notification: Performance of matching and sorting (n=374): time 0.3896/1.844, allocations: 73.16 MB / 0.7328 GB, free: 15.57 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003001/1.844, allocations: 376.6 kB / 0.7332 GB, free: 15.12 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01696/1.861, allocations: 6.713 MB / 0.7397 GB, free: 8.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001461/1.863, allocations: 85.7 kB / 0.7398 GB, free: 8.32 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.006199/1.869, allocations: 5.02 MB / 0.7447 GB, free: 3.258 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.003201/1.872, allocations: 1.426 MB / 0.7461 GB, free: 1.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2367/2.109, allocations: 1.842 MB / 0.7479 GB, free: 191.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.088e-05/2.109, allocations: 301.1 kB / 0.7482 GB, free: 191.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008912/2.118, allocations: 5.666 MB / 0.7537 GB, free: 190.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01046/2.128, allocations: 10.81 MB / 0.7643 GB, free: 181.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01666/2.145, allocations: 17.36 MB / 0.7812 GB, free: 169.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00016/2.145, allocations: 48.31 kB / 0.7813 GB, free: 169.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.0391/2.184, allocations: 21.93 MB / 0.8027 GB, free: 152.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001099/2.184, allocations: 80 kB / 0.8028 GB, free: 152.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001646/2.184, allocations: 171.9 kB / 0.8029 GB, free: 152.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01855/2.203, allocations: 6.85 MB / 0.8096 GB, free: 145.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006659/2.21, allocations: 2.07 MB / 0.8117 GB, free: 143.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03983/2.249, allocations: 35.74 MB / 0.8466 GB, free: 107.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00906/2.259, allocations: 0.7166 MB / 0.8473 GB, free: 106.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001812/2.26, allocations: 0.5116 MB / 0.8478 GB, free: 106.4 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.005822/2.266, allocations: 3.418 MB / 0.8511 GB, free: 103.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001745/2.268, allocations: 0.617 MB / 0.8517 GB, free: 102.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02827/2.296, allocations: 16.03 MB / 0.8674 GB, free: 86.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-05/2.296, allocations: 48.56 kB / 0.8674 GB, free: 86.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.568e-05/2.296, allocations: 16 kB / 0.8674 GB, free: 86.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.729e-05/2.296, allocations: 19.94 kB / 0.8674 GB, free: 86.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04837/2.345, allocations: 29.93 MB / 0.8967 GB, free: 56.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-05/2.345, allocations: 4.25 kB / 0.8967 GB, free: 56.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003166/2.348, allocations: 0.6084 MB / 0.8973 GB, free: 55.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01785/2.366, allocations: 6.435 MB / 0.9035 GB, free: 49.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009294/2.367, allocations: 60 kB / 0.9036 GB, free: 49.37 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03715/2.404, allocations: 33.96 MB / 0.9368 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/2.404, allocations: 1.969 kB / 0.9368 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3169/2.721, allocations: 23.51 MB / 0.9597 GB, free: 171.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002257/2.723, allocations: 0.5821 MB / 0.9603 GB, free: 171.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001746/2.725, allocations: 63.05 kB / 0.9604 GB, free: 171.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004663/2.729, allocations: 427.2 kB / 0.9608 GB, free: 171.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001186/2.731, allocations: 265 kB / 0.961 GB, free: 171.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003506/2.731, allocations: 98.88 kB / 0.9611 GB, free: 171.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00628/2.737, allocations: 4.099 MB / 0.9651 GB, free: 170.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/2.737, allocations: 3.688 kB / 0.9651 GB, free: 170.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01084/2.748, allocations: 2.182 MB / 0.9672 GB, free: 170 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.03727/2.785, allocations: 24.29 MB / 0.991 GB, free: 159.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01873/2.804, allocations: 13.66 MB / 1.004 GB, free: 148 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/2.804, allocations: 4 kB / 1.004 GB, free: 148 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008685/2.813, allocations: 6.023 MB / 1.01 GB, free: 142.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005574/2.818, allocations: 0.9311 MB / 1.011 GB, free: 141.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1472/2.966, allocations: 102.9 MB / 1.112 GB, free: 30.88 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006112/2.972, allocations: 4.783 MB / 1.116 GB, free: 26.05 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006686/2.978, allocations: 3.032 MB / 1.119 GB, free: 23.01 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005183/2.984, allocations: 3.389 MB / 1.123 GB, free: 19.62 MB / 0.545 GB Notification: Performance of SimCode: time 1.553e-06/2.984, allocations: 0 / 1.123 GB, free: 19.62 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5063/3.49, allocations: 169.6 MB / 1.288 GB, free: 79.57 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.25/27.74, allocations: 3.953 kB / 1.288 GB, free: 79.57 MB / 0.5607 GB " [Timeout remaining time 632] (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/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_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: 30.548098536208272]