Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001689/0.001689, allocations: 82.5 kB / 21.99 MB, free: 4.754 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.001755/0.001755, allocations: 153.8 kB / 25.24 MB, free: 2.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 158.6 MB / 187 MB, free: 6.359 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 59.86 kB / 299.4 MB, free: 6.859 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2129, allocations: 49.15 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.01904/0.2319, allocations: 16.04 MB / 364.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01264/0.2446, allocations: 5.964 MB / 370.5 MB, free: 9.438 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00287/0.2474, allocations: 171.1 kB / 370.7 MB, free: 9.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01179/0.2592, allocations: 6.102 MB / 376.8 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007538/0.2668, allocations: 2.957 MB / 379.7 MB, free: 184 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005047/0.2718, allocations: 2.257 MB / 382 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01274/0.2846, allocations: 8.846 MB / 390.8 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009191/0.2937, allocations: 6.201 MB / 397.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006306/0.3, allocations: 3.288 MB / 400.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007001/0.307, allocations: 4.182 MB / 404.5 MB, free: 7.258 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001856/0.3089, allocations: 0.7148 MB / 405.2 MB, free: 6.543 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003837/0.3127, allocations: 1.814 MB / 407 MB, free: 4.727 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004353/0.3171, allocations: 3.908 MB / 411 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004811/0.3219, allocations: 3.175 MB / 414.1 MB, free: 13.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01607/0.338, allocations: 13.35 MB / 427.5 MB, free: 220 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.258e-06/0.338, allocations: 0 / 427.5 MB, free: 220 kB / 382.1 MB Notification: Performance of FrontEnd: time 3.327e-06/0.338, allocations: 0 / 427.5 MB, free: 220 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005737/0.3386, allocations: 4 kB / 427.5 MB, free: 216 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2349 * Number of variables: 2349 Notification: Performance of Generate backend data structure: time 0.02367/0.3622, allocations: 9.097 MB / 436.6 MB, free: 7.031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.3623, allocations: 15.98 kB / 436.6 MB, free: 7.016 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0502/0.4125, allocations: 5.048 MB / 441.6 MB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01683/0.4293, allocations: 6.647 MB / 448.3 MB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000391/0.4297, allocations: 435.7 kB / 448.7 MB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002184/0.4319, allocations: 0.5857 MB / 449.3 MB, free: 10.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03334/0.4652, allocations: 17.29 MB / 466.6 MB, free: 7.922 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002422/0.4655, allocations: 87.38 kB / 466.7 MB, free: 7.836 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007438/0.4662, allocations: 271.8 kB / 466.9 MB, free: 7.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004731/0.4709, allocations: 2.654 MB / 469.6 MB, free: 4.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3441/0.815, allocations: 14.76 MB / 484.4 MB, free: 97.71 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06075/0.8757, allocations: 59.63 MB / 0.5312 GB, free: 41.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02063/0.8964, allocations: 8.282 MB / 0.5393 GB, free: 33.09 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004425/0.9008, allocations: 4.726 MB / 0.5439 GB, free: 28.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02125/0.922, allocations: 17.01 MB / 0.5606 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.701e-05/0.9221, allocations: 64.56 kB / 0.5606 GB, free: 11.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=281): time 6.712e-06/0.9221, allocations: 3.812 kB / 0.5606 GB, free: 11.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=374): time 0.2703/1.192, allocations: 76.51 MB / 0.6353 GB, free: 15.3 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002293/1.193, allocations: 376.6 kB / 0.6357 GB, free: 14.86 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008765/1.201, allocations: 6.172 MB / 0.6417 GB, free: 8.887 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0008483/1.202, allocations: 81.7 kB / 0.6418 GB, free: 8.801 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003946/1.206, allocations: 4.976 MB / 0.6467 GB, free: 3.781 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002006/1.208, allocations: 1.438 MB / 0.6481 GB, free: 2.332 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003322/1.211, allocations: 1.995 MB / 0.65 GB, free: 332 kB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001275/1.212, allocations: 309 kB / 0.6503 GB, free: 20 kB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009219/1.221, allocations: 5.996 MB / 0.6562 GB, free: 10.02 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1915/1.412, allocations: 11.22 MB / 0.6671 GB, free: 175.8 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01779/1.43, allocations: 17.96 MB / 0.6847 GB, free: 164.6 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002066/1.43, allocations: 49.28 kB / 0.6847 GB, free: 164.6 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.04329/1.474, allocations: 23.24 MB / 0.7074 GB, free: 154 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001177/1.474, allocations: 80.19 kB / 0.7075 GB, free: 153.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001737/1.474, allocations: 176 kB / 0.7077 GB, free: 153.7 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02133/1.495, allocations: 7.432 MB / 0.7149 GB, free: 147.5 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007103/1.502, allocations: 2.195 MB / 0.7171 GB, free: 145.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04189/1.544, allocations: 37.3 MB / 0.7535 GB, free: 107.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008455/1.553, allocations: 0.7489 MB / 0.7542 GB, free: 107.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001584/1.554, allocations: 0.5195 MB / 0.7547 GB, free: 106.7 MB / 0.5138 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.005071/1.559, allocations: 3.44 MB / 0.7581 GB, free: 103.3 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001254/1.561, allocations: 0.5665 MB / 0.7586 GB, free: 103.1 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03019/1.591, allocations: 16.83 MB / 0.7751 GB, free: 86.19 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.454e-05/1.591, allocations: 48 kB / 0.7751 GB, free: 86.14 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.938e-05/1.591, allocations: 20 kB / 0.7751 GB, free: 86.12 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.266e-05/1.591, allocations: 19.92 kB / 0.7752 GB, free: 86.1 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04748/1.638, allocations: 29.44 MB / 0.8039 GB, free: 56.42 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-05/1.638, allocations: 0 / 0.8039 GB, free: 56.42 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003141/1.642, allocations: 0.6086 MB / 0.8045 GB, free: 55.81 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01982/1.661, allocations: 7.004 MB / 0.8114 GB, free: 48.79 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007788/1.662, allocations: 63.98 kB / 0.8114 GB, free: 48.73 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04017/1.702, allocations: 35.54 MB / 0.8461 GB, free: 13.09 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.702, allocations: 8 kB / 0.8461 GB, free: 13.09 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2091/1.911, allocations: 24.51 MB / 0.8701 GB, free: 164.7 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003603/1.915, allocations: 1.558 MB / 0.8716 GB, free: 164.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009851/1.916, allocations: 68.73 kB / 0.8717 GB, free: 164.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00413/1.92, allocations: 442.1 kB / 0.8721 GB, free: 164.2 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009619/1.921, allocations: 263.1 kB / 0.8723 GB, free: 164.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000354/1.922, allocations: 99.66 kB / 0.8724 GB, free: 164.1 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004205/1.926, allocations: 3.695 MB / 0.876 GB, free: 162.9 MB / 0.5138 GB Notification: Performance of sort global known variables: time 8e-08/1.926, allocations: 0 / 0.876 GB, free: 162.9 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.007303/1.933, allocations: 2.285 MB / 0.8783 GB, free: 162.7 MB / 0.5138 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.0007582/1.934, allocations: 280.9 kB / 0.8785 GB, free: 162.5 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01747/1.951, allocations: 14.2 MB / 0.8924 GB, free: 156.2 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/1.951, allocations: 0 / 0.8924 GB, free: 156.2 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.008386/1.96, allocations: 6.156 MB / 0.8984 GB, free: 150.9 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005015/1.965, allocations: 0.8028 MB / 0.8992 GB, free: 150.2 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02475/1.989, allocations: 20.37 MB / 0.9191 GB, free: 131.5 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004858/1.994, allocations: 4.808 MB / 0.9238 GB, free: 126.7 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005675/2, allocations: 2.967 MB / 0.9267 GB, free: 123.9 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001403/2.001, allocations: 364.4 kB / 0.927 GB, free: 123.5 MB / 0.5138 GB Notification: Performance of SimCode: time 7.21e-07/2.001, allocations: 0 / 0.927 GB, free: 123.5 MB / 0.5138 GB Notification: Performance of Templates: time 0.129/2.13, allocations: 104.9 MB / 1.029 GB, free: 18.34 MB / 0.5138 GB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarFourbar/PlanarFourbar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 8.935740716056898]