Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 82.95 kB / 21.42 MB, free: 3.082 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 149.8 kB / 24.81 MB, free: 8.406 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9854/0.9854, allocations: 173.3 MB / 201.4 MB, free: 9.211 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 268.4 MB, free: 6.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.772e-05/2.987e-05, allocations: 6.312 kB / 268.4 MB, free: 6.191 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01084/0.01087, allocations: 12.73 MB / 281.1 MB, free: 9.402 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008593/0.01946, allocations: 4.736 MB / 285.9 MB, free: 4.652 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0021/0.02156, allocations: 99.5 kB / 286 MB, free: 4.555 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004679/0.02624, allocations: 4.439 MB / 290.4 MB, free: 104 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1273/0.1536, allocations: 2.291 MB / 292.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002024/0.1556, allocations: 1.225 MB / 293.9 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008421/0.164, allocations: 6.653 MB / 300.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00569/0.1697, allocations: 4.728 MB / 305.3 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005865/0.1756, allocations: 4.294 MB / 309.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003663/0.1792, allocations: 3.18 MB / 312.8 MB, free: 9.184 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00123/0.1805, allocations: 0.5058 MB / 313.3 MB, free: 9.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002319/0.1828, allocations: 1.583 MB / 314.9 MB, free: 7.871 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001704/0.1845, allocations: 2.807 MB / 317.7 MB, free: 5.164 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001838/0.1863, allocations: 1.77 MB / 319.4 MB, free: 3.473 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005474/0.1918, allocations: 6.141 MB / 325.6 MB, free: 13.69 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1918, allocations: 0 / 325.6 MB, free: 13.69 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.1918, allocations: 4 kB / 325.6 MB, free: 13.69 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001505/0.192, allocations: 0 / 325.6 MB, free: 13.69 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.007573/0.1995, allocations: 6.346 MB / 331.9 MB, free: 7.711 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.1996, allocations: 12.92 kB / 331.9 MB, free: 7.699 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005795/0.2054, allocations: 2.218 MB / 334.2 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003734/0.2091, allocations: 2.811 MB / 337 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001791/0.2093, allocations: 308.9 kB / 337.3 MB, free: 2.582 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006593/0.2099, allocations: 433.7 kB / 337.7 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009973/0.2199, allocations: 6.617 MB / 344.3 MB, free: 11.06 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001246/0.22, allocations: 43.88 kB / 344.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004151/0.2204, allocations: 195.2 kB / 344.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001862/0.2223, allocations: 1.823 MB / 346.4 MB, free: 9.086 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007162/0.2295, allocations: 3.106 MB / 349.5 MB, free: 6.176 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03796/0.2674, allocations: 47.11 MB / 396.6 MB, free: 7.129 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005/0.2724, allocations: 2.202 MB / 398.8 MB, free: 4.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007292/0.2732, allocations: 0.502 MB / 399.3 MB, free: 4.426 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006654/0.2798, allocations: 4.267 MB / 403.6 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.2799, allocations: 54.14 kB / 403.6 MB, free: 100 kB / 346.7 MB Notification: Performance of pre-optimization done (n=165): time 4.528e-06/0.2799, allocations: 0 / 403.6 MB, free: 100 kB / 346.7 MB Notification: Performance of matching and sorting (n=207): time 0.02105/0.3009, allocations: 7.978 MB / 411.6 MB, free: 8.191 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.846e-05/0.301, allocations: 205.2 kB / 411.8 MB, free: 7.945 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004175/0.3052, allocations: 3.924 MB / 415.7 MB, free: 3.992 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001405/0.3053, allocations: 53.7 kB / 415.8 MB, free: 3.934 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001982/0.3073, allocations: 3.908 MB / 419.7 MB, free: 15.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006917/0.308, allocations: 0.8413 MB / 420.5 MB, free: 15.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001558/0.3095, allocations: 1.455 MB / 422 MB, free: 13.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.876e-05/0.3096, allocations: 484.7 kB / 422.4 MB, free: 13.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.3107, allocations: 0.6102 MB / 423.1 MB, free: 12.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003846/0.3146, allocations: 6.465 MB / 429.5 MB, free: 3.461 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1256/0.4401, allocations: 7.695 MB / 437.2 MB, free: 104.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001657/0.4403, allocations: 40.38 kB / 437.3 MB, free: 104.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=866) (initialization): time 0.009105/0.4494, allocations: 5.276 MB / 442.5 MB, free: 103.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.99e-05/0.4495, allocations: 64.53 kB / 442.6 MB, free: 103.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001886/0.4497, allocations: 141.1 kB / 442.7 MB, free: 103.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/0.4508, allocations: 444.2 kB / 443.2 MB, free: 103.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002747/0.4536, allocations: 1.465 MB / 444.6 MB, free: 103.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002335/0.4559, allocations: 3.074 MB / 447.7 MB, free: 101.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003054/0.459, allocations: 291.7 kB / 448 MB, free: 101.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003606/0.4593, allocations: 337.2 kB / 448.3 MB, free: 101.8 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.001345/0.4607, allocations: 0.7005 MB / 449 MB, free: 101.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004659/0.4611, allocations: 442.7 kB / 449.4 MB, free: 101.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001582/0.4627, allocations: 1.254 MB / 450.7 MB, free: 101.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.4627, allocations: 30.81 kB / 450.7 MB, free: 101.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.4627, allocations: 7.875 kB / 450.7 MB, free: 101.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.4627, allocations: 9.797 kB / 450.8 MB, free: 101.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007658/0.4704, allocations: 6.018 MB / 456.8 MB, free: 100.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.4704, allocations: 10.97 kB / 456.8 MB, free: 100.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006352/0.471, allocations: 294.6 kB / 457.1 MB, free: 100.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000642/0.4717, allocations: 247.4 kB / 457.3 MB, free: 100.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-05/0.4718, allocations: 46.67 kB / 457.4 MB, free: 100.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/0.4732, allocations: 2.313 MB / 459.7 MB, free: 98.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.4732, allocations: 19.38 kB / 459.7 MB, free: 98.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00257/0.4758, allocations: 2.628 MB / 462.3 MB, free: 96.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007084/0.4765, allocations: 379.2 kB / 462.7 MB, free: 96.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003035/0.4768, allocations: 51.61 kB / 462.7 MB, free: 96.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007705/0.4776, allocations: 49.09 kB / 462.8 MB, free: 96.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/0.4778, allocations: 153.7 kB / 462.9 MB, free: 96.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-05/0.4778, allocations: 55.47 kB / 463 MB, free: 96.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001663/0.4795, allocations: 1.612 MB / 464.6 MB, free: 96.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4795, allocations: 0 / 464.6 MB, free: 96.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003849/0.4834, allocations: 1.222 MB / 465.8 MB, free: 95.3 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.0004474/0.4838, allocations: 270.4 kB / 466.1 MB, free: 95.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003414/0.4872, allocations: 2.972 MB / 469.1 MB, free: 92.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.4872, allocations: 8.062 kB / 469.1 MB, free: 92.53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000651/0.4879, allocations: 0.7765 MB / 469.8 MB, free: 91.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/0.4896, allocations: 0.5043 MB / 470.3 MB, free: 91.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/0.4998, allocations: 9.127 MB / 479.5 MB, free: 82.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/0.5011, allocations: 1.52 MB / 481 MB, free: 81.72 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001372/0.5024, allocations: 0.5576 MB / 481.6 MB, free: 81.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008607/0.5033, allocations: 0.6729 MB / 482.2 MB, free: 80.69 MB / 378.7 MB Notification: Performance of SimCode: time 1.834e-06/0.5033, allocations: 4 kB / 482.2 MB, free: 80.69 MB / 378.7 MB Notification: Performance of Templates: time 0.04987/0.5532, allocations: 35.7 MB / 0.5058 GB, free: 45.52 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0099007287062705]