Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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.001062/0.001062, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001575/0.002637, allocations: 457.8 kB / 10.45 MB, free: 244 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.001045/0.001045, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001428/0.002473, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9849/0.9849, allocations: 177.5 MB / 190.1 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08453/1.069, allocations: 53.86 MB / 243.9 MB, free: 14.85 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.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.body.frame_a.r_0.[0-9,]+.|body.body.w_a.[0-9,]+.|body.v_0.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.body.frame_a.r_0.[0-9,]+.|body.body.w_a.[0-9,]+.|body.v_0.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.294e-05/1.454e-05, allocations: 5.406 kB / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.008846/0.008861, allocations: 9.962 MB / 255.2 MB, free: 3.543 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005252/0.01411, allocations: 3.916 MB / 259.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005882/0.0147, allocations: 75.62 kB / 259.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002014/0.01671, allocations: 2.344 MB / 261.5 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002021/0.01874, allocations: 1.734 MB / 263.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007368/0.01947, allocations: 0.6275 MB / 263.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002649/0.02212, allocations: 3.779 MB / 267.7 MB, free: 7.031 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001763/0.02388, allocations: 2.568 MB / 270.2 MB, free: 4.402 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001832/0.02572, allocations: 2.182 MB / 272.4 MB, free: 2.211 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.0273, allocations: 1.886 MB / 274.3 MB, free: 328 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002688/0.02757, allocations: 299.9 kB / 274.6 MB, free: 28 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1076/0.1352, allocations: 1.108 MB / 275.7 MB, free: 6.773 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001525/0.1367, allocations: 1.626 MB / 277.3 MB, free: 6.773 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001486/0.1382, allocations: 0.9251 MB / 278.2 MB, free: 6.773 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004271/0.1425, allocations: 3.763 MB / 282 MB, free: 6.402 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.085e-05/0.1425, allocations: 0 / 282 MB, free: 6.402 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1425, allocations: 0 / 282 MB, free: 6.402 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001521/0.1427, allocations: 1.25 kB / 282 MB, free: 6.402 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1330 * Number of variables: 1330 Notification: Performance of Generate backend data structure: time 0.005912/0.1486, allocations: 4.748 MB / 286.8 MB, free: 4.594 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.1486, allocations: 9.781 kB / 286.8 MB, free: 4.594 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003144/0.1518, allocations: 1.043 MB / 287.8 MB, free: 4.582 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01085/0.1626, allocations: 1.567 MB / 289.4 MB, free: 4.098 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.1627, allocations: 211.7 kB / 289.6 MB, free: 4.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005882/0.1633, allocations: 368.4 kB / 289.9 MB, free: 4.082 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02316/0.1865, allocations: 4.481 MB / 294.4 MB, free: 2.293 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.648e-05/0.1865, allocations: 42.39 kB / 294.5 MB, free: 2.289 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003091/0.1868, allocations: 140.2 kB / 294.6 MB, free: 2.289 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007387/0.1942, allocations: 1.387 MB / 296 MB, free: 2.281 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01021/0.2044, allocations: 2.36 MB / 298.3 MB, free: 2.109 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02864/0.2331, allocations: 27.54 MB / 325.9 MB, free: 7.234 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003372/0.2364, allocations: 1.637 MB / 327.5 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003652/0.2368, allocations: 352.3 kB / 327.9 MB, free: 5.262 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003784/0.2406, allocations: 3.579 MB / 331.4 MB, free: 1.715 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.2406, allocations: 50.5 kB / 331.5 MB, free: 1.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=132): time 2.274e-06/0.2406, allocations: 0 / 331.5 MB, free: 1.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=139): time 0.008631/0.2493, allocations: 4.056 MB / 335.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006395/0.2499, allocations: 1.479 MB / 337 MB, free: 12.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/0.2518, allocations: 2.81 MB / 339.8 MB, free: 9.703 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.113e-05/0.2519, allocations: 44.36 kB / 339.9 MB, free: 9.656 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001356/0.2532, allocations: 2.737 MB / 342.6 MB, free: 7.055 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003175/0.2536, allocations: 0.5878 MB / 343.2 MB, free: 6.5 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008568/0.2544, allocations: 1.04 MB / 344.2 MB, free: 5.574 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.272e-05/0.2545, allocations: 305.1 kB / 344.5 MB, free: 5.273 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.2555, allocations: 0.729 MB / 345.3 MB, free: 4.539 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002622/0.2581, allocations: 4.034 MB / 349.3 MB, free: 14.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004342/0.2624, allocations: 5.688 MB / 355 MB, free: 7.949 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.059e-05/0.2625, allocations: 36 kB / 355 MB, free: 7.914 MB / 330.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.008365/0.2708, allocations: 4.22 MB / 359.2 MB, free: 3.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.708e-05/0.2709, allocations: 56 kB / 359.3 MB, free: 3.625 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.399e-05/0.271, allocations: 128 kB / 359.4 MB, free: 3.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003198/0.2742, allocations: 0.5716 MB / 360 MB, free: 2.914 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00235/0.2765, allocations: 1.345 MB / 361.3 MB, free: 1.566 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003099/0.2796, allocations: 3.135 MB / 364.5 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00204/0.2817, allocations: 251.7 kB / 364.7 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000272/0.2819, allocations: 300 kB / 365 MB, free: 13.71 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 36 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (676): * Single equations (assignments): 667 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001373/0.2833, allocations: 0.5744 MB / 365.6 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003709/0.2837, allocations: 186.5 kB / 365.8 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003467/0.284, allocations: 323.4 kB / 366.1 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001293/0.2853, allocations: 0.6773 MB / 366.8 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.2853, allocations: 7.938 kB / 366.8 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.2853, allocations: 7.969 kB / 366.8 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005043/0.2904, allocations: 3.708 MB / 370.5 MB, free: 8.371 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/0.2904, allocations: 8 kB / 370.5 MB, free: 8.363 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005584/0.291, allocations: 219.7 kB / 370.7 MB, free: 8.148 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002242/0.2912, allocations: 261.9 kB / 371 MB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001198/0.2924, allocations: 0.5017 MB / 371.5 MB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.984e-05/0.2924, allocations: 31.97 kB / 371.5 MB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001818/0.2943, allocations: 2.846 MB / 374.3 MB, free: 4.324 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007182/0.295, allocations: 1.34 MB / 375.7 MB, free: 2.891 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/0.2971, allocations: 1.871 MB / 377.6 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/0.2972, allocations: 28 kB / 377.6 MB, free: 0.957 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005303/0.2978, allocations: 27.98 kB / 377.6 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.2979, allocations: 89.98 kB / 377.7 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-05/0.298, allocations: 35.97 kB / 377.7 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007866/0.2988, allocations: 1.014 MB / 378.7 MB, free: 15.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2988, allocations: 0 / 378.7 MB, free: 15.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002612/0.3014, allocations: 1.004 MB / 379.8 MB, free: 14.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * 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 (105): * Single equations (assignments): 98 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003387/0.3017, allocations: 158.6 kB / 379.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00354/0.3052, allocations: 2.795 MB / 382.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000185/0.3054, allocations: 114.5 kB / 382.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001759/0.3072, allocations: 1.278 MB / 384.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002242/0.3094, allocations: 2.666 MB / 386.8 MB, free: 7.551 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008194/0.3176, allocations: 6.779 MB / 393.5 MB, free: 0.707 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008416/0.3185, allocations: 1.072 MB / 394.6 MB, free: 15.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008975/0.3194, allocations: 423.9 kB / 395 MB, free: 15.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006592/0.32, allocations: 493.1 kB / 395.5 MB, free: 14.71 MB / 378.7 MB Notification: Performance of SimCode: time 1.543e-06/0.32, allocations: 0 / 395.5 MB, free: 14.71 MB / 378.7 MB Notification: Performance of Templates: time 0.1596/0.4796, allocations: 33.63 MB / 429.1 MB, free: 120 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4458652632310987]