Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.002586/0.002586, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.003201/0.003201, allocations: 165.6 kB / 24.27 MB, free: 156 kB / 18.57 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.601/1.601, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 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.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 272.3 MB, free: 1.859 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.991e-05/3.197e-05, allocations: 2.312 kB / 272.3 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.0315/0.03153, allocations: 13.02 MB / 285.3 MB, free: 4.781 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1523/0.1839, allocations: 4.766 MB / 290.1 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00267/0.1865, allocations: 103.3 kB / 290.2 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009102/0.1956, allocations: 4.477 MB / 294.7 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006082/0.2017, allocations: 2.259 MB / 296.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002743/0.2045, allocations: 1.227 MB / 298.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008875/0.2133, allocations: 6.797 MB / 305 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00621/0.2195, allocations: 4.715 MB / 309.7 MB, free: 8.562 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006547/0.2261, allocations: 3.305 MB / 313 MB, free: 6.688 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004513/0.2306, allocations: 3.208 MB / 316.2 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001488/0.2321, allocations: 0.5078 MB / 316.7 MB, free: 3.336 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003565/0.2356, allocations: 1.574 MB / 318.3 MB, free: 1.844 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003388/0.239, allocations: 2.782 MB / 321.1 MB, free: 15.15 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004762/0.2438, allocations: 1.762 MB / 322.8 MB, free: 13.46 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0144/0.2582, allocations: 9.72 MB / 332.5 MB, free: 4.094 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.2582, allocations: 8 kB / 332.5 MB, free: 4.086 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2582, allocations: 0 / 332.5 MB, free: 4.086 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002597/0.2585, allocations: 3.984 kB / 332.5 MB, free: 4.082 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.01757/0.276, allocations: 7.161 MB / 339.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.2761, allocations: 8.031 kB / 339.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01393/0.29, allocations: 3.2 MB / 342.9 MB, free: 9.777 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009689/0.2997, allocations: 3.386 MB / 346.3 MB, free: 6.543 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003075/0.3, allocations: 308.3 kB / 346.6 MB, free: 6.273 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001552/0.3016, allocations: 437.7 kB / 347 MB, free: 5.887 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01956/0.3211, allocations: 8.134 MB / 355.2 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001611/0.3213, allocations: 51.58 kB / 355.2 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004963/0.3218, allocations: 185.3 kB / 355.4 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003484/0.3253, allocations: 2.036 MB / 357.4 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01537/0.3407, allocations: 4.593 MB / 362 MB, free: 6.105 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07175/0.4124, allocations: 54.56 MB / 416.6 MB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01207/0.4245, allocations: 3.1 MB / 419.7 MB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001753/0.4262, allocations: 0.7451 MB / 420.4 MB, free: 9.984 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01194/0.4382, allocations: 4.695 MB / 425.1 MB, free: 5.293 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.054e-05/0.4382, allocations: 61.27 kB / 425.2 MB, free: 5.227 MB / 378.7 MB Notification: Performance of pre-optimization done (n=179): time 4.488e-06/0.4382, allocations: 0 / 425.2 MB, free: 5.227 MB / 378.7 MB Notification: Performance of matching and sorting (n=223): time 0.2026/0.6408, allocations: 15.71 MB / 440.9 MB, free: 112.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.343e-05/0.6409, allocations: 204.1 kB / 441.1 MB, free: 112.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006261/0.6472, allocations: 5.039 MB / 446.1 MB, free: 111.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003777/0.6475, allocations: 59.31 kB / 446.2 MB, free: 111.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002284/0.6498, allocations: 4.07 MB / 450.3 MB, free: 109.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001004/0.6508, allocations: 0.956 MB / 451.2 MB, free: 109.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001817/0.6526, allocations: 1.724 MB / 452.9 MB, free: 108.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.505e-05/0.6527, allocations: 484.7 kB / 453.4 MB, free: 107.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/0.6544, allocations: 0.89 MB / 454.3 MB, free: 107.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003434/0.6579, allocations: 6.772 MB / 461.1 MB, free: 99.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006251/0.6641, allocations: 8.454 MB / 469.5 MB, free: 90.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000125/0.6643, allocations: 37.5 kB / 469.6 MB, free: 90.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01272/0.677, allocations: 6.626 MB / 476.2 MB, free: 86.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.998e-05/0.6771, allocations: 63.98 kB / 476.3 MB, free: 86.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001103/0.6772, allocations: 132.9 kB / 476.4 MB, free: 86.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004227/0.6814, allocations: 1.05 MB / 477.4 MB, free: 85.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004338/0.6857, allocations: 1.478 MB / 478.9 MB, free: 84.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008277/0.694, allocations: 5.062 MB / 484 MB, free: 78.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005461/0.6995, allocations: 407.4 kB / 484.4 MB, free: 78.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008229/0.7003, allocations: 396 kB / 484.8 MB, free: 78.21 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 46 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (804): * Single equations (assignments): 800 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,40,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002155/0.7024, allocations: 0.7937 MB / 485.6 MB, free: 77.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008652/0.7033, allocations: 449.4 kB / 486 MB, free: 76.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006028/0.7093, allocations: 2.392 MB / 488.4 MB, free: 74.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-05/0.7094, allocations: 27.83 kB / 488.4 MB, free: 74.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/0.7094, allocations: 12 kB / 488.4 MB, free: 74.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/0.7094, allocations: 11.95 kB / 488.4 MB, free: 74.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01663/0.726, allocations: 8.394 MB / 496.8 MB, free: 66.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/0.726, allocations: 4 kB / 496.8 MB, free: 66.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/0.7274, allocations: 323.5 kB / 497.1 MB, free: 65.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003828/0.7312, allocations: 0.8539 MB / 498 MB, free: 64.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001966/0.7314, allocations: 40 kB / 498 MB, free: 64.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006091/0.7375, allocations: 3.955 MB / 0.4902 GB, free: 60.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.7375, allocations: 8 kB / 0.4902 GB, free: 60.74 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00747/0.745, allocations: 3.852 MB / 0.494 GB, free: 56.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/0.746, allocations: 389.3 kB / 0.4944 GB, free: 56.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004646/0.7465, allocations: 36 kB / 0.4944 GB, free: 56.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001749/0.7482, allocations: 163.8 kB / 0.4946 GB, free: 56.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003194/0.7485, allocations: 156.8 kB / 0.4947 GB, free: 56.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/0.7487, allocations: 59.98 kB / 0.4948 GB, free: 56 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00258/0.7513, allocations: 2.082 MB / 0.4968 GB, free: 53.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.7513, allocations: 0 / 0.4968 GB, free: 53.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005113/0.7564, allocations: 1.32 MB / 0.4981 GB, free: 52.59 MB / 378.7 MB 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 (173): * Single equations (assignments): 169 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005995/0.757, allocations: 234.4 kB / 0.4983 GB, free: 52.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006217/0.7632, allocations: 3.965 MB / 0.5022 GB, free: 48.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/0.7632, allocations: 4 kB / 0.5022 GB, free: 48.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001815/0.765, allocations: 1.19 MB / 0.5034 GB, free: 47.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003535/0.7685, allocations: 0.5047 MB / 0.5038 GB, free: 46.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01455/0.7831, allocations: 9.305 MB / 0.5129 GB, free: 37.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003099/0.7862, allocations: 3.048 MB / 0.5159 GB, free: 34.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003539/0.7897, allocations: 1.631 MB / 0.5175 GB, free: 32.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007032/0.7904, allocations: 260.5 kB / 0.5177 GB, free: 32.25 MB / 378.7 MB Notification: Performance of SimCode: time 1.483e-06/0.7904, allocations: 0 / 0.5177 GB, free: 32.25 MB / 378.7 MB Notification: Performance of Templates: time 0.07182/0.8623, allocations: 39.97 MB / 0.5568 GB, free: 8.859 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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: 7.051364162005484]