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.001288/0.001288, allocations: 116.5 kB / 20.43 MB, free: 1.305 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.001358/0.001358, allocations: 206.6 kB / 23.74 MB, free: 4.539 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.416/1.416, allocations: 230.5 MB / 257.4 MB, free: 8.012 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="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.001925/0.001925, allocations: 63.91 kB / 377.8 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2401, allocations: 53.4 MB / 431.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01211/0.2522, allocations: 10.51 MB / 441.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007505/0.2597, allocations: 3.883 MB / 445.6 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001339/0.261, allocations: 75.62 kB / 445.7 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004542/0.2656, allocations: 2.34 MB / 448 MB, free: 5.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004334/0.2699, allocations: 1.704 MB / 449.7 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.2714, allocations: 0.62 MB / 450.3 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00492/0.2764, allocations: 3.475 MB / 453.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003699/0.2801, allocations: 2.45 MB / 456.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002776/0.2828, allocations: 1.374 MB / 457.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003645/0.2865, allocations: 1.947 MB / 459.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001107/0.2876, allocations: 292 kB / 459.8 MB, free: 9.879 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002563/0.2902, allocations: 1.166 MB / 461 MB, free: 8.711 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002209/0.2924, allocations: 1.722 MB / 462.7 MB, free: 6.984 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002694/0.2951, allocations: 1.942 MB / 464.7 MB, free: 5.031 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007293/0.3023, allocations: 6.233 MB / 470.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.3024, allocations: 0 / 470.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3024, allocations: 0 / 470.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.00019/0.3025, allocations: 0 / 470.9 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.008351/0.3109, allocations: 4.25 MB / 475.2 MB, free: 10.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.3109, allocations: 12.03 kB / 475.2 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007653/0.3117, allocations: 0.6369 MB / 475.8 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006267/0.318, allocations: 1.917 MB / 477.7 MB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004523/0.3225, allocations: 2.219 MB / 479.9 MB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001619/0.3227, allocations: 209.4 kB / 480.2 MB, free: 5.414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007373/0.3234, allocations: 367.7 kB / 480.5 MB, free: 5.055 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0136/0.337, allocations: 8.901 MB / 489.4 MB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001003/0.3371, allocations: 39.64 kB / 489.4 MB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000333/0.3374, allocations: 135.9 kB / 489.6 MB, free: 11.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002435/0.3399, allocations: 1.653 MB / 491.2 MB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01356/0.3534, allocations: 7.525 MB / 498.8 MB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0426/0.396, allocations: 34.91 MB / 0.5212 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00828/0.4043, allocations: 2.925 MB / 0.524 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002006/0.4063, allocations: 1.377 MB / 0.5254 GB, free: 9.848 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01011/0.4164, allocations: 5.674 MB / 0.5309 GB, free: 4.137 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/0.4165, allocations: 51.22 kB / 0.531 GB, free: 4.078 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 3.316e-06/0.4165, allocations: 0 / 0.531 GB, free: 4.078 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.2296/0.6461, allocations: 11.04 MB / 0.5417 GB, free: 99.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001047/0.6471, allocations: 1.609 MB / 0.5433 GB, free: 97.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003842/0.6509, allocations: 3.537 MB / 0.5468 GB, free: 96.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001329/0.6511, allocations: 49.41 kB / 0.5468 GB, free: 96.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001259/0.6523, allocations: 2.906 MB / 0.5497 GB, free: 94.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004181/0.6528, allocations: 0.5984 MB / 0.5502 GB, free: 93.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00104/0.6538, allocations: 1.103 MB / 0.5513 GB, free: 93.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 2.949e-05/0.6538, allocations: 301.1 kB / 0.5516 GB, free: 92.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001964/0.6558, allocations: 1.925 MB / 0.5535 GB, free: 92.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00282/0.6586, allocations: 5.365 MB / 0.5587 GB, free: 87.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005103/0.6637, allocations: 7.842 MB / 0.5664 GB, free: 78.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.58e-05/0.6637, allocations: 36 kB / 0.5664 GB, free: 78.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01441/0.6782, allocations: 8.539 MB / 0.5748 GB, free: 70.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.883e-05/0.6782, allocations: 56.66 kB / 0.5748 GB, free: 70.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008064/0.6863, allocations: 3.206 MB / 0.5779 GB, free: 66.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007969/0.6943, allocations: 1.942 MB / 0.5798 GB, free: 65.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003195/0.6974, allocations: 1.255 MB / 0.5811 GB, free: 63.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006391/0.7038, allocations: 5.863 MB / 0.5868 GB, free: 57.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003873/0.7077, allocations: 387.5 kB / 0.5872 GB, free: 57.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003832/0.7081, allocations: 336 kB / 0.5875 GB, free: 56.98 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.00205/0.7101, allocations: 1.863 MB / 0.5893 GB, free: 55.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003855/0.7105, allocations: 313.9 kB / 0.5896 GB, free: 54.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005877/0.7111, allocations: 414.1 kB / 0.59 GB, free: 54.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003801/0.7149, allocations: 2.366 MB / 0.5923 GB, free: 52.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.7149, allocations: 12 kB / 0.5923 GB, free: 52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.7149, allocations: 3.984 kB / 0.5923 GB, free: 51.99 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/0.7257, allocations: 7.722 MB / 0.5999 GB, free: 44.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.7257, allocations: 4 kB / 0.5999 GB, free: 44.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009709/0.7267, allocations: 231.6 kB / 0.6001 GB, free: 43.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002633/0.7293, allocations: 1.057 MB / 0.6011 GB, free: 42.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.7294, allocations: 35.97 kB / 0.6011 GB, free: 42.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004101/0.7335, allocations: 5.068 MB / 0.6061 GB, free: 37.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006491/0.7341, allocations: 1.474 MB / 0.6075 GB, free: 35.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006158/0.7403, allocations: 4.995 MB / 0.6124 GB, free: 30.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007273/0.741, allocations: 301.7 kB / 0.6127 GB, free: 30.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004842/0.7415, allocations: 27.98 kB / 0.6127 GB, free: 30.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/0.7429, allocations: 123.8 kB / 0.6128 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002068/0.7431, allocations: 100.4 kB / 0.6129 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.511e-05/0.7432, allocations: 40.45 kB / 0.613 GB, free: 30.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002602/0.7458, allocations: 2.183 MB / 0.6151 GB, free: 28.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7458, allocations: 0 / 0.6151 GB, free: 28.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003804/0.7496, allocations: 0.941 MB / 0.616 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.00656/0.7562, allocations: 5.654 MB / 0.6216 GB, free: 21.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007389/0.7635, allocations: 4.87 MB / 0.6263 GB, free: 16.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.7636, allocations: 0 / 0.6263 GB, free: 16.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003009/0.7666, allocations: 1.803 MB / 0.6281 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.002469/0.769, allocations: 394.5 kB / 0.6284 GB, free: 14.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07169/0.8407, allocations: 42.76 MB / 0.6702 GB, free: 14.36 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003774/0.8445, allocations: 2.901 MB / 0.673 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004031/0.8485, allocations: 1.699 MB / 0.6747 GB, free: 9.727 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00242/0.8509, allocations: 1.601 MB / 0.6763 GB, free: 8.125 MB / 494.1 MB Notification: Performance of SimCode: time 8.82e-07/0.8509, allocations: 0 / 0.6763 GB, free: 8.125 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9384/1.789, allocations: 67.8 MB / 0.7425 GB, free: 180.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.37/24.16, allocations: 0 / 0.7425 GB, free: 180.3 MB / 0.5294 GB " [Timeout remaining time 636] (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.084092310862616]