Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001564/0.001564, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001696/0.001696, allocations: 160.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.58/1.58, allocations: 177 MB / 204.4 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.103e-05/3.299e-05, allocations: 2.312 kB / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01804/0.01807, allocations: 11.75 MB / 284 MB, free: 5.984 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01245/0.03053, allocations: 4.658 MB / 288.6 MB, free: 1.312 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002813/0.03334, allocations: 107.4 kB / 288.7 MB, free: 1.207 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1419/0.1752, allocations: 4.33 MB / 293 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006082/0.1813, allocations: 2.25 MB / 295.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002866/0.1842, allocations: 1.232 MB / 296.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008557/0.1927, allocations: 6.797 MB / 303.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00482/0.1975, allocations: 4.706 MB / 308 MB, free: 9.738 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004536/0.2021, allocations: 3.277 MB / 311.3 MB, free: 7.875 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003446/0.2055, allocations: 3.122 MB / 314.4 MB, free: 5.406 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007417/0.2063, allocations: 0.5078 MB / 314.9 MB, free: 4.898 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00226/0.2085, allocations: 1.579 MB / 316.5 MB, free: 3.398 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001697/0.2102, allocations: 2.768 MB / 319.3 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0024/0.2126, allocations: 1.753 MB / 321 MB, free: 15.05 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01317/0.2258, allocations: 9.75 MB / 330.8 MB, free: 5.652 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.2258, allocations: 0 / 330.8 MB, free: 5.652 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2258, allocations: 3.094 kB / 330.8 MB, free: 5.652 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002817/0.2261, allocations: 4 kB / 330.8 MB, free: 5.648 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.01806/0.2441, allocations: 6.186 MB / 337 MB, free: 15.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.2442, allocations: 11.98 kB / 337 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02106/0.2652, allocations: 3.277 MB / 340.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01456/0.2798, allocations: 3.701 MB / 344 MB, free: 8.727 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005538/0.2804, allocations: 304.4 kB / 344.3 MB, free: 8.461 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002774/0.2831, allocations: 444.2 kB / 344.7 MB, free: 8.066 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03795/0.3211, allocations: 12.59 MB / 357.3 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003574/0.3214, allocations: 52.72 kB / 357.3 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00192/0.3234, allocations: 193.6 kB / 357.5 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004084/0.3274, allocations: 2.035 MB / 359.6 MB, free: 8.711 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02709/0.3545, allocations: 10.63 MB / 370.2 MB, free: 14.26 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06716/0.4217, allocations: 41.29 MB / 411.5 MB, free: 4.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01467/0.4364, allocations: 4.396 MB / 415.9 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003527/0.4399, allocations: 1.94 MB / 417.8 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01398/0.4539, allocations: 6.05 MB / 423.9 MB, free: 7.672 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.699e-05/0.4539, allocations: 51.81 kB / 423.9 MB, free: 7.613 MB / 378.7 MB Notification: Performance of pre-optimization done (n=181): time 4.87e-06/0.4539, allocations: 0 / 423.9 MB, free: 7.613 MB / 378.7 MB Notification: Performance of matching and sorting (n=227): time 0.2089/0.6629, allocations: 25.51 MB / 449.4 MB, free: 116.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/0.6629, allocations: 210.4 kB / 449.6 MB, free: 116.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004474/0.6674, allocations: 4.424 MB / 454.1 MB, free: 114.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002449/0.6677, allocations: 64.22 kB / 454.1 MB, free: 114.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001366/0.669, allocations: 3.615 MB / 457.7 MB, free: 111.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005843/0.6696, allocations: 0.8831 MB / 458.6 MB, free: 111 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001345/0.6709, allocations: 1.325 MB / 460 MB, free: 110.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.684e-05/0.671, allocations: 305.1 kB / 460.3 MB, free: 109.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002944/0.6739, allocations: 2.55 MB / 462.8 MB, free: 107.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004035/0.678, allocations: 6.363 MB / 469.2 MB, free: 99.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00792/0.6859, allocations: 9.518 MB / 478.7 MB, free: 88.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.431e-05/0.686, allocations: 40 kB / 478.7 MB, free: 88.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.01645/0.7024, allocations: 10.67 MB / 489.4 MB, free: 77.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.883e-05/0.7025, allocations: 64 kB / 489.5 MB, free: 77.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001102/0.7026, allocations: 140 kB / 489.6 MB, free: 77.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005764/0.7084, allocations: 2.14 MB / 491.7 MB, free: 75.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004418/0.7128, allocations: 1.485 MB / 493.2 MB, free: 73.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/0.7243, allocations: 9.821 MB / 0.4912 GB, free: 63.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005518/0.7299, allocations: 441.5 kB / 0.4917 GB, free: 63.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008002/0.7307, allocations: 387.9 kB / 0.492 GB, free: 62.97 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * 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 (801): * Single equations (assignments): 797 * 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,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003618/0.7343, allocations: 2.489 MB / 0.4945 GB, free: 60.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0011/0.7354, allocations: 456.3 kB / 0.4949 GB, free: 60.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008533/0.7439, allocations: 4.965 MB / 0.4998 GB, free: 55.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.773e-05/0.744, allocations: 24 kB / 0.4998 GB, free: 55.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/0.744, allocations: 8 kB / 0.4998 GB, free: 55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/0.744, allocations: 7.969 kB / 0.4998 GB, free: 55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01714/0.7611, allocations: 10.17 MB / 0.5097 GB, free: 44.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.116e-05/0.7611, allocations: 8 kB / 0.5097 GB, free: 44.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001436/0.7626, allocations: 359.4 kB / 0.5101 GB, free: 44.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005373/0.768, allocations: 1.916 MB / 0.5119 GB, free: 42.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002363/0.7682, allocations: 44 kB / 0.512 GB, free: 42.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009792/0.778, allocations: 8.413 MB / 0.5202 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/0.778, allocations: 11.94 kB / 0.5202 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01164/0.7896, allocations: 8.151 MB / 0.5282 GB, free: 25.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/0.791, allocations: 405.2 kB / 0.5286 GB, free: 25.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001002/0.792, allocations: 44 kB / 0.5286 GB, free: 25.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002276/0.7943, allocations: 208.5 kB / 0.5288 GB, free: 25.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003877/0.7946, allocations: 160.8 kB / 0.529 GB, free: 24.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001554/0.7948, allocations: 63.94 kB / 0.529 GB, free: 24.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0031/0.7979, allocations: 2.631 MB / 0.5316 GB, free: 22.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7979, allocations: 0 / 0.5316 GB, free: 22.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005621/0.8035, allocations: 1.347 MB / 0.5329 GB, free: 20.81 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (179): * Single equations (assignments): 175 * 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,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007125/0.8042, allocations: 246.3 kB / 0.5331 GB, free: 20.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009656/0.8139, allocations: 5.882 MB / 0.5389 GB, free: 14.69 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/0.8139, allocations: 8.062 kB / 0.5389 GB, free: 14.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002499/0.8164, allocations: 1.952 MB / 0.5408 GB, free: 12.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004236/0.8206, allocations: 0.5033 MB / 0.5413 GB, free: 12.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02044/0.8411, allocations: 11.58 MB / 0.5526 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008122/0.8492, allocations: 3.356 MB / 0.5559 GB, free: 13.11 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.006399/0.8556, allocations: 1.908 MB / 0.5577 GB, free: 11.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001341/0.8569, allocations: 260.5 kB / 0.558 GB, free: 10.94 MB / 394.7 MB Notification: Performance of SimCode: time 1.873e-06/0.8569, allocations: 4 kB / 0.558 GB, free: 10.94 MB / 394.7 MB Notification: Performance of Templates: time 0.2054/1.062, allocations: 42.69 MB / 0.5997 GB, free: 99.72 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 6.932861016946845]