Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001349/0.001349, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001467/0.001467, allocations: 216.1 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 207.7 MB / 235.3 MB, free: 9.812 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 51.92 kB / 347.7 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3193, allocations: 49.14 MB / 396.8 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01158/0.3309, allocations: 9.183 MB / 406 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01015/0.341, allocations: 3.635 MB / 409.7 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002921/0.344, allocations: 76.31 kB / 409.7 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00508/0.349, allocations: 2.257 MB / 412 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006884/0.3559, allocations: 1.735 MB / 413.7 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002675/0.3586, allocations: 0.6259 MB / 414.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008177/0.3668, allocations: 3.462 MB / 417.8 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004425/0.3712, allocations: 2.431 MB / 420.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004438/0.3756, allocations: 1.39 MB / 421.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004828/0.3805, allocations: 1.848 MB / 423.5 MB, free: 8.469 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001253/0.3817, allocations: 288 kB / 423.8 MB, free: 8.188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003816/0.3855, allocations: 1.053 MB / 424.8 MB, free: 7.133 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002819/0.3884, allocations: 1.745 MB / 426.6 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003852/0.3922, allocations: 1.452 MB / 428 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01058/0.4028, allocations: 6.294 MB / 434.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.384e-05/0.4028, allocations: 0 / 434.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.466e-06/0.4028, allocations: 0 / 434.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003544/0.4032, allocations: 3.938 kB / 434.3 MB, free: 13.61 MB / 350.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.01332/0.4165, allocations: 4.273 MB / 438.6 MB, free: 9.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.4165, allocations: 15.92 kB / 438.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006955/0.4235, allocations: 1.855 MB / 440.5 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006204/0.4297, allocations: 2.059 MB / 442.5 MB, free: 5.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002278/0.4299, allocations: 205.4 kB / 442.7 MB, free: 5.094 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001234/0.4311, allocations: 367.7 kB / 443.1 MB, free: 4.734 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01826/0.4494, allocations: 8.92 MB / 452 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001142/0.4495, allocations: 39.64 kB / 452 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004044/0.4499, allocations: 135.9 kB / 452.2 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002731/0.4527, allocations: 1.641 MB / 453.8 MB, free: 9.355 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01602/0.4687, allocations: 7.486 MB / 461.3 MB, free: 1.867 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0504/0.5191, allocations: 32.8 MB / 494.1 MB, free: 60 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00909/0.5282, allocations: 2.893 MB / 497 MB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002258/0.5304, allocations: 1.378 MB / 498.4 MB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01071/0.5411, allocations: 5.31 MB / 0.4919 GB, free: 6.391 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.792e-05/0.5412, allocations: 59.14 kB / 0.4919 GB, free: 6.324 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 5.721e-06/0.5412, allocations: 0 / 0.4919 GB, free: 6.324 MB / 414.1 MB Notification: Performance of matching and sorting (n=139): time 0.02957/0.5708, allocations: 11.01 MB / 0.5027 GB, free: 11.24 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001583/0.5723, allocations: 1.568 MB / 0.5042 GB, free: 9.531 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005334/0.5777, allocations: 3.42 MB / 0.5076 GB, free: 6.098 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003425/0.578, allocations: 45.69 kB / 0.5076 GB, free: 6.047 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002415/0.5804, allocations: 2.926 MB / 0.5105 GB, free: 3.094 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008518/0.5813, allocations: 0.5972 MB / 0.511 GB, free: 2.492 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001593/0.5829, allocations: 1.111 MB / 0.5121 GB, free: 1.371 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.583, allocations: 305.1 kB / 0.5124 GB, free: 1.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003184/0.5862, allocations: 1.924 MB / 0.5143 GB, free: 15.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006382/0.5926, allocations: 5.361 MB / 0.5195 GB, free: 8.043 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01/0.6026, allocations: 7.841 MB / 0.5272 GB, free: 14.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.926e-05/0.6027, allocations: 32 kB / 0.5272 GB, free: 14.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.0214/0.6241, allocations: 8.74 MB / 0.5358 GB, free: 5.695 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.6242, allocations: 60.06 kB / 0.5358 GB, free: 5.637 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01139/0.6356, allocations: 3.42 MB / 0.5391 GB, free: 2.203 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01121/0.6468, allocations: 2.238 MB / 0.5413 GB, free: 15.95 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004426/0.6512, allocations: 1.251 MB / 0.5426 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/0.6626, allocations: 7.055 MB / 0.5494 GB, free: 7.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00472/0.6673, allocations: 387.4 kB / 0.5498 GB, free: 7.051 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001245/0.6685, allocations: 340 kB / 0.5501 GB, free: 6.719 MB / 478.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 (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.004068/0.6726, allocations: 1.854 MB / 0.552 GB, free: 4.852 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007214/0.6733, allocations: 290 kB / 0.5522 GB, free: 4.566 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006113/0.6795, allocations: 2.739 MB / 0.5549 GB, free: 1.801 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2028/0.8822, allocations: 2.347 MB / 0.5572 GB, free: 142.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.149e-05/0.8822, allocations: 3.406 kB / 0.5572 GB, free: 142.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-05/0.8823, allocations: 6.844 kB / 0.5572 GB, free: 142.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0152/0.8975, allocations: 6.868 MB / 0.5639 GB, free: 140.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/0.8975, allocations: 1.375 kB / 0.5639 GB, free: 140.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.8986, allocations: 226.5 kB / 0.5641 GB, free: 140.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002926/0.9015, allocations: 1.059 MB / 0.5652 GB, free: 140.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001348/0.9016, allocations: 35.83 kB / 0.5652 GB, free: 140.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004812/0.9065, allocations: 5.002 MB / 0.5701 GB, free: 137.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000741/0.9072, allocations: 1.441 MB / 0.5715 GB, free: 135.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007684/0.9149, allocations: 4.93 MB / 0.5763 GB, free: 134.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/0.916, allocations: 274.1 kB / 0.5766 GB, free: 134 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003008/0.9163, allocations: 32.8 kB / 0.5766 GB, free: 134 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.9175, allocations: 124.9 kB / 0.5767 GB, free: 134 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000337/0.9179, allocations: 95.36 kB / 0.5768 GB, free: 134 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/0.918, allocations: 40.77 kB / 0.5768 GB, free: 134 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003508/0.9215, allocations: 1.951 MB / 0.5788 GB, free: 133.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.9215, allocations: 0 / 0.5788 GB, free: 133.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003821/0.9253, allocations: 0.9702 MB / 0.5797 GB, free: 133.2 MB / 478.1 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.0003462/0.9257, allocations: 163.2 kB / 0.5799 GB, free: 133.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007813/0.9335, allocations: 4.886 MB / 0.5846 GB, free: 131.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.9335, allocations: 3.906 kB / 0.5846 GB, free: 131.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003255/0.9367, allocations: 1.785 MB / 0.5864 GB, free: 130.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/0.9389, allocations: 353.4 kB / 0.5867 GB, free: 130.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/0.9499, allocations: 8.6 MB / 0.5951 GB, free: 124.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002188/0.9521, allocations: 2.356 MB / 0.5974 GB, free: 121.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003072/0.9552, allocations: 1.674 MB / 0.599 GB, free: 120.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005617/0.9558, allocations: 203.4 kB / 0.5992 GB, free: 120 MB / 478.1 MB Notification: Performance of SimCode: time 1.242e-06/0.9558, allocations: 0 / 0.5992 GB, free: 120 MB / 478.1 MB Notification: Performance of Templates: time 0.05549/1.011, allocations: 34.27 MB / 0.6327 GB, free: 85.74 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 6.518398649990559]