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.001532/0.001532, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001211/0.001211, allocations: 156.5 kB / 24.55 MB, free: 20 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.031/1.031, allocations: 177 MB / 204.8 MB, free: 5.566 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.934e-06/1.934e-06, allocations: 0 / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.597e-05, allocations: 8.984 kB / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01364/0.01367, allocations: 13.11 MB / 286 MB, free: 4.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1392/0.1528, allocations: 4.777 MB / 290.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002112/0.1549, allocations: 101.9 kB / 290.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005525/0.1605, allocations: 4.504 MB / 295.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004294/0.1648, allocations: 2.255 MB / 297.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001814/0.1666, allocations: 1.228 MB / 298.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007428/0.174, allocations: 6.807 MB / 305.7 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004431/0.1784, allocations: 4.715 MB / 310.4 MB, free: 8.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003666/0.1821, allocations: 3.303 MB / 313.7 MB, free: 6.375 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003195/0.1853, allocations: 3.217 MB / 316.9 MB, free: 3.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008762/0.1862, allocations: 0.5039 MB / 317.4 MB, free: 2.977 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001912/0.1881, allocations: 1.572 MB / 319 MB, free: 1.484 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001479/0.1896, allocations: 2.79 MB / 321.8 MB, free: 14.78 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001836/0.1914, allocations: 1.754 MB / 323.5 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005359/0.1967, allocations: 6.094 MB / 329.6 MB, free: 7.371 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1968, allocations: 0 / 329.6 MB, free: 7.371 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1968, allocations: 0 / 329.6 MB, free: 7.371 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000154/0.1969, allocations: 0 / 329.6 MB, free: 7.371 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.007411/0.2043, allocations: 6.567 MB / 336.2 MB, free: 0.832 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.2044, allocations: 11.98 kB / 336.2 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006364/0.2107, allocations: 3.203 MB / 339.4 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004448/0.2152, allocations: 3.343 MB / 342.8 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001625/0.2153, allocations: 307.1 kB / 343.1 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005489/0.2159, allocations: 439.3 kB / 343.5 MB, free: 9.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01005/0.2259, allocations: 7.584 MB / 351.1 MB, free: 1.289 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.931e-05/0.226, allocations: 51.59 kB / 351.1 MB, free: 1.234 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003215/0.2264, allocations: 189.8 kB / 351.3 MB, free: 1.086 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001869/0.2282, allocations: 2.035 MB / 353.3 MB, free: 15.06 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008429/0.2367, allocations: 4.284 MB / 357.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03386/0.2705, allocations: 47.13 MB / 404.8 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006308/0.2768, allocations: 3.048 MB / 407.8 MB, free: 7.348 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009034/0.2777, allocations: 0.6949 MB / 408.5 MB, free: 6.637 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006049/0.2838, allocations: 4.606 MB / 413.1 MB, free: 2.039 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.666e-05/0.2838, allocations: 58.33 kB / 413.2 MB, free: 1.973 MB / 362.7 MB Notification: Performance of pre-optimization done (n=179): time 3.838e-06/0.2838, allocations: 0 / 413.2 MB, free: 1.973 MB / 362.7 MB Notification: Performance of matching and sorting (n=223): time 0.03087/0.3147, allocations: 15.5 MB / 428.7 MB, free: 2.465 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.682e-05/0.3148, allocations: 205.9 kB / 428.9 MB, free: 2.223 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1352/0.45, allocations: 3.884 MB / 432.7 MB, free: 113.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004877/0.4505, allocations: 57.39 kB / 432.8 MB, free: 113.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002281/0.4528, allocations: 3.818 MB / 436.6 MB, free: 112.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008394/0.4536, allocations: 0.894 MB / 437.5 MB, free: 111.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001472/0.4551, allocations: 1.426 MB / 438.9 MB, free: 111.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.324e-05/0.4551, allocations: 478 kB / 439.4 MB, free: 111.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001588/0.4567, allocations: 0.7948 MB / 440.2 MB, free: 111.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003478/0.4602, allocations: 6.444 MB / 446.6 MB, free: 103.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006418/0.4666, allocations: 7.96 MB / 454.6 MB, free: 96.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001081/0.4667, allocations: 41.44 kB / 454.6 MB, free: 96.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.00985/0.4766, allocations: 6.411 MB / 461.1 MB, free: 95.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.417e-05/0.4767, allocations: 61.88 kB / 461.1 MB, free: 95.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001107/0.4768, allocations: 133.2 kB / 461.3 MB, free: 95.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002294/0.4791, allocations: 1.015 MB / 462.3 MB, free: 94.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002276/0.4813, allocations: 1.47 MB / 463.7 MB, free: 94.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004542/0.4859, allocations: 4.593 MB / 468.3 MB, free: 91.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002835/0.4887, allocations: 416.7 kB / 468.7 MB, free: 91.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003179/0.489, allocations: 391.6 kB / 469.1 MB, free: 91.57 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.001199/0.4902, allocations: 0.6904 MB / 469.8 MB, free: 91.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004524/0.4907, allocations: 456.4 kB / 470.3 MB, free: 90.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00321/0.4939, allocations: 2.261 MB / 472.5 MB, free: 89.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/0.4939, allocations: 27.7 kB / 472.5 MB, free: 89.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.4939, allocations: 8 kB / 472.6 MB, free: 89.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.4939, allocations: 8.297 kB / 472.6 MB, free: 89.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008457/0.5024, allocations: 6.97 MB / 479.5 MB, free: 83.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.5024, allocations: 11.94 kB / 479.5 MB, free: 83.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006962/0.5031, allocations: 325 kB / 479.9 MB, free: 83.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001944/0.505, allocations: 0.8124 MB / 480.7 MB, free: 82.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/0.5051, allocations: 43.98 kB / 480.7 MB, free: 82.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00366/0.5088, allocations: 3.554 MB / 484.3 MB, free: 78.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.5088, allocations: 8 kB / 484.3 MB, free: 78.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004443/0.5132, allocations: 3.575 MB / 487.8 MB, free: 75.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005907/0.5138, allocations: 385.3 kB / 488.2 MB, free: 74.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002586/0.5141, allocations: 43.98 kB / 488.3 MB, free: 74.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000896/0.515, allocations: 151.8 kB / 488.4 MB, free: 74.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002194/0.5152, allocations: 163.4 kB / 488.6 MB, free: 74.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.571e-05/0.5153, allocations: 60 kB / 488.6 MB, free: 74.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001777/0.5171, allocations: 1.719 MB / 490.4 MB, free: 72.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5171, allocations: 0 / 490.4 MB, free: 72.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003711/0.5208, allocations: 1.312 MB / 491.7 MB, free: 71.35 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.0004481/0.5212, allocations: 246.8 kB / 491.9 MB, free: 71.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004289/0.5255, allocations: 3.539 MB / 495.4 MB, free: 67.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.5255, allocations: 0 / 495.4 MB, free: 67.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.5266, allocations: 1.063 MB / 496.5 MB, free: 66.49 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/0.5282, allocations: 0.5058 MB / 497 MB, free: 66.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/0.5382, allocations: 9.169 MB / 0.4943 GB, free: 56.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.5393, allocations: 1.53 MB / 0.4958 GB, free: 55.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002244/0.5416, allocations: 1.626 MB / 0.4974 GB, free: 53.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004987/0.5421, allocations: 260.5 kB / 0.4977 GB, free: 53.26 MB / 378.7 MB Notification: Performance of SimCode: time 1.703e-06/0.5421, allocations: 0 / 0.4977 GB, free: 53.26 MB / 378.7 MB Notification: Performance of Templates: time 0.04934/0.5914, allocations: 40.02 MB / 0.5367 GB, free: 13.85 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.497832735069096]