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.001933/0.001933, allocations: 88.83 kB / 20.68 MB, free: 1.02 MB / 14.72 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.002318/0.002318, allocations: 158.1 kB / 23.95 MB, free: 4.145 MB / 14.72 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.564/1.564, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 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.512e-06/1.512e-06, allocations: 3.938 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.295e-05/2.447e-05, allocations: 2.281 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.0155/0.01553, allocations: 11.76 MB / 336.8 MB, free: 8.434 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01136/0.02689, allocations: 4.656 MB / 341.4 MB, free: 4.598 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002914/0.02981, allocations: 103.5 kB / 341.5 MB, free: 4.496 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009298/0.0391, allocations: 4.279 MB / 345.8 MB, free: 204 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006897/0.046, allocations: 2.247 MB / 348.1 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003165/0.04917, allocations: 1.208 MB / 349.3 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01048/0.05965, allocations: 6.807 MB / 356.1 MB, free: 5.918 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007469/0.06712, allocations: 4.579 MB / 360.7 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00737/0.07449, allocations: 3.286 MB / 363.9 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005718/0.08021, allocations: 3.102 MB / 367 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00155/0.08176, allocations: 0.5039 MB / 367.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003765/0.08552, allocations: 1.58 MB / 369.1 MB, free: 8.777 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003677/0.0892, allocations: 2.759 MB / 371.9 MB, free: 6.012 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003939/0.09314, allocations: 1.753 MB / 373.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01293/0.1061, allocations: 9.694 MB / 383.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1061, allocations: 0 / 383.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1061, allocations: 0 / 383.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002777/0.1064, allocations: 0 / 383.3 MB, free: 10.53 MB / 350.1 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.01487/0.1212, allocations: 6.15 MB / 389.5 MB, free: 4.316 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.1213, allocations: 19.97 kB / 389.5 MB, free: 4.297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01216/0.1334, allocations: 2.7 MB / 392.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00872/0.1422, allocations: 3.686 MB / 395.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002721/0.1424, allocations: 304.2 kB / 396.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001128/0.1436, allocations: 440.4 kB / 396.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02344/0.167, allocations: 12.5 MB / 409.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001286/0.1671, allocations: 47.64 kB / 409.2 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005009/0.1676, allocations: 187.8 kB / 409.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003377/0.171, allocations: 2.039 MB / 411.4 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02142/0.1924, allocations: 10.54 MB / 421.9 MB, free: 3.027 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05394/0.2464, allocations: 40.99 MB / 462.9 MB, free: 8.887 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01367/0.26, allocations: 4.422 MB / 467.3 MB, free: 4.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002754/0.2628, allocations: 1.882 MB / 469.2 MB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1673/0.4301, allocations: 5.916 MB / 475.1 MB, free: 125.4 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.702e-05/0.4301, allocations: 56.19 kB / 475.2 MB, free: 125.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=179): time 5.33e-06/0.4301, allocations: 0 / 475.2 MB, free: 125.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=223): time 0.07014/0.5002, allocations: 20.48 MB / 495.7 MB, free: 119.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.5003, allocations: 208.8 kB / 495.9 MB, free: 119.1 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005211/0.5055, allocations: 4.459 MB / 0.4886 GB, free: 114.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000253/0.5058, allocations: 53.7 kB / 0.4887 GB, free: 114.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001331/0.5071, allocations: 3.649 MB / 0.4922 GB, free: 111.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005331/0.5076, allocations: 0.8675 MB / 0.4931 GB, free: 110.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001297/0.5089, allocations: 1.33 MB / 0.4944 GB, free: 109 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.509e-05/0.509, allocations: 305.1 kB / 0.4947 GB, free: 108.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002714/0.5117, allocations: 2.363 MB / 0.497 GB, free: 106.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003791/0.5155, allocations: 6.225 MB / 0.5031 GB, free: 98.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007153/0.5226, allocations: 9.171 MB / 0.512 GB, free: 87.15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-05/0.5227, allocations: 36 kB / 0.512 GB, free: 87.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01376/0.5364, allocations: 9.52 MB / 0.5213 GB, free: 77.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.671e-05/0.5365, allocations: 64 kB / 0.5214 GB, free: 77.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.993e-05/0.5366, allocations: 132 kB / 0.5215 GB, free: 77.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003973/0.5406, allocations: 1.37 MB / 0.5229 GB, free: 76.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004306/0.5449, allocations: 1.482 MB / 0.5243 GB, free: 74.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00997/0.5549, allocations: 8.263 MB / 0.5324 GB, free: 66.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005284/0.5601, allocations: 419.5 kB / 0.5328 GB, free: 65.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008028/0.5609, allocations: 384 kB / 0.5332 GB, free: 65.39 MB / 430.1 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.003275/0.5642, allocations: 2.49 MB / 0.5356 GB, free: 62.89 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007446/0.565, allocations: 389.4 kB / 0.536 GB, free: 62.51 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007376/0.5723, allocations: 4.08 MB / 0.5399 GB, free: 58.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.954e-05/0.5724, allocations: 24 kB / 0.54 GB, free: 58.39 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/0.5724, allocations: 8 kB / 0.54 GB, free: 58.38 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.161e-05/0.5724, allocations: 11.53 kB / 0.54 GB, free: 58.38 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01563/0.588, allocations: 8.737 MB / 0.5485 GB, free: 49.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.417e-05/0.5881, allocations: 8 kB / 0.5485 GB, free: 49.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001421/0.5895, allocations: 335.4 kB / 0.5488 GB, free: 49.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00361/0.5931, allocations: 1.152 MB / 0.55 GB, free: 48.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001682/0.5933, allocations: 40 kB / 0.55 GB, free: 48.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008529/0.6018, allocations: 6.968 MB / 0.5568 GB, free: 40.98 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.6018, allocations: 9.125 kB / 0.5568 GB, free: 40.97 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01017/0.612, allocations: 6.873 MB / 0.5635 GB, free: 34.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/0.6131, allocations: 406 kB / 0.5639 GB, free: 33.62 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004878/0.6136, allocations: 36 kB / 0.5639 GB, free: 33.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001928/0.6155, allocations: 159.8 kB / 0.5641 GB, free: 33.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004146/0.6159, allocations: 156.8 kB / 0.5642 GB, free: 33.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001495/0.6161, allocations: 64.06 kB / 0.5643 GB, free: 33.21 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003625/0.6197, allocations: 2.648 MB / 0.5669 GB, free: 30.55 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6197, allocations: 0 / 0.5669 GB, free: 30.55 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005876/0.6256, allocations: 1.316 MB / 0.5682 GB, free: 29.24 MB / 430.1 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.0006536/0.6262, allocations: 245.8 kB / 0.5684 GB, free: 29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007542/0.6338, allocations: 5.532 MB / 0.5738 GB, free: 23.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.96e-05/0.6338, allocations: 4 kB / 0.5738 GB, free: 23.47 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00234/0.6361, allocations: 1.754 MB / 0.5755 GB, free: 21.71 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003811/0.6399, allocations: 485.4 kB / 0.576 GB, free: 21.24 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01783/0.6578, allocations: 11.22 MB / 0.587 GB, free: 9.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003435/0.6612, allocations: 3.344 MB / 0.5902 GB, free: 6.523 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003897/0.6651, allocations: 1.9 MB / 0.5921 GB, free: 4.617 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007916/0.6659, allocations: 260.5 kB / 0.5923 GB, free: 4.363 MB / 430.1 MB Notification: Performance of SimCode: time 9.12e-07/0.6659, allocations: 4 kB / 0.5923 GB, free: 4.359 MB / 430.1 MB Notification: Performance of Templates: time 0.27/0.9359, allocations: 39.75 MB / 0.6311 GB, free: 140.9 MB / 462.1 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.878079529851675]