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.001457/0.001457, allocations: 118 kB / 18.45 MB, free: 4.613 MB / 14.72 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.001619/0.001619, allocations: 203.4 kB / 21.4 MB, free: 1.668 MB / 14.72 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 1.387/1.387, allocations: 227.5 MB / 251.7 MB, free: 28 kB / 190.1 MB
"
[Timeout remaining time 178]
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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",fmuType="me",version="2.0",platforms={"static"})
"" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 67.89 kB / 365.1 MB, free: 224 kB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.09992/0.1018, allocations: 50.55 MB / 415.6 MB, free: 13.62 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01354/0.1154, allocations: 10.42 MB / 426 MB, free: 3.152 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.008753/0.1242, allocations: 3.847 MB / 429.9 MB, free: 15.29 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.1256, allocations: 67.75 kB / 429.9 MB, free: 15.23 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.005429/0.1311, allocations: 2.293 MB / 432.2 MB, free: 12.93 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.004799/0.1359, allocations: 1.657 MB / 433.9 MB, free: 11.27 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001961/0.1379, allocations: 0.6083 MB / 434.5 MB, free: 10.66 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.005592/0.1435, allocations: 3.486 MB / 438 MB, free: 7.16 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.004944/0.1485, allocations: 3.029 MB / 441 MB, free: 4.078 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002255/0.1508, allocations: 1.355 MB / 442.4 MB, free: 2.719 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.003075/0.1539, allocations: 1.787 MB / 444.2 MB, free: 0.9258 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.001348/0.1552, allocations: 299.9 kB / 444.4 MB, free: 0.6328 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.2168/0.372, allocations: 1.113 MB / 445.6 MB, free: 10.84 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001966/0.374, allocations: 1.659 MB / 447.2 MB, free: 10.84 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.002591/0.3766, allocations: 1.948 MB / 449.2 MB, free: 10.22 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.008896/0.3855, allocations: 6.218 MB / 455.4 MB, free: 9.258 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 1.417e-05/0.3856, allocations: 0.6562 kB / 455.4 MB, free: 9.258 MB / 366.1 MB
Notification: Performance of FrontEnd: time 3.717e-06/0.3857, allocations: 2.844 kB / 455.4 MB, free: 9.258 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 0.0003649/0.386, allocations: 1.094 kB / 455.4 MB, free: 9.258 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.01249/0.3985, allocations: 4.317 MB / 459.7 MB, free: 7.41 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.3986, allocations: 10.34 kB / 459.7 MB, free: 7.41 MB / 366.1 MB
Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001636/0.4002, allocations: 0.6405 MB / 460.4 MB, free: 7.34 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007272/0.4075, allocations: 1.923 MB / 462.3 MB, free: 7.07 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.005488/0.413, allocations: 2.291 MB / 464.6 MB, free: 6.52 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004096/0.4135, allocations: 212.7 kB / 464.8 MB, free: 6.512 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001225/0.4147, allocations: 369.7 kB / 465.1 MB, free: 6.508 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01795/0.4327, allocations: 8.899 MB / 474 MB, free: 4.215 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001008/0.4328, allocations: 36.42 kB / 474.1 MB, free: 4.211 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003707/0.4332, allocations: 138.9 kB / 474.2 MB, free: 4.148 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002558/0.4358, allocations: 1.633 MB / 475.8 MB, free: 3.613 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01362/0.4494, allocations: 7.531 MB / 483.4 MB, free: 300 kB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04839/0.4978, allocations: 35.04 MB / 0.5063 GB, free: 14.94 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.009536/0.5074, allocations: 3.473 MB / 0.5097 GB, free: 11.33 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002162/0.5096, allocations: 1.455 MB / 0.5111 GB, free: 9.875 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.01104/0.5207, allocations: 6.863 MB / 0.5178 GB, free: 2.734 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001182/0.5209, allocations: 54.47 kB / 0.5178 GB, free: 2.676 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=132): time 1.055e-05/0.5209, allocations: 0 / 0.5178 GB, free: 2.676 MB / 414.1 MB
Notification: Performance of matching and sorting (n=139): time 0.02938/0.5503, allocations: 11.36 MB / 0.5289 GB, free: 7.199 MB / 430.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.001489/0.5518, allocations: 1.708 MB / 0.5306 GB, free: 5.312 MB / 430.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005469/0.5573, allocations: 3.54 MB / 0.5341 GB, free: 1.773 MB / 430.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0002894/0.5576, allocations: 44.67 kB / 0.5341 GB, free: 1.727 MB / 430.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.002405/0.56, allocations: 2.904 MB / 0.5369 GB, free: 14.84 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0007044/0.5607, allocations: 0.5848 MB / 0.5375 GB, free: 14.26 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001572/0.5623, allocations: 1.113 MB / 0.5386 GB, free: 13.14 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001405/0.5625, allocations: 304.9 kB / 0.5389 GB, free: 12.84 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.00289/0.5654, allocations: 1.927 MB / 0.5408 GB, free: 10.91 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.006051/0.5714, allocations: 5.366 MB / 0.546 GB, free: 3.871 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.009808/0.5813, allocations: 7.844 MB / 0.5537 GB, free: 10.81 MB / 462.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-05/0.5814, allocations: 40 kB / 0.5537 GB, free: 10.77 MB / 462.1 MB
Notification: Performance of matching and sorting (n=710) (initialization): time 0.01972/0.6011, allocations: 8.536 MB / 0.562 GB, free: 2.395 MB / 462.1 MB
Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.6012, allocations: 64.03 kB / 0.5621 GB, free: 2.332 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01016/0.6114, allocations: 3.206 MB / 0.5652 GB, free: 15.11 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.009408/0.6208, allocations: 1.953 MB / 0.5671 GB, free: 13.14 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004136/0.625, allocations: 1.251 MB / 0.5684 GB, free: 11.89 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009663/0.6347, allocations: 6.073 MB / 0.5743 GB, free: 5.543 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004654/0.6393, allocations: 379.5 kB / 0.5747 GB, free: 5.172 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001054/0.6404, allocations: 336 kB / 0.575 GB, free: 4.844 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 (672):
 * Single equations (assignments): 663
 * 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.004191/0.6446, allocations: 1.85 MB / 0.5768 GB, free: 2.984 MB / 478.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007836/0.6454, allocations: 317.8 kB / 0.5771 GB, free: 2.672 MB / 478.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/0.6469, allocations: 410.1 kB / 0.5775 GB, free: 2.266 MB / 478.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005853/0.6528, allocations: 2.379 MB / 0.5798 GB, free: 15.87 MB / 494.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.942e-05/0.6528, allocations: 4 kB / 0.5798 GB, free: 15.86 MB / 494.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.371e-05/0.6529, allocations: 5.297 kB / 0.5798 GB, free: 15.86 MB / 494.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01878/0.6716, allocations: 7.869 MB / 0.5875 GB, free: 7.91 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/0.6717, allocations: 7.984 kB / 0.5875 GB, free: 7.902 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.6728, allocations: 227.8 kB / 0.5877 GB, free: 7.68 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0033/0.6761, allocations: 1.057 MB / 0.5887 GB, free: 6.609 MB / 494.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001852/0.6763, allocations: 35.97 kB / 0.5888 GB, free: 6.574 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006729/0.683, allocations: 5.288 MB / 0.5939 GB, free: 1.016 MB / 494.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001203/0.6843, allocations: 1.57 MB / 0.5955 GB, free: 15.3 MB / 0.4981 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008949/0.6932, allocations: 4.993 MB / 0.6004 GB, free: 10.27 MB / 0.4981 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001003/0.6942, allocations: 386.7 kB / 0.6007 GB, free: 9.867 MB / 0.4981 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009362/0.6952, allocations: 26.66 kB / 0.6007 GB, free: 9.844 MB / 0.4981 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001899/0.6971, allocations: 127.8 kB / 0.6009 GB, free: 9.719 MB / 0.4981 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002858/0.6974, allocations: 88.47 kB / 0.601 GB, free: 9.633 MB / 0.4981 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000134/0.6976, allocations: 39.98 kB / 0.601 GB, free: 9.594 MB / 0.4981 GB
