Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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.001627/0.001627, allocations: 115.6 kB / 20.43 MB, free: 1.465 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.002161/0.002161, allocations: 212 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.496/1.496, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.Fourbar2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002415/0.002415, allocations: 47.92 kB / 378.3 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2756, allocations: 53.37 MB / 431.6 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2): time 0.01696/0.2926, allocations: 15.07 MB / 446.7 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01141/0.304, allocations: 4.866 MB / 451.6 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00222/0.3062, allocations: 107.5 kB / 451.7 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005994/0.3122, allocations: 3.227 MB / 454.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00607/0.3183, allocations: 2.607 MB / 457.5 MB, free: 12.97 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002142/0.3204, allocations: 0.975 MB / 458.5 MB, free: 11.99 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01064/0.3311, allocations: 7.068 MB / 465.5 MB, free: 4.914 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005539/0.3366, allocations: 3.57 MB / 469.1 MB, free: 1.277 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003612/0.3402, allocations: 2.258 MB / 471.4 MB, free: 15.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005202/0.3454, allocations: 3.509 MB / 474.9 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001345/0.3468, allocations: 487.9 kB / 475.4 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003106/0.3499, allocations: 1.537 MB / 476.9 MB, free: 9.477 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003416/0.3533, allocations: 2.917 MB / 479.8 MB, free: 6.551 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00462/0.3579, allocations: 3.215 MB / 483 MB, free: 3.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01478/0.3727, allocations: 10.4 MB / 493.4 MB, free: 8.879 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.3727, allocations: 3.938 kB / 493.4 MB, free: 8.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3727, allocations: 4 kB / 493.4 MB, free: 8.871 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004555/0.3732, allocations: 0 / 493.4 MB, free: 8.871 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.01948/0.3927, allocations: 7.353 MB / 0.4891 GB, free: 1.441 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.3927, allocations: 12.03 kB / 0.4891 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01641/0.4091, allocations: 3.978 MB / 0.4929 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01113/0.4202, allocations: 4.044 MB / 0.4969 GB, free: 9.344 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000362/0.4206, allocations: 324.4 kB / 0.4972 GB, free: 9.023 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002269/0.4229, allocations: 439.6 kB / 0.4976 GB, free: 8.594 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03039/0.4533, allocations: 15.71 MB / 0.513 GB, free: 7.949 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001945/0.4535, allocations: 59.56 kB / 0.513 GB, free: 7.891 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007378/0.4542, allocations: 203.8 kB / 0.5132 GB, free: 7.691 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005278/0.4595, allocations: 3.219 MB / 0.5164 GB, free: 4.469 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02893/0.4884, allocations: 14.12 MB / 0.5302 GB, free: 6.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3077/0.7961, allocations: 57.39 MB / 0.5862 GB, free: 53.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01162/0.8077, allocations: 5.363 MB / 0.5914 GB, free: 48.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003439/0.8111, allocations: 3.337 MB / 0.5947 GB, free: 45.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01809/0.8292, allocations: 12.64 MB / 0.607 GB, free: 32.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.8293, allocations: 64.56 kB / 0.6071 GB, free: 32.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=289): time 4.659e-06/0.8293, allocations: 4 kB / 0.6071 GB, free: 32.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=339): time 0.1394/0.9687, allocations: 42.5 MB / 0.6486 GB, free: 6.617 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002309/0.9689, allocations: 221.9 kB / 0.6488 GB, free: 6.355 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009792/0.9787, allocations: 5.484 MB / 0.6542 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008937/0.9796, allocations: 69.7 kB / 0.6542 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00396/0.9836, allocations: 4.534 MB / 0.6587 GB, free: 12.55 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001927/0.9855, allocations: 1.318 MB / 0.66 GB, free: 11.23 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003119/0.9886, allocations: 1.861 MB / 0.6618 GB, free: 9.352 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.9888, allocations: 301.1 kB / 0.6621 GB, free: 9.055 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008017/0.9968, allocations: 4.808 MB / 0.6668 GB, free: 4.238 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01312/1.01, allocations: 9.806 MB / 0.6763 GB, free: 7.984 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02249/1.032, allocations: 15.57 MB / 0.6915 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001326/1.033, allocations: 48 kB / 0.6916 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1189) (initialization): time 0.04956/1.082, allocations: 19.55 MB / 0.7107 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001805/1.082, allocations: 80 kB / 0.7108 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000267/1.083, allocations: 172 kB / 0.7109 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02401/1.107, allocations: 5.948 MB / 0.7167 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008394/1.115, allocations: 2.113 MB / 0.7188 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2691/1.384, allocations: 25.94 MB / 0.7441 GB, free: 184.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008007/1.392, allocations: 0.5547 MB / 0.7447 GB, free: 184.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001831/1.394, allocations: 0.5139 MB / 0.7452 GB, free: 184.4 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 791 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1098): * Single equations (assignments): 1090 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005896/1.4, allocations: 3.095 MB / 0.7482 GB, free: 184.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001124/1.401, allocations: 0.5148 MB / 0.7487 GB, free: 184.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0302/1.431, allocations: 12.9 MB / 0.7613 GB, free: 180.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-05/1.431, allocations: 60.62 kB / 0.7614 GB, free: 180.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.858e-05/1.431, allocations: 6.906 kB / 0.7614 GB, free: 180.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.673e-05/1.431, allocations: 14.91 kB / 0.7614 GB, free: 180.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04682/1.478, allocations: 24.44 MB / 0.7852 GB, free: 167.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-05/1.478, allocations: 8 kB / 0.7853 GB, free: 167.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003094/1.481, allocations: 0.582 MB / 0.7858 GB, free: 166.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01804/1.499, allocations: 4.964 MB / 0.7907 GB, free: 162 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007828/1.5, allocations: 59.98 kB / 0.7907 GB, free: 161.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02353/1.524, allocations: 21.15 MB / 0.8114 GB, free: 140.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/1.524, allocations: 8.688 kB / 0.8114 GB, free: 140.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03157/1.555, allocations: 17.45 MB / 0.8284 GB, free: 123.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001307/1.556, allocations: 492.5 kB / 0.8289 GB, free: 123 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001259/1.558, allocations: 59.94 kB / 0.829 GB, free: 122.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003221/1.561, allocations: 267.1 kB / 0.8292 GB, free: 122.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007752/1.562, allocations: 204.1 kB / 0.8294 GB, free: 122.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003436/1.562, allocations: 84.88 kB / 0.8295 GB, free: 122.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004632/1.567, allocations: 3.394 MB / 0.8328 GB, free: 119 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.567, allocations: 0 / 0.8328 GB, free: 119 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007503/1.574, allocations: 1.735 MB / 0.8345 GB, free: 117.3 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.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 (254): * Single equations (assignments): 246 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008102/1.575, allocations: 210.7 kB / 0.8347 GB, free: 117.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01397/1.589, allocations: 10.5 MB / 0.8449 GB, free: 106.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.589, allocations: 4 kB / 0.8449 GB, free: 106.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004741/1.594, allocations: 3.787 MB / 0.8486 GB, free: 102.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004122/1.598, allocations: 0.619 MB / 0.8493 GB, free: 102.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02184/1.62, allocations: 16.38 MB / 0.8652 GB, free: 85.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004299/1.624, allocations: 4.615 MB / 0.8697 GB, free: 81.15 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005592/1.63, allocations: 2.97 MB / 0.8726 GB, free: 78.17 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001247/1.631, allocations: 351.4 kB / 0.873 GB, free: 77.83 MB / 0.545 GB Notification: Performance of SimCode: time 9.32e-07/1.631, allocations: 0 / 0.873 GB, free: 77.83 MB / 0.545 GB Notification: Performance of Templates: time 0.3206/1.951, allocations: 80.21 MB / 0.9513 GB, free: 175.8 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar2/Fourbar2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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.739932702155784]