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.001907/0.001907, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002522/0.002522, allocations: 212.3 kB / 23.74 MB, free: 4.688 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.549/1.549, allocations: 230.6 MB / 257.5 MB, free: 8 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: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 47.92 kB / 378.3 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2333, allocations: 53.36 MB / 431.6 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.0229/0.2562, allocations: 18.14 MB / 449.8 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01355/0.2698, allocations: 6.101 MB / 455.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003151/0.2729, allocations: 171.1 kB / 456 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01221/0.2851, allocations: 6.34 MB / 462.4 MB, free: 8.059 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007651/0.2928, allocations: 2.907 MB / 465.3 MB, free: 5.141 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005124/0.2979, allocations: 2.3 MB / 467.6 MB, free: 2.836 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01463/0.3126, allocations: 9.716 MB / 477.3 MB, free: 9.105 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008894/0.3214, allocations: 6.213 MB / 483.5 MB, free: 2.793 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006985/0.3284, allocations: 3.257 MB / 486.8 MB, free: 15.53 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008051/0.3365, allocations: 4.472 MB / 491.2 MB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002021/0.3385, allocations: 0.7148 MB / 492 MB, free: 10.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004271/0.3428, allocations: 1.951 MB / 493.9 MB, free: 8.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004871/0.3476, allocations: 3.888 MB / 497.8 MB, free: 4.477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006832/0.3545, allocations: 4.127 MB / 0.4902 GB, free: 336 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01756/0.372, allocations: 13.22 MB / 0.5031 GB, free: 3.059 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.372, allocations: 0 / 0.5031 GB, free: 3.059 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.372, allocations: 0 / 0.5031 GB, free: 3.059 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003546/0.3724, allocations: 0 / 0.5031 GB, free: 3.059 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.02637/0.3988, allocations: 9.071 MB / 0.5119 GB, free: 9.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.3988, allocations: 8.031 kB / 0.5119 GB, free: 9.902 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05047/0.4493, allocations: 4.896 MB / 0.5167 GB, free: 4.996 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01831/0.4676, allocations: 6.299 MB / 0.5229 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004861/0.4681, allocations: 435.7 kB / 0.5233 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002454/0.4705, allocations: 0.5922 MB / 0.5239 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4306/0.9012, allocations: 17.05 MB / 0.5405 GB, free: 89.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003126/0.9015, allocations: 74.03 kB / 0.5406 GB, free: 89.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001006/0.9025, allocations: 266 kB / 0.5408 GB, free: 89.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004136/0.9066, allocations: 2.656 MB / 0.5434 GB, free: 89.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0274/0.934, allocations: 14.78 MB / 0.5579 GB, free: 83.17 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08026/1.014, allocations: 64.16 MB / 0.6205 GB, free: 19.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02099/1.035, allocations: 8.045 MB / 0.6284 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005169/1.04, allocations: 4.732 MB / 0.633 GB, free: 6.492 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03375/1.074, allocations: 17.99 MB / 0.6506 GB, free: 4.598 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.114e-05/1.074, allocations: 64.5 kB / 0.6506 GB, free: 4.527 MB / 462.1 MB Notification: Performance of pre-optimization done (n=281): time 7.204e-06/1.074, allocations: 0 / 0.6506 GB, free: 4.527 MB / 462.1 MB Notification: Performance of matching and sorting (n=374): time 0.2787/1.353, allocations: 74.15 MB / 0.723 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002343/1.353, allocations: 376.6 kB / 0.7234 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01231/1.366, allocations: 6.375 MB / 0.7296 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001031/1.367, allocations: 85.69 kB / 0.7297 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00505/1.372, allocations: 4.93 MB / 0.7345 GB, free: 14.97 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002424/1.374, allocations: 1.449 MB / 0.7359 GB, free: 13.51 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004715/1.379, allocations: 1.983 MB / 0.7379 GB, free: 11.51 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001487/1.379, allocations: 305.1 kB / 0.7382 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009988/1.389, allocations: 5.996 MB / 0.744 GB, free: 5.207 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2651/1.654, allocations: 11.02 MB / 0.7548 GB, free: 182.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02015/1.674, allocations: 17.96 MB / 0.7723 GB, free: 170.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003257/1.674, allocations: 51.66 kB / 0.7724 GB, free: 170.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.04861/1.723, allocations: 23.3 MB / 0.7951 GB, free: 161.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003978/1.723, allocations: 83.94 kB / 0.7952 GB, free: 161.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002928/1.724, allocations: 172 kB / 0.7954 GB, free: 161.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02078/1.745, allocations: 7.453 MB / 0.8026 GB, free: 155.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007676/1.752, allocations: 2.18 MB / 0.8048 GB, free: 153.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04395/1.796, allocations: 37.82 MB / 0.8417 GB, free: 115.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009571/1.806, allocations: 0.7417 MB / 0.8424 GB, free: 114.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002157/1.808, allocations: 0.5234 MB / 0.843 GB, free: 113.9 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 785 * 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 (1091): * Single equations (assignments): 1084 * 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.007669/1.816, allocations: 3.431 MB / 0.8463 GB, free: 110.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002071/1.818, allocations: 0.6054 MB / 0.8469 GB, free: 110.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03409/1.852, allocations: 16.87 MB / 0.8634 GB, free: 93.38 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.486e-05/1.852, allocations: 51.98 kB / 0.8634 GB, free: 93.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-05/1.852, allocations: 16 kB / 0.8634 GB, free: 93.31 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-05/1.852, allocations: 23.88 kB / 0.8635 GB, free: 93.29 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05123/1.903, allocations: 31.92 MB / 0.8946 GB, free: 61.08 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.381e-05/1.903, allocations: 7.75 kB / 0.8946 GB, free: 61.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003181/1.906, allocations: 0.6045 MB / 0.8952 GB, free: 60.47 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01958/1.926, allocations: 7.006 MB / 0.9021 GB, free: 53.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008361/1.927, allocations: 71.89 kB / 0.9021 GB, free: 53.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04197/1.969, allocations: 36.01 MB / 0.9373 GB, free: 17.11 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/1.969, allocations: 4 kB / 0.9373 GB, free: 17.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3217/2.29, allocations: 24.55 MB / 0.9613 GB, free: 170.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002742/2.293, allocations: 0.5822 MB / 0.9619 GB, free: 170.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003093/2.296, allocations: 59.72 kB / 0.9619 GB, free: 170.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005078/2.301, allocations: 445.5 kB / 0.9623 GB, free: 170.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001318/2.303, allocations: 265.7 kB / 0.9626 GB, free: 170.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000376/2.303, allocations: 92.47 kB / 0.9627 GB, free: 170.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005857/2.309, allocations: 4.046 MB / 0.9666 GB, free: 168.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.21e-07/2.309, allocations: 0 / 0.9666 GB, free: 168.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009795/2.319, allocations: 2.286 MB / 0.9689 GB, free: 168.5 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.001184/2.32, allocations: 281.3 kB / 0.9691 GB, free: 168.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02012/2.34, allocations: 14.19 MB / 0.983 GB, free: 162.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/2.34, allocations: 3.969 kB / 0.983 GB, free: 162.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.009604/2.35, allocations: 6.162 MB / 0.989 GB, free: 160.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006509/2.356, allocations: 0.8809 MB / 0.9899 GB, free: 160 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03407/2.39, allocations: 20.3 MB / 1.01 GB, free: 143.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007512/2.398, allocations: 5.266 MB / 1.015 GB, free: 139.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00706/2.405, allocations: 3.014 MB / 1.018 GB, free: 136.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002129/2.407, allocations: 387.4 kB / 1.018 GB, free: 136.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.863e-06/2.407, allocations: 0 / 1.018 GB, free: 136.2 MB / 0.545 GB Notification: Performance of Templates: time 0.1638/2.571, allocations: 112.9 MB / 1.128 GB, free: 23.84 MB / 0.545 GB " [Timeout remaining time 657] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat","/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_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: 10.216263751033694]