Notification: Performance of sorting global known variables: time 0.005478/0.7031, allocations: 2.183 MB / 0.6031 GB, free: 7.422 MB / 0.4981 GB
Notification: Performance of sort global known variables: time 2.2e-07/0.7031, allocations: 4 kB / 0.6031 GB, free: 7.418 MB / 0.4981 GB
Notification: Performance of remove unused functions: time 0.005237/0.7083, allocations: 0.9361 MB / 0.604 GB, free: 6.484 MB / 0.4981 GB
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.009955/0.7183, allocations: 5.65 MB / 0.6096 GB, free: 0.7812 MB / 0.4981 GB
Notification: Performance of simCode: created initialization part: time 0.01032/0.7286, allocations: 5.208 MB / 0.6146 GB, free: 11.54 MB / 0.5137 GB
Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.7287, allocations: 0 / 0.6146 GB, free: 11.54 MB / 0.5137 GB
Notification: Performance of simCode: created simulation system equations: time 0.004149/0.7328, allocations: 2.027 MB / 0.6166 GB, free: 9.441 MB / 0.5137 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00381/0.7367, allocations: 405.5 kB / 0.617 GB, free: 9.051 MB / 0.5137 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2667/1.003, allocations: 42.7 MB / 0.6587 GB, free: 154 MB / 0.5137 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002707/1.006, allocations: 2.899 MB / 0.6615 GB, free: 152.8 MB / 0.5137 GB
Notification: Performance of simCode: alias equations: time 0.003042/1.009, allocations: 1.696 MB / 0.6632 GB, free: 152 MB / 0.5137 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00145/1.011, allocations: 1.602 MB / 0.6648 GB, free: 150.6 MB / 0.5137 GB
Notification: Performance of SimCode: time 9.72e-07/1.011, allocations: 0 / 0.6648 GB, free: 150.6 MB / 0.5137 GB
Notification: Performance of buildModelFMU: Generate the FMI files: time 7.917/8.928, allocations: 62.79 MB / 0.7261 GB, free: 92.14 MB / 0.5137 GB
Notification: Performance of buildModelFMU: Generate platform static: time 29.79/38.72, allocations: 8 kB / 0.7261 GB, free: 92.13 MB / 0.5137 GB
"
[Timeout remaining time 621]
(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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 52.5]
diffSimulationResults("Modelica_trunk_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_trunk_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: 46.63169045303948]