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.001805/0.001805, allocations: 107 kB / 21.18 MB, free: 0.6484 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.00237/0.00237, allocations: 213.3 kB / 24.48 MB, free: 3.941 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.706/1.706, allocations: 230.6 MB / 258.2 MB, free: 7.742 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.001598/0.001598, allocations: 47.92 kB / 379 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3458, allocations: 53.36 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.02296/0.3687, allocations: 15.6 MB / 447.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01948/0.3882, allocations: 5.835 MB / 453.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006544/0.3947, allocations: 175.1 kB / 453.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01386/0.4086, allocations: 6.071 MB / 460 MB, free: 10.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01164/0.4202, allocations: 2.899 MB / 462.9 MB, free: 8.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007168/0.4274, allocations: 2.249 MB / 465.2 MB, free: 5.766 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0199/0.4473, allocations: 9.726 MB / 474.9 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01208/0.4594, allocations: 6.232 MB / 481.1 MB, free: 5.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009837/0.4692, allocations: 3.253 MB / 484.4 MB, free: 2.434 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01115/0.4804, allocations: 4.472 MB / 488.8 MB, free: 13.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0043/0.4847, allocations: 0.7109 MB / 489.6 MB, free: 13.24 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008377/0.4931, allocations: 1.814 MB / 491.4 MB, free: 11.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008496/0.5015, allocations: 3.888 MB / 495.3 MB, free: 7.523 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01118/0.5127, allocations: 3.139 MB / 498.4 MB, free: 4.367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02701/0.5397, allocations: 13.29 MB / 0.4997 GB, free: 7.031 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.5398, allocations: 0 / 0.4997 GB, free: 7.031 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5398, allocations: 0 / 0.4997 GB, free: 7.031 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005341/0.5403, allocations: 0 / 0.4997 GB, free: 7.031 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.02888/0.5692, allocations: 9.075 MB / 0.5086 GB, free: 13.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.5692, allocations: 8.031 kB / 0.5086 GB, free: 13.87 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04748/0.6167, allocations: 4.888 MB / 0.5133 GB, free: 8.969 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02165/0.6384, allocations: 6.327 MB / 0.5195 GB, free: 2.555 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006937/0.639, allocations: 439.6 kB / 0.5199 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004059/0.6431, allocations: 0.5811 MB / 0.5205 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6948/1.338, allocations: 17.26 MB / 0.5374 GB, free: 91.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005722/1.338, allocations: 78.69 kB / 0.5374 GB, free: 91.37 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002602/1.341, allocations: 269.9 kB / 0.5377 GB, free: 91.37 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006319/1.347, allocations: 2.657 MB / 0.5403 GB, free: 91.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03159/1.379, allocations: 14.75 MB / 0.5547 GB, free: 85.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07524/1.454, allocations: 59.35 MB / 0.6126 GB, free: 25.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02069/1.475, allocations: 8.034 MB / 0.6205 GB, free: 17.53 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004966/1.48, allocations: 4.733 MB / 0.6251 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03103/1.511, allocations: 16.93 MB / 0.6416 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.179e-05/1.511, allocations: 64.55 kB / 0.6417 GB, free: 11.89 MB / 462.1 MB Notification: Performance of pre-optimization done (n=281): time 7.514e-06/1.511, allocations: 0 / 0.6417 GB, free: 11.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=374): time 0.2807/1.792, allocations: 74.32 MB / 0.7143 GB, free: 1.949 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00041/1.792, allocations: 376.6 kB / 0.7146 GB, free: 1.5 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01667/1.809, allocations: 6.119 MB / 0.7206 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.002154/1.811, allocations: 85.7 kB / 0.7207 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.007043/1.818, allocations: 4.968 MB / 0.7256 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.004108/1.822, allocations: 1.442 MB / 0.727 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005407/1.828, allocations: 1.987 MB / 0.7289 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001667/1.828, allocations: 305.4 kB / 0.7292 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01039/1.838, allocations: 5.992 MB / 0.735 GB, free: 12.71 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3566/2.195, allocations: 11.22 MB / 0.746 GB, free: 183 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02414/2.219, allocations: 17.96 MB / 0.7635 GB, free: 171.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002597/2.219, allocations: 47.38 kB / 0.7636 GB, free: 171.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.05204/2.271, allocations: 23.25 MB / 0.7863 GB, free: 162.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001914/2.271, allocations: 80 kB / 0.7864 GB, free: 162.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003805/2.272, allocations: 172 kB / 0.7865 GB, free: 161.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02343/2.295, allocations: 7.433 MB / 0.7938 GB, free: 155.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009067/2.304, allocations: 2.191 MB / 0.7959 GB, free: 153.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04636/2.35, allocations: 37.31 MB / 0.8324 GB, free: 116.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01197/2.362, allocations: 0.7441 MB / 0.8331 GB, free: 115.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002786/2.365, allocations: 0.5273 MB / 0.8336 GB, free: 115 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.009866/2.375, allocations: 3.431 MB / 0.837 GB, free: 111.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002946/2.378, allocations: 0.5608 MB / 0.8375 GB, free: 111.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03656/2.415, allocations: 16.83 MB / 0.854 GB, free: 94.55 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001264/2.415, allocations: 51.94 kB / 0.854 GB, free: 94.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001061/2.415, allocations: 20 kB / 0.854 GB, free: 94.48 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001566/2.415, allocations: 19.92 kB / 0.854 GB, free: 94.46 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07053/2.486, allocations: 29.39 MB / 0.8827 GB, free: 64.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.869e-05/2.486, allocations: 4 kB / 0.8828 GB, free: 64.83 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003879/2.49, allocations: 0.6084 MB / 0.8833 GB, free: 64.22 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02089/2.51, allocations: 7.011 MB / 0.8902 GB, free: 57.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0011/2.511, allocations: 63.98 kB / 0.8903 GB, free: 57.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04463/2.556, allocations: 35.52 MB / 0.9249 GB, free: 21.53 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/2.556, allocations: 9.906 kB / 0.9249 GB, free: 21.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04488/2.601, allocations: 24.52 MB / 0.9489 GB, free: 12.93 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2758/2.877, allocations: 0.5199 MB / 0.9494 GB, free: 191.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002928/2.88, allocations: 61.89 kB / 0.9495 GB, free: 191.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006125/2.886, allocations: 450.4 kB / 0.9499 GB, free: 191.6 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001801/2.888, allocations: 259.4 kB / 0.9501 GB, free: 191.6 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004518/2.888, allocations: 93.09 kB / 0.9502 GB, free: 191.6 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.007461/2.896, allocations: 3.664 MB / 0.9538 GB, free: 191.4 MB / 0.5607 GB Notification: Performance of sort global known variables: time 9e-08/2.896, allocations: 0 / 0.9538 GB, free: 191.4 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.0128/2.908, allocations: 2.275 MB / 0.956 GB, free: 191.4 MB / 0.5607 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.001374/2.91, allocations: 289 kB / 0.9563 GB, free: 191.3 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.02174/2.931, allocations: 14.2 MB / 0.9702 GB, free: 187.6 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.52e-05/2.932, allocations: 3.812 kB / 0.9702 GB, free: 187.6 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.009725/2.941, allocations: 6.156 MB / 0.9762 GB, free: 185.1 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005327/2.947, allocations: 0.808 MB / 0.977 GB, free: 184.8 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03654/2.983, allocations: 20.26 MB / 0.9967 GB, free: 169.2 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007192/2.99, allocations: 4.792 MB / 1.001 GB, free: 165.7 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.007617/2.998, allocations: 2.972 MB / 1.004 GB, free: 163.9 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001787/3, allocations: 358.8 kB / 1.005 GB, free: 163.5 MB / 0.5607 GB Notification: Performance of SimCode: time 1.142e-06/3, allocations: 3.812 kB / 1.005 GB, free: 163.5 MB / 0.5607 GB Notification: Performance of Templates: time 0.1779/3.178, allocations: 112.7 MB / 1.115 GB, free: 52.8 MB / 0.5607 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 -s cvode -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/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: 12.125195825996343]