Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 106.8 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 215.5 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.45/1.45, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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.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.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_4.1.0_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.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.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 39.94 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2111, allocations: 53.37 MB / 432.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01187/0.2229, allocations: 9.146 MB / 441.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007282/0.2302, allocations: 3.653 MB / 445.1 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008922/0.2311, allocations: 83.56 kB / 445.2 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004389/0.2355, allocations: 2.243 MB / 447.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003687/0.2392, allocations: 1.708 MB / 449.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.2404, allocations: 0.62 MB / 449.8 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00423/0.2447, allocations: 3.482 MB / 453.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00282/0.2475, allocations: 2.434 MB / 455.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001763/0.2493, allocations: 1.378 MB / 457.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002479/0.2517, allocations: 1.947 MB / 459 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005407/0.2523, allocations: 296 kB / 459.3 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001918/0.2542, allocations: 1.042 MB / 460.4 MB, free: 10.53 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001604/0.2558, allocations: 1.726 MB / 462.1 MB, free: 8.797 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001473/0.2573, allocations: 1.437 MB / 463.5 MB, free: 7.352 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006215/0.2635, allocations: 6.236 MB / 469.8 MB, free: 1.094 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2635, allocations: 0 / 469.8 MB, free: 1.094 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2635, allocations: 3.938 kB / 469.8 MB, free: 1.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.762e-05/0.2636, allocations: 3.938 kB / 469.8 MB, free: 1.086 MB / 366.1 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.007235/0.2708, allocations: 4.234 MB / 474 MB, free: 12.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.2708, allocations: 8.031 kB / 474 MB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006787/0.2776, allocations: 1.917 MB / 475.9 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004253/0.2819, allocations: 1.985 MB / 477.9 MB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001716/0.282, allocations: 213.4 kB / 478.1 MB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008538/0.2829, allocations: 367.7 kB / 478.5 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01402/0.2969, allocations: 8.959 MB / 487.4 MB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.432e-05/0.297, allocations: 35.64 kB / 487.5 MB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003687/0.2974, allocations: 139.9 kB / 487.6 MB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002527/0.2999, allocations: 1.633 MB / 489.2 MB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01395/0.3139, allocations: 7.509 MB / 496.8 MB, free: 5.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03984/0.3537, allocations: 32.79 MB / 0.5171 GB, free: 3.551 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008611/0.3623, allocations: 2.93 MB / 0.52 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001947/0.3643, allocations: 1.377 MB / 0.5213 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009652/0.3739, allocations: 5.318 MB / 0.5265 GB, free: 9.852 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/0.3739, allocations: 51.14 kB / 0.5266 GB, free: 9.793 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 3.667e-06/0.374, allocations: 0 / 0.5266 GB, free: 9.793 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.2033/0.5773, allocations: 10.64 MB / 0.537 GB, free: 101.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.5773, allocations: 150.3 kB / 0.5371 GB, free: 101.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004909/0.5822, allocations: 3.381 MB / 0.5404 GB, free: 100.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002204/0.5824, allocations: 47.23 kB / 0.5405 GB, free: 100.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001363/0.5838, allocations: 2.924 MB / 0.5433 GB, free: 99.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005139/0.5843, allocations: 0.5736 MB / 0.5439 GB, free: 98.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001375/0.5857, allocations: 1.095 MB / 0.545 GB, free: 98.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.45e-05/0.5857, allocations: 311.2 kB / 0.5453 GB, free: 97.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002246/0.588, allocations: 1.826 MB / 0.547 GB, free: 97.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003116/0.5911, allocations: 5.269 MB / 0.5522 GB, free: 91.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00556/0.5966, allocations: 7.686 MB / 0.5597 GB, free: 85.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.919e-05/0.5967, allocations: 34.16 kB / 0.5597 GB, free: 85.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01539/0.6121, allocations: 8.612 MB / 0.5681 GB, free: 77.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.376e-05/0.6122, allocations: 63.94 kB / 0.5682 GB, free: 77.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0091/0.6213, allocations: 3.295 MB / 0.5714 GB, free: 74.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009526/0.6308, allocations: 2.32 MB / 0.5737 GB, free: 72.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002968/0.6338, allocations: 1.244 MB / 0.5749 GB, free: 70.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007593/0.6414, allocations: 7.096 MB / 0.5818 GB, free: 63.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003107/0.6445, allocations: 327.6 kB / 0.5821 GB, free: 63.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002966/0.6448, allocations: 335.5 kB / 0.5825 GB, free: 62.94 MB / 446.1 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 (671): * Single equations (assignments): 664 * 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 prepare postOptimizeDAE: time 0.001762/0.6465, allocations: 1.835 MB / 0.5842 GB, free: 61.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003432/0.6469, allocations: 286.1 kB / 0.5845 GB, free: 60.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000547/0.6474, allocations: 383 kB / 0.5849 GB, free: 60.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.6474, allocations: 11.97 kB / 0.5849 GB, free: 60.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.6474, allocations: 0 / 0.5849 GB, free: 60.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003975/0.6478, allocations: 253.9 kB / 0.5851 GB, free: 60.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003017/0.6481, allocations: 35.98 kB / 0.5852 GB, free: 60.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.6492, allocations: 91.86 kB / 0.5853 GB, free: 60.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002119/0.6494, allocations: 88.36 kB / 0.5853 GB, free: 59.95 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004732/0.6541, allocations: 3.144 MB / 0.5884 GB, free: 56.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003471/0.6576, allocations: 3.842 MB / 0.5922 GB, free: 52.96 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009117/0.6585, allocations: 0.9419 MB / 0.5931 GB, free: 52.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001916/0.6604, allocations: 1.936 MB / 0.595 GB, free: 50.09 MB / 446.1 MB Notification: Performance of Backend: time 2.31e-07/0.6604, allocations: 0 / 0.595 GB, free: 50.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006882/0.6673, allocations: 4.05 MB / 0.5989 GB, free: 46.05 MB / 446.1 MB Notification: Performance of SimCode: time 0.008658/0.676, allocations: 8.388 MB / 0.6071 GB, free: 37.62 MB / 446.1 MB Notification: Performance of Templates: time 0.06028/0.7363, allocations: 45.46 MB / 0.6515 GB, free: 8.621 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.954457833999186]