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.00188/0.00188, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.001992/0.001992, allocations: 160.8 kB / 24.27 MB, free: 160 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.555/1.555, allocations: 177 MB / 204.5 MB, free: 5.633 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.252e-06/1.252e-06, allocations: 0 / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.769e-05, allocations: 2.312 kB / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01802/0.01805, allocations: 13.02 MB / 285.2 MB, free: 4.746 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1415/0.1595, allocations: 4.761 MB / 290 MB, free: 14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002914/0.1624, allocations: 103.9 kB / 290.1 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009593/0.172, allocations: 4.487 MB / 294.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006889/0.1789, allocations: 2.25 MB / 296.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003172/0.1821, allocations: 1.232 MB / 298.1 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01113/0.1932, allocations: 6.803 MB / 304.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007304/0.2005, allocations: 4.72 MB / 309.6 MB, free: 8.547 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007949/0.2085, allocations: 3.299 MB / 312.9 MB, free: 6.672 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004843/0.2133, allocations: 3.212 MB / 316.1 MB, free: 3.809 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001497/0.2148, allocations: 0.5039 MB / 316.6 MB, free: 3.305 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003629/0.2184, allocations: 1.577 MB / 318.2 MB, free: 1.809 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003828/0.2223, allocations: 2.782 MB / 320.9 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00454/0.2268, allocations: 1.759 MB / 322.7 MB, free: 13.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01581/0.2426, allocations: 9.728 MB / 332.4 MB, free: 4.059 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2426, allocations: 4 kB / 332.4 MB, free: 4.055 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.2426, allocations: 0 / 332.4 MB, free: 4.055 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0003394/0.243, allocations: 0 / 332.4 MB, free: 4.055 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.02017/0.2631, allocations: 7.163 MB / 339.6 MB, free: 12.92 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.2632, allocations: 11.98 kB / 339.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01464/0.2778, allocations: 3.205 MB / 342.8 MB, free: 9.734 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01069/0.2885, allocations: 3.385 MB / 346.2 MB, free: 6.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003953/0.2889, allocations: 307.5 kB / 346.5 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001995/0.2909, allocations: 438.8 kB / 346.9 MB, free: 5.844 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02266/0.3136, allocations: 8.133 MB / 355.1 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001731/0.3137, allocations: 39.64 kB / 355.1 MB, free: 12.84 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005583/0.3143, allocations: 190.3 kB / 355.3 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003797/0.3181, allocations: 2.028 MB / 357.3 MB, free: 10.67 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01744/0.3355, allocations: 4.604 MB / 361.9 MB, free: 6.066 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07558/0.4111, allocations: 54.56 MB / 416.5 MB, free: 13.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01226/0.4234, allocations: 3.098 MB / 419.6 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00173/0.4251, allocations: 0.7541 MB / 420.3 MB, free: 9.938 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01176/0.4369, allocations: 4.69 MB / 425 MB, free: 5.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.801e-05/0.4369, allocations: 58.31 kB / 425.1 MB, free: 5.184 MB / 378.7 MB Notification: Performance of pre-optimization done (n=179): time 4.499e-06/0.4369, allocations: 0 / 425.1 MB, free: 5.184 MB / 378.7 MB Notification: Performance of matching and sorting (n=223): time 0.1639/0.6008, allocations: 15.71 MB / 440.8 MB, free: 112.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/0.6008, allocations: 205.5 kB / 441 MB, free: 112 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005551/0.6064, allocations: 5.043 MB / 446 MB, free: 111.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002586/0.6066, allocations: 57.27 kB / 446.1 MB, free: 111.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002042/0.6087, allocations: 4.071 MB / 450.2 MB, free: 109.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009435/0.6096, allocations: 0.959 MB / 451.1 MB, free: 108.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001746/0.6114, allocations: 1.724 MB / 452.8 MB, free: 108 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.562e-05/0.6114, allocations: 484.5 kB / 453.3 MB, free: 107.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001637/0.6131, allocations: 0.882 MB / 454.2 MB, free: 107.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003264/0.6163, allocations: 6.778 MB / 461 MB, free: 99.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005851/0.6222, allocations: 8.451 MB / 469.4 MB, free: 90.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001099/0.6223, allocations: 38.5 kB / 469.5 MB, free: 90.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01311/0.6354, allocations: 6.629 MB / 476.1 MB, free: 86.78 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.956e-05/0.6355, allocations: 64 kB / 476.2 MB, free: 86.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.682e-05/0.6356, allocations: 132 kB / 476.3 MB, free: 86.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004021/0.6396, allocations: 1.056 MB / 477.3 MB, free: 85.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003991/0.6436, allocations: 1.466 MB / 478.8 MB, free: 84.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007266/0.6509, allocations: 5.073 MB / 483.9 MB, free: 78.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005033/0.6559, allocations: 411.4 kB / 484.3 MB, free: 78.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006899/0.6566, allocations: 386.8 kB / 484.7 MB, free: 78.11 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.002391/0.659, allocations: 0.7969 MB / 485.5 MB, free: 77.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001015/0.66, allocations: 453.4 kB / 485.9 MB, free: 76.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005864/0.6658, allocations: 2.392 MB / 488.3 MB, free: 74.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-05/0.6659, allocations: 24 kB / 488.3 MB, free: 74.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.6659, allocations: 8 kB / 488.3 MB, free: 74.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-05/0.6659, allocations: 7.969 kB / 488.3 MB, free: 74.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01754/0.6834, allocations: 8.4 MB / 496.7 MB, free: 65.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/0.6835, allocations: 8 kB / 496.7 MB, free: 65.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/0.6848, allocations: 320.1 kB / 497 MB, free: 65.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003766/0.6886, allocations: 0.8501 MB / 497.9 MB, free: 64.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002261/0.6888, allocations: 36 kB / 497.9 MB, free: 64.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006026/0.6948, allocations: 3.956 MB / 0.4901 GB, free: 60.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.6948, allocations: 12.02 kB / 0.4901 GB, free: 60.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007651/0.7025, allocations: 3.845 MB / 0.4939 GB, free: 56.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001506/0.704, allocations: 389.3 kB / 0.4943 GB, free: 56.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006033/0.7046, allocations: 51.81 kB / 0.4943 GB, free: 56.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00183/0.7064, allocations: 151.8 kB / 0.4945 GB, free: 56.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003415/0.7068, allocations: 152.9 kB / 0.4946 GB, free: 55.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/0.7069, allocations: 64 kB / 0.4947 GB, free: 55.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002864/0.7098, allocations: 2.082 MB / 0.4967 GB, free: 53.81 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7098, allocations: 0 / 0.4967 GB, free: 53.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006246/0.716, allocations: 1.316 MB / 0.498 GB, free: 52.5 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.000646/0.7167, allocations: 238.4 kB / 0.4982 GB, free: 52.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006565/0.7232, allocations: 3.971 MB / 0.5021 GB, free: 48.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.7232, allocations: 4 kB / 0.5021 GB, free: 48.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001732/0.725, allocations: 1.191 MB / 0.5033 GB, free: 47.08 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003068/0.728, allocations: 0.4998 MB / 0.5037 GB, free: 46.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/0.7413, allocations: 9.31 MB / 0.5128 GB, free: 37.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002822/0.7441, allocations: 3.047 MB / 0.5158 GB, free: 34.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003398/0.7475, allocations: 1.63 MB / 0.5174 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006727/0.7482, allocations: 256.5 kB / 0.5176 GB, free: 32.16 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.7482, allocations: 0 / 0.5176 GB, free: 32.16 MB / 378.7 MB Notification: Performance of Templates: time 0.07108/0.8193, allocations: 39.96 MB / 0.5567 GB, free: 8.777 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 240] 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.965600706986152]