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.0008872/0.0008872, allocations: 81.91 kB / 21.43 MB, free: 3.062 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.0009541/0.0009541, allocations: 162.7 kB / 24.82 MB, free: 9.262 MB / 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.028/1.028, allocations: 177 MB / 205.1 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] 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.613e-06/1.613e-06, allocations: 0 / 273.3 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.527e-05, allocations: 2.312 kB / 273.3 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01081/0.01083, allocations: 12.69 MB / 286 MB, free: 4.445 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1389/0.1497, allocations: 4.737 MB / 290.8 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002195/0.1519, allocations: 106.2 kB / 290.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005417/0.1573, allocations: 4.419 MB / 295.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004879/0.1622, allocations: 2.257 MB / 297.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.1641, allocations: 1.225 MB / 298.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007322/0.1714, allocations: 6.812 MB / 305.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004668/0.1761, allocations: 4.714 MB / 310.3 MB, free: 8.754 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006/0.1821, allocations: 4.279 MB / 314.6 MB, free: 5.742 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003617/0.1857, allocations: 3.188 MB / 317.8 MB, free: 2.809 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00105/0.1868, allocations: 0.5 MB / 318.3 MB, free: 2.309 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002252/0.189, allocations: 1.577 MB / 319.8 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001919/0.191, allocations: 2.782 MB / 322.6 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002513/0.1935, allocations: 1.759 MB / 324.4 MB, free: 12.44 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00706/0.2005, allocations: 6.088 MB / 330.5 MB, free: 6.711 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2005, allocations: 0 / 330.5 MB, free: 6.711 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2005, allocations: 4 kB / 330.5 MB, free: 6.707 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002494/0.2008, allocations: 3.188 kB / 330.5 MB, free: 6.707 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.008716/0.2095, allocations: 6.322 MB / 336.8 MB, free: 0.75 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.2095, allocations: 15.97 kB / 336.8 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005319/0.2149, allocations: 2.22 MB / 339 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004016/0.2189, allocations: 2.807 MB / 341.8 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001587/0.219, allocations: 311.4 kB / 342.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005614/0.2196, allocations: 432.4 kB / 342.6 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01054/0.2301, allocations: 6.621 MB / 349.2 MB, free: 3.984 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001552/0.2303, allocations: 47.58 kB / 349.2 MB, free: 3.938 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004245/0.2307, allocations: 195.7 kB / 349.4 MB, free: 3.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001609/0.2323, allocations: 1.826 MB / 351.2 MB, free: 1.922 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007721/0.24, allocations: 3.095 MB / 354.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04044/0.2805, allocations: 47.11 MB / 401.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005135/0.2856, allocations: 2.205 MB / 403.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000775/0.2864, allocations: 0.5023 MB / 404.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007048/0.2934, allocations: 4.264 MB / 408.4 MB, free: 7.168 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.2935, allocations: 58.33 kB / 408.5 MB, free: 7.102 MB / 362.7 MB Notification: Performance of pre-optimization done (n=165): time 4.649e-06/0.2935, allocations: 0 / 408.5 MB, free: 7.102 MB / 362.7 MB Notification: Performance of matching and sorting (n=207): time 0.02137/0.3149, allocations: 7.988 MB / 416.5 MB, free: 15.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.192e-05/0.3149, allocations: 205.2 kB / 416.7 MB, free: 14.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003826/0.3188, allocations: 3.916 MB / 420.6 MB, free: 10.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001149/0.3189, allocations: 53.7 kB / 420.6 MB, free: 10.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001914/0.3208, allocations: 3.904 MB / 424.5 MB, free: 6.949 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006374/0.3214, allocations: 0.849 MB / 425.4 MB, free: 6.094 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001398/0.3228, allocations: 1.455 MB / 426.9 MB, free: 4.625 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.3229, allocations: 476.8 kB / 427.3 MB, free: 4.156 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/0.324, allocations: 0.6102 MB / 427.9 MB, free: 3.543 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1504/0.4744, allocations: 6.466 MB / 434.4 MB, free: 105.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005943/0.4804, allocations: 7.698 MB / 442.1 MB, free: 97.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001751/0.4806, allocations: 38.78 kB / 442.1 MB, free: 97.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=866) (initialization): time 0.009783/0.4903, allocations: 5.275 MB / 447.4 MB, free: 96.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.962e-05/0.4904, allocations: 63.95 kB / 447.5 MB, free: 96.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002008/0.4906, allocations: 141 kB / 447.6 MB, free: 96.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/0.4918, allocations: 439 kB / 448 MB, free: 96.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003008/0.4948, allocations: 1.469 MB / 449.5 MB, free: 96.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002514/0.4973, allocations: 3.077 MB / 452.6 MB, free: 94.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003505/0.5009, allocations: 286.3 kB / 452.9 MB, free: 94.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005355/0.5014, allocations: 337 kB / 453.2 MB, free: 94.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * 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 (823): * Single equations (assignments): 819 * 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,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001626/0.503, allocations: 0.6979 MB / 453.9 MB, free: 94.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006386/0.5037, allocations: 450.5 kB / 454.3 MB, free: 94.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/0.5054, allocations: 1.247 MB / 455.6 MB, free: 94.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.091e-05/0.5054, allocations: 25.38 kB / 455.6 MB, free: 94.26 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.5054, allocations: 10.66 kB / 455.6 MB, free: 94.26 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.5054, allocations: 8.672 kB / 455.6 MB, free: 94.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007657/0.5131, allocations: 6.022 MB / 461.6 MB, free: 93.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/0.5131, allocations: 11.72 kB / 461.6 MB, free: 93.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006524/0.5137, allocations: 293.6 kB / 461.9 MB, free: 93.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006723/0.5144, allocations: 249.1 kB / 462.2 MB, free: 93.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.094e-05/0.5145, allocations: 47.98 kB / 462.2 MB, free: 93.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001489/0.516, allocations: 2.318 MB / 464.5 MB, free: 91.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.423e-06/0.516, allocations: 15.59 kB / 464.6 MB, free: 91.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002651/0.5187, allocations: 2.625 MB / 467.2 MB, free: 89.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008121/0.5195, allocations: 388.2 kB / 467.6 MB, free: 89.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003516/0.5198, allocations: 44.97 kB / 467.6 MB, free: 89.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007748/0.5206, allocations: 49.41 kB / 467.7 MB, free: 89.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002146/0.5208, allocations: 153.9 kB / 467.8 MB, free: 89.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.801e-05/0.5209, allocations: 52.05 kB / 467.9 MB, free: 89.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001963/0.5229, allocations: 1.61 MB / 469.5 MB, free: 88.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5229, allocations: 0 / 469.5 MB, free: 88.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004947/0.5278, allocations: 1.196 MB / 470.7 MB, free: 87.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * 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 (172): * Single equations (assignments): 168 * 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,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004639/0.5283, allocations: 249.2 kB / 470.9 MB, free: 86.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004098/0.5324, allocations: 2.973 MB / 473.9 MB, free: 84.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/0.5324, allocations: 4 kB / 473.9 MB, free: 84.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007696/0.5331, allocations: 0.7769 MB / 474.7 MB, free: 83.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002194/0.5353, allocations: 0.5033 MB / 475.2 MB, free: 83.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01669/0.552, allocations: 9.116 MB / 484.3 MB, free: 74.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002132/0.5542, allocations: 1.52 MB / 485.8 MB, free: 73.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002564/0.5567, allocations: 0.5551 MB / 486.4 MB, free: 73.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001318/0.558, allocations: 0.6738 MB / 487 MB, free: 72.42 MB / 378.7 MB Notification: Performance of SimCode: time 1.463e-06/0.558, allocations: 0 / 487 MB, free: 72.42 MB / 378.7 MB Notification: Performance of Templates: time 0.05273/0.6108, allocations: 35.4 MB / 0.5102 GB, free: 37.52 MB / 378.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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.078840587288141]