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.0009678/0.0009678, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001287/0.002254, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0009113/0.0009113, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001159/0.00207, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9637/0.9637, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08965/1.053, allocations: 53.86 MB / 243.7 MB, free: 14.9 MB / 250.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.683e-06/1.683e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.897e-05/2.065e-05, allocations: 5.266 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01436/0.01438, allocations: 12.83 MB / 257.8 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01107/0.02545, allocations: 4.976 MB / 262.8 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002211/0.02766, allocations: 103.5 kB / 262.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004257/0.03192, allocations: 4.232 MB / 267.2 MB, free: 7.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003764/0.03568, allocations: 2.235 MB / 269.4 MB, free: 5.164 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.03732, allocations: 1.134 MB / 270.5 MB, free: 4.027 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1292/0.1665, allocations: 6.274 MB / 276.8 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004688/0.1712, allocations: 4.306 MB / 281.1 MB, free: 1.785 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004822/0.176, allocations: 4.074 MB / 285.2 MB, free: 1.676 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002511/0.1786, allocations: 3.041 MB / 288.2 MB, free: 1.445 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004442/0.179, allocations: 0.5024 MB / 288.7 MB, free: 1.445 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001529/0.1805, allocations: 1.615 MB / 290.3 MB, free: 1.273 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001121/0.1817, allocations: 2.478 MB / 292.8 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001072/0.1827, allocations: 1.423 MB / 294.2 MB, free: 428 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004408/0.1871, allocations: 5.614 MB / 299.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.368e-05/0.1871, allocations: 0 / 299.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1871, allocations: 0 / 299.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001382/0.1873, allocations: 3.031 kB / 299.9 MB, free: 13.8 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.006899/0.1942, allocations: 6.846 MB / 306.7 MB, free: 7.715 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.1942, allocations: 12.62 kB / 306.7 MB, free: 7.703 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00309/0.1973, allocations: 1.398 MB / 308.1 MB, free: 6.355 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00276/0.2001, allocations: 2.601 MB / 310.7 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/0.2002, allocations: 308.9 kB / 311 MB, free: 3.629 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004824/0.2007, allocations: 442.8 kB / 311.4 MB, free: 3.238 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006069/0.2068, allocations: 5.984 MB / 317.4 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-05/0.2069, allocations: 54.56 kB / 317.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002988/0.2072, allocations: 184.7 kB / 317.7 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001439/0.2086, allocations: 1.834 MB / 319.5 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004847/0.2134, allocations: 3.062 MB / 322.6 MB, free: 8.172 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02518/0.2386, allocations: 34.23 MB / 356.8 MB, free: 6.133 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005583/0.2442, allocations: 2.036 MB / 358.8 MB, free: 4.129 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006179/0.2448, allocations: 417.5 kB / 359.2 MB, free: 3.723 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006128/0.2509, allocations: 4.005 MB / 363.2 MB, free: 15.78 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/0.251, allocations: 54.84 kB / 363.3 MB, free: 15.72 MB / 346.7 MB Notification: Performance of pre-optimization done (n=165): time 3.717e-06/0.251, allocations: 0 / 363.3 MB, free: 15.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=207): time 0.02139/0.2724, allocations: 6.771 MB / 370.1 MB, free: 9.117 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/0.2724, allocations: 153.1 kB / 370.2 MB, free: 8.938 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003505/0.2759, allocations: 3.522 MB / 373.7 MB, free: 6.035 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001013/0.2761, allocations: 57.7 kB / 373.8 MB, free: 5.973 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001707/0.2778, allocations: 3.427 MB / 377.2 MB, free: 2.723 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000536/0.2783, allocations: 0.8172 MB / 378 MB, free: 1.949 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001284/0.2796, allocations: 1.255 MB / 379.3 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.834e-05/0.2796, allocations: 305.1 kB / 379.6 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.2812, allocations: 0.7915 MB / 380.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003489/0.2846, allocations: 4.615 MB / 385 MB, free: 9.422 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00443/0.2891, allocations: 5.958 MB / 391 MB, free: 2.055 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.723e-05/0.2891, allocations: 36 kB / 391 MB, free: 2.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=866) (initialization): time 0.00486/0.294, allocations: 4.485 MB / 395.5 MB, free: 13.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.557e-05/0.294, allocations: 63.94 kB / 395.5 MB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.051e-05/0.2941, allocations: 140 kB / 395.7 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007892/0.2949, allocations: 437.4 kB / 396.1 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002463/0.2974, allocations: 1.638 MB / 397.7 MB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/0.2996, allocations: 2.48 MB / 400.2 MB, free: 8.695 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/0.3015, allocations: 279.8 kB / 400.5 MB, free: 8.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002768/0.3018, allocations: 340 kB / 400.8 MB, free: 8.09 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.001289/0.3031, allocations: 0.6559 MB / 401.5 MB, free: 7.422 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002937/0.3034, allocations: 263.6 kB / 401.7 MB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.3048, allocations: 1.087 MB / 402.8 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/0.3048, allocations: 23.98 kB / 402.8 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.3048, allocations: 4 kB / 402.8 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.3048, allocations: 7.969 kB / 402.9 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005624/0.3104, allocations: 5.136 MB / 408 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.3105, allocations: 8 kB / 408 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000704/0.3112, allocations: 347.5 kB / 408.3 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003245/0.3115, allocations: 369.2 kB / 408.7 MB, free: 160 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007701/0.3122, allocations: 440.3 kB / 409.1 MB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.32e-05/0.3123, allocations: 43.98 kB / 409.2 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00144/0.3138, allocations: 1.748 MB / 410.9 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/0.3138, allocations: 15.94 kB / 410.9 MB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001931/0.3157, allocations: 2.227 MB / 413.2 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002507/0.316, allocations: 55.97 kB / 413.2 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006341/0.3166, allocations: 47.94 kB / 413.3 MB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.3167, allocations: 148.5 kB / 413.4 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.808e-05/0.3168, allocations: 55.98 kB / 413.5 MB, free: 11.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001187/0.318, allocations: 1.337 MB / 414.8 MB, free: 9.758 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.318, allocations: 0 / 414.8 MB, free: 9.758 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002956/0.3209, allocations: 1.199 MB / 416 MB, free: 8.559 MB / 394.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.0003817/0.3213, allocations: 231.8 kB / 416.2 MB, free: 8.324 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002414/0.3237, allocations: 2.724 MB / 419 MB, free: 5.617 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001588/0.3239, allocations: 122.7 kB / 419.1 MB, free: 5.488 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000584/0.3245, allocations: 0.6442 MB / 419.7 MB, free: 4.828 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/0.3264, allocations: 1.048 MB / 420.8 MB, free: 3.793 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1228/0.4493, allocations: 9.193 MB / 430 MB, free: 109 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001559/0.4508, allocations: 1.517 MB / 431.5 MB, free: 108.9 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00162/0.4525, allocations: 0.5549 MB / 432 MB, free: 108.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009527/0.4534, allocations: 0.6305 MB / 432.7 MB, free: 108.8 MB / 394.7 MB Notification: Performance of SimCode: time 1.242e-06/0.4534, allocations: 0 / 432.7 MB, free: 108.8 MB / 394.7 MB Notification: Performance of Templates: time 0.04829/0.5017, allocations: 36.17 MB / 468.8 MB, free: 91.68 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 -ignoreHideResult -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: 3.7998997420072556]