Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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.0008103/0.0008103, allocations: 84 kB / 21.43 MB, free: 3.129 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.003459/0.003459, allocations: 145.8 kB / 24.68 MB, free: 9.426 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.8437/0.8437, allocations: 173.4 MB / 201.2 MB, free: 9.438 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.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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 319.7 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.044e-05, allocations: 6.219 kB / 319.7 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.00646/0.006481, allocations: 9.169 MB / 328.9 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004864/0.01134, allocations: 3.652 MB / 332.5 MB, free: 8.945 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00063/0.01197, allocations: 79.56 kB / 332.6 MB, free: 8.867 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002321/0.0143, allocations: 2.367 MB / 335 MB, free: 6.492 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001997/0.01629, allocations: 1.792 MB / 336.8 MB, free: 4.691 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006852/0.01698, allocations: 0.6627 MB / 337.4 MB, free: 4.027 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002562/0.01954, allocations: 3.809 MB / 341.2 MB, free: 204 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001787/0.02133, allocations: 2.699 MB / 343.9 MB, free: 13.45 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001796/0.02312, allocations: 2.074 MB / 346 MB, free: 11.37 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.02468, allocations: 1.929 MB / 347.9 MB, free: 9.438 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002631/0.02495, allocations: 296 kB / 348.2 MB, free: 9.148 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.0261, allocations: 1.104 MB / 349.3 MB, free: 8.043 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009194/0.02702, allocations: 1.823 MB / 351.2 MB, free: 6.215 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007455/0.02776, allocations: 1.133 MB / 352.3 MB, free: 5.078 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00436/0.03213, allocations: 6.3 MB / 358.6 MB, free: 14.76 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.03213, allocations: 0 / 358.6 MB, free: 14.76 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.03213, allocations: 0 / 358.6 MB, free: 14.76 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.63e-05/0.03219, allocations: 0 / 358.6 MB, free: 14.76 MB / 330.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.004656/0.03684, allocations: 4.299 MB / 362.9 MB, free: 10.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.03688, allocations: 8.922 kB / 362.9 MB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003168/0.04005, allocations: 1.886 MB / 364.8 MB, free: 8.508 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002147/0.0422, allocations: 1.961 MB / 366.7 MB, free: 6.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.761e-05/0.04229, allocations: 221.6 kB / 367 MB, free: 6.281 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007378/0.04303, allocations: 371.7 kB / 367.3 MB, free: 5.918 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008276/0.05131, allocations: 8.932 MB / 376.3 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-05/0.05137, allocations: 39.62 kB / 376.3 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002382/0.05161, allocations: 143.8 kB / 376.4 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0013/0.05291, allocations: 1.633 MB / 378.1 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008851/0.06176, allocations: 7.52 MB / 385.6 MB, free: 3.008 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02482/0.08658, allocations: 33 MB / 418.6 MB, free: 1.016 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004604/0.09119, allocations: 3.005 MB / 421.6 MB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/0.09234, allocations: 1.377 MB / 423 MB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005598/0.09794, allocations: 5.487 MB / 428.4 MB, free: 7.066 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.09797, allocations: 47.16 kB / 428.5 MB, free: 7.012 MB / 394.7 MB Notification: Performance of pre-optimization done (n=132): time 4.108e-06/0.09797, allocations: 4 kB / 428.5 MB, free: 7.008 MB / 394.7 MB Notification: Performance of matching and sorting (n=139): time 0.01452/0.1125, allocations: 11.22 MB / 439.7 MB, free: 11.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008651/0.1134, allocations: 1.576 MB / 441.3 MB, free: 9.988 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002955/0.1163, allocations: 3.483 MB / 444.8 MB, free: 6.492 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.402e-05/0.1164, allocations: 41.7 kB / 444.8 MB, free: 6.445 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00132/0.1177, allocations: 2.898 MB / 447.7 MB, free: 3.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003872/0.1181, allocations: 0.5856 MB / 448.3 MB, free: 2.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00088/0.119, allocations: 1.096 MB / 449.4 MB, free: 1.824 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.931e-05/0.1191, allocations: 305.1 kB / 449.7 MB, free: 1.523 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1574/0.2765, allocations: 1.935 MB / 451.6 MB, free: 118.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0035/0.28, allocations: 5.382 MB / 457 MB, free: 113.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004057/0.284, allocations: 7.855 MB / 464.9 MB, free: 107.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-05/0.2841, allocations: 32.84 kB / 464.9 MB, free: 107.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.009279/0.2933, allocations: 8.777 MB / 473.7 MB, free: 102.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.857e-05/0.2934, allocations: 67.97 kB / 473.7 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004778/0.2982, allocations: 3.463 MB / 477.2 MB, free: 99.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004552/0.3027, allocations: 2.234 MB / 479.4 MB, free: 97.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001838/0.3045, allocations: 1.259 MB / 480.7 MB, free: 96.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004784/0.3093, allocations: 7.074 MB / 487.8 MB, free: 88.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002336/0.3117, allocations: 424.5 kB / 488.2 MB, free: 88.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002587/0.3119, allocations: 336 kB / 488.5 MB, free: 88.22 MB / 410.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.001818/0.3137, allocations: 1.852 MB / 490.4 MB, free: 86.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/0.314, allocations: 296.2 kB / 490.7 MB, free: 86.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002599/0.3166, allocations: 2.735 MB / 493.4 MB, free: 83.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002185/0.3188, allocations: 2.352 MB / 495.7 MB, free: 81.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.3188, allocations: 0 / 495.7 MB, free: 81.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.3188, allocations: 11.97 kB / 495.8 MB, free: 81.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006834/0.3256, allocations: 6.93 MB / 0.4909 GB, free: 74.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.3257, allocations: 4 kB / 0.4909 GB, free: 74.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005139/0.3262, allocations: 219.7 kB / 0.4911 GB, free: 73.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001408/0.3276, allocations: 1.057 MB / 0.4922 GB, free: 72.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-05/0.3276, allocations: 39.97 kB / 0.4922 GB, free: 72.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00271/0.3304, allocations: 5.025 MB / 0.4971 GB, free: 67.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003987/0.3308, allocations: 1.44 MB / 0.4985 GB, free: 66.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003784/0.3345, allocations: 4.931 MB / 0.5033 GB, free: 61.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003837/0.3349, allocations: 289.7 kB / 0.5036 GB, free: 61.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/0.3351, allocations: 38.56 kB / 0.5036 GB, free: 61.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006883/0.3358, allocations: 143.8 kB / 0.5038 GB, free: 61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.3359, allocations: 96.34 kB / 0.5039 GB, free: 60.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.859e-05/0.336, allocations: 39.98 kB / 0.5039 GB, free: 60.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001601/0.3376, allocations: 2.007 MB / 0.5059 GB, free: 58.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3376, allocations: 0 / 0.5059 GB, free: 58.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002793/0.3404, allocations: 1.02 MB / 0.5069 GB, free: 57.86 MB / 410.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.0003812/0.3408, allocations: 186.9 kB / 0.507 GB, free: 57.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004631/0.3454, allocations: 4.907 MB / 0.5118 GB, free: 52.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3454, allocations: 192 / 0.5118 GB, free: 52.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00166/0.3471, allocations: 1.782 MB / 0.5136 GB, free: 50.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.3483, allocations: 361.6 kB / 0.5139 GB, free: 50.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007962/0.3563, allocations: 8.757 MB / 0.5225 GB, free: 41.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001572/0.3578, allocations: 2.356 MB / 0.5248 GB, free: 39.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004285/0.3583, allocations: 248.4 kB / 0.525 GB, free: 39.19 MB / 410.7 MB Notification: Performance of SimCode: time 7.82e-07/0.3583, allocations: 0 / 0.525 GB, free: 39.19 MB / 410.7 MB Notification: Performance of Templates: time 0.2193/0.5775, allocations: 119.4 MB / 0.6416 GB, free: 129.4 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.982565595768392]