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.001609/0.001609, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001741/0.001741, allocations: 219.8 kB / 24.53 MB, free: 4.004 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.381/1.381, allocations: 230.5 MB / 258.2 MB, free: 8 MB / 206.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 59.91 kB / 378.6 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2312, allocations: 53.41 MB / 432 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01166/0.2428, allocations: 10.51 MB / 442.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007351/0.2502, allocations: 3.879 MB / 446.4 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001171/0.2513, allocations: 75.62 kB / 446.4 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004091/0.2554, allocations: 2.332 MB / 448.8 MB, free: 5.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003642/0.2591, allocations: 1.719 MB / 450.5 MB, free: 4.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.2602, allocations: 0.6161 MB / 451.1 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004154/0.2644, allocations: 3.487 MB / 454.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002578/0.267, allocations: 2.43 MB / 457 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001713/0.2687, allocations: 1.378 MB / 458.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002447/0.2711, allocations: 1.943 MB / 460.3 MB, free: 10.17 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004972/0.2716, allocations: 292 kB / 460.6 MB, free: 9.883 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001875/0.2735, allocations: 1.17 MB / 461.8 MB, free: 8.711 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001613/0.2751, allocations: 1.722 MB / 463.5 MB, free: 6.984 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001971/0.2771, allocations: 1.95 MB / 465.5 MB, free: 5.023 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006652/0.2837, allocations: 6.226 MB / 471.7 MB, free: 14.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2837, allocations: 0 / 471.7 MB, free: 14.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2837, allocations: 0 / 471.7 MB, free: 14.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001086/0.2838, allocations: 0 / 471.7 MB, free: 14.77 MB / 382.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.007523/0.2914, allocations: 4.246 MB / 475.9 MB, free: 10.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.2914, allocations: 12.03 kB / 476 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001077/0.2915, allocations: 89.75 kB / 476 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000735/0.2922, allocations: 0.6408 MB / 476.7 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006501/0.2987, allocations: 1.925 MB / 478.6 MB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00407/0.3028, allocations: 2.207 MB / 480.8 MB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.303, allocations: 217.4 kB / 481 MB, free: 5.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007434/0.3037, allocations: 371.7 kB / 481.4 MB, free: 4.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0134/0.3171, allocations: 8.905 MB / 490.3 MB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.333e-05/0.3172, allocations: 35.7 kB / 490.3 MB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003336/0.3175, allocations: 135.9 kB / 490.5 MB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002404/0.3199, allocations: 1.637 MB / 492.1 MB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01349/0.3334, allocations: 7.533 MB / 499.6 MB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04334/0.3768, allocations: 34.92 MB / 0.522 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008423/0.3852, allocations: 2.932 MB / 0.5249 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001988/0.3872, allocations: 1.377 MB / 0.5262 GB, free: 9.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00938/0.3966, allocations: 5.662 MB / 0.5318 GB, free: 4.051 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/0.3966, allocations: 55.08 kB / 0.5318 GB, free: 3.988 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 3.276e-06/0.3966, allocations: 0 / 0.5318 GB, free: 3.988 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.1924/0.589, allocations: 11.05 MB / 0.5426 GB, free: 99.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008866/0.5899, allocations: 1.61 MB / 0.5442 GB, free: 98.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00342/0.5933, allocations: 3.539 MB / 0.5476 GB, free: 97.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001595/0.5935, allocations: 46.95 kB / 0.5477 GB, free: 97.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009942/0.5945, allocations: 2.902 MB / 0.5505 GB, free: 95.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003602/0.5949, allocations: 0.5993 MB / 0.5511 GB, free: 94.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009545/0.5958, allocations: 1.102 MB / 0.5522 GB, free: 94.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.149e-05/0.5958, allocations: 301.1 kB / 0.5525 GB, free: 93.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00192/0.5978, allocations: 1.932 MB / 0.5543 GB, free: 93.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002805/0.6006, allocations: 5.359 MB / 0.5596 GB, free: 87.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005145/0.6057, allocations: 7.844 MB / 0.5672 GB, free: 78.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.846e-05/0.6057, allocations: 40 kB / 0.5673 GB, free: 78.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01396/0.6197, allocations: 8.527 MB / 0.5756 GB, free: 70.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.223e-05/0.6198, allocations: 60.03 kB / 0.5757 GB, free: 70.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007982/0.6277, allocations: 3.202 MB / 0.5788 GB, free: 66.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008129/0.6359, allocations: 1.957 MB / 0.5807 GB, free: 65.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003228/0.6391, allocations: 1.249 MB / 0.5819 GB, free: 63.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006059/0.6452, allocations: 5.86 MB / 0.5876 GB, free: 57.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003869/0.649, allocations: 387 kB / 0.588 GB, free: 57.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004715/0.6495, allocations: 340 kB / 0.5883 GB, free: 56.97 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 (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.00188/0.6514, allocations: 1.85 MB / 0.5901 GB, free: 55.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003728/0.6518, allocations: 317.9 kB / 0.5904 GB, free: 54.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005462/0.6523, allocations: 410.1 kB / 0.5908 GB, free: 54.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003713/0.656, allocations: 2.371 MB / 0.5931 GB, free: 52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/0.656, allocations: 4 kB / 0.5931 GB, free: 52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.656, allocations: 7.984 kB / 0.5932 GB, free: 51.99 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009906/0.6659, allocations: 7.732 MB / 0.6007 GB, free: 44.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.6659, allocations: 1.406 kB / 0.6007 GB, free: 44.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009183/0.6669, allocations: 231.8 kB / 0.6009 GB, free: 43.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002542/0.6694, allocations: 1.053 MB / 0.602 GB, free: 42.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.6695, allocations: 35.97 kB / 0.602 GB, free: 42.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00384/0.6734, allocations: 5.072 MB / 0.6069 GB, free: 37.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006112/0.674, allocations: 1.47 MB / 0.6084 GB, free: 35.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005758/0.6797, allocations: 5.007 MB / 0.6133 GB, free: 30.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005802/0.6803, allocations: 297.7 kB / 0.6136 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002922/0.6806, allocations: 28 kB / 0.6136 GB, free: 30.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/0.6818, allocations: 127.8 kB / 0.6137 GB, free: 30.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/0.682, allocations: 88.47 kB / 0.6138 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.323e-05/0.6821, allocations: 43.42 kB / 0.6138 GB, free: 30.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002126/0.6842, allocations: 2.183 MB / 0.616 GB, free: 28.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6842, allocations: 7.938 kB / 0.616 GB, free: 28.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003691/0.6879, allocations: 0.9374 MB / 0.6169 GB, free: 27.23 MB / 446.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.006035/0.6939, allocations: 5.647 MB / 0.6224 GB, free: 21.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006634/0.7006, allocations: 4.881 MB / 0.6272 GB, free: 16.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.7006, allocations: 0 / 0.6272 GB, free: 16.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002869/0.7034, allocations: 1.795 MB / 0.6289 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/0.7055, allocations: 400.4 kB / 0.6293 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06287/0.7684, allocations: 42.76 MB / 0.6711 GB, free: 14.36 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003282/0.7717, allocations: 2.901 MB / 0.6739 GB, free: 11.42 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003501/0.7752, allocations: 1.695 MB / 0.6755 GB, free: 9.723 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001978/0.7772, allocations: 1.608 MB / 0.6771 GB, free: 8.113 MB / 494.1 MB Notification: Performance of SimCode: time 8.22e-07/0.7772, allocations: 0 / 0.6771 GB, free: 8.113 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.945/2.722, allocations: 67.83 MB / 0.7434 GB, free: 180.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.02/24.74, allocations: 0 / 0.7434 GB, free: 180.2 MB / 0.5294 GB " [Timeout remaining time 635] (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: 28.88065781199839]