Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 107.5 kB / 20.43 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 190.2 kB / 23.7 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 47.92 kB / 370.9 MB, free: 9.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2888, allocations: 52.19 MB / 423.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.01963/0.3084, allocations: 15.73 MB / 438.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01672/0.3251, allocations: 5.848 MB / 444.6 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005027/0.3301, allocations: 167.1 kB / 444.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01312/0.3433, allocations: 6.102 MB / 450.9 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00879/0.3521, allocations: 2.934 MB / 453.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006134/0.3582, allocations: 2.261 MB / 456.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01502/0.3732, allocations: 9.505 MB / 465.6 MB, free: 3.844 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01147/0.3847, allocations: 6.205 MB / 471.8 MB, free: 13.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007328/0.392, allocations: 3.261 MB / 475.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00797/0.4, allocations: 4.163 MB / 479.2 MB, free: 6.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00238/0.4024, allocations: 0.7148 MB / 480 MB, free: 5.379 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004819/0.4072, allocations: 1.814 MB / 481.8 MB, free: 3.562 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005334/0.4125, allocations: 3.896 MB / 485.7 MB, free: 15.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006483/0.419, allocations: 3.159 MB / 488.8 MB, free: 12.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01738/0.4364, allocations: 13.33 MB / 0.4904 GB, free: 15.1 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4364, allocations: 3.938 kB / 0.4904 GB, free: 15.1 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4364, allocations: 0 / 0.4904 GB, free: 15.1 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003906/0.4368, allocations: 0 / 0.4904 GB, free: 15.1 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.02125/0.458, allocations: 9.069 MB / 0.4992 GB, free: 5.953 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.4581, allocations: 8.031 kB / 0.4993 GB, free: 5.945 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04661/0.5047, allocations: 4.899 MB / 0.504 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02001/0.5247, allocations: 6.42 MB / 0.5103 GB, free: 10.53 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000421/0.5251, allocations: 439.7 kB / 0.5107 GB, free: 10.1 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002396/0.5275, allocations: 0.5858 MB / 0.5113 GB, free: 9.516 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0347/0.5622, allocations: 17.28 MB / 0.5282 GB, free: 7.234 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000262/0.5625, allocations: 83.42 kB / 0.5282 GB, free: 7.152 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008462/0.5633, allocations: 267.8 kB / 0.5285 GB, free: 6.891 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00469/0.568, allocations: 2.654 MB / 0.5311 GB, free: 4.227 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4874/1.055, allocations: 14.74 MB / 0.5455 GB, free: 96.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05822/1.114, allocations: 59.36 MB / 0.6035 GB, free: 40.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02077/1.134, allocations: 8.037 MB / 0.6113 GB, free: 32.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004607/1.139, allocations: 4.736 MB / 0.6159 GB, free: 27.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02247/1.161, allocations: 16.93 MB / 0.6325 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.827e-05/1.162, allocations: 64.56 kB / 0.6325 GB, free: 10.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=281): time 7.013e-06/1.162, allocations: 0 / 0.6325 GB, free: 10.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=374): time 0.2681/1.43, allocations: 74.32 MB / 0.7051 GB, free: 0.5781 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002548/1.43, allocations: 380.6 kB / 0.7055 GB, free: 128 kB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009666/1.44, allocations: 6.124 MB / 0.7114 GB, free: 10.2 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001236/1.441, allocations: 77.7 kB / 0.7115 GB, free: 10.11 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.004206/1.445, allocations: 4.98 MB / 0.7164 GB, free: 5.09 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002346/1.447, allocations: 1.434 MB / 0.7178 GB, free: 3.645 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003299/1.451, allocations: 1.991 MB / 0.7197 GB, free: 1.641 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001347/1.451, allocations: 313 kB / 0.72 GB, free: 1.332 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008897/1.46, allocations: 5.988 MB / 0.7259 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2639/1.724, allocations: 11.22 MB / 0.7368 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01955/1.743, allocations: 17.96 MB / 0.7544 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002749/1.743, allocations: 53.94 kB / 0.7544 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.04389/1.787, allocations: 23.25 MB / 0.7771 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002524/1.787, allocations: 80 kB / 0.7772 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003364/1.788, allocations: 172 kB / 0.7774 GB, free: 152.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0212/1.809, allocations: 7.431 MB / 0.7846 GB, free: 146.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007272/1.816, allocations: 2.195 MB / 0.7868 GB, free: 144.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04449/1.861, allocations: 37.3 MB / 0.8232 GB, free: 107.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008868/1.87, allocations: 0.7446 MB / 0.8239 GB, free: 106.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001288/1.871, allocations: 0.5271 MB / 0.8244 GB, free: 105.9 MB / 0.5294 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.005108/1.876, allocations: 3.435 MB / 0.8278 GB, free: 102.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001233/1.877, allocations: 0.5704 MB / 0.8284 GB, free: 102.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03014/1.907, allocations: 16.83 MB / 0.8448 GB, free: 85.38 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.017e-05/1.908, allocations: 55.75 kB / 0.8448 GB, free: 85.32 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-05/1.908, allocations: 16 kB / 0.8449 GB, free: 85.31 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.713e-05/1.908, allocations: 19.92 kB / 0.8449 GB, free: 85.29 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04933/1.957, allocations: 29.38 MB / 0.8736 GB, free: 55.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.821e-05/1.957, allocations: 7.625 kB / 0.8736 GB, free: 55.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003104/1.96, allocations: 0.6047 MB / 0.8742 GB, free: 55.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01961/1.98, allocations: 7.008 MB / 0.881 GB, free: 48.03 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007567/1.98, allocations: 64 kB / 0.8811 GB, free: 47.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04057/2.021, allocations: 35.54 MB / 0.9158 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/2.021, allocations: 4 kB / 0.9158 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.258/2.279, allocations: 24.51 MB / 0.9397 GB, free: 179.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001866/2.281, allocations: 0.5249 MB / 0.9402 GB, free: 179.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001465/2.282, allocations: 64.09 kB / 0.9403 GB, free: 179.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004331/2.287, allocations: 442.4 kB / 0.9407 GB, free: 179.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001045/2.288, allocations: 263.8 kB / 0.941 GB, free: 179.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003501/2.288, allocations: 97.41 kB / 0.9411 GB, free: 179.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004609/2.293, allocations: 3.654 MB / 0.9446 GB, free: 179 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/2.293, allocations: 0 / 0.9446 GB, free: 179 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008582/2.301, allocations: 2.286 MB / 0.9469 GB, free: 178.8 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.001088/2.302, allocations: 284.1 kB / 0.9471 GB, free: 178.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01941/2.322, allocations: 14.19 MB / 0.961 GB, free: 173.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/2.322, allocations: 3.938 kB / 0.961 GB, free: 173.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008578/2.33, allocations: 6.166 MB / 0.967 GB, free: 170.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004444/2.335, allocations: 0.8035 MB / 0.9678 GB, free: 170.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02679/2.362, allocations: 20.27 MB / 0.9876 GB, free: 154.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00533/2.367, allocations: 4.792 MB / 0.9923 GB, free: 150.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006212/2.373, allocations: 2.972 MB / 0.9952 GB, free: 148.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001673/2.375, allocations: 354.8 kB / 0.9955 GB, free: 148.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.323e-06/2.375, allocations: 3.094 kB / 0.9955 GB, free: 148.5 MB / 0.545 GB Notification: Performance of Templates: time 0.1369/2.512, allocations: 112.7 MB / 1.106 GB, free: 37.84 MB / 0.545 GB " [Timeout remaining time 657] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarFourbar/PlanarFourbar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 9.78309858031571]