Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00156/0.00156, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 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.00181/0.00181, allocations: 213.2 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.598/1.598, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 47.92 kB / 377.8 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3198, allocations: 53.37 MB / 431.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01302/0.3328, allocations: 10.49 MB / 441.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008531/0.3414, allocations: 3.894 MB / 445.5 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002198/0.3436, allocations: 71.62 kB / 445.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005029/0.3486, allocations: 2.344 MB / 447.9 MB, free: 5.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004987/0.3536, allocations: 1.704 MB / 449.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.3553, allocations: 0.6122 MB / 450.3 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005897/0.3612, allocations: 3.487 MB / 453.7 MB, free: 164 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004189/0.3654, allocations: 2.439 MB / 456.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002727/0.3681, allocations: 1.382 MB / 457.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003436/0.3715, allocations: 1.943 MB / 459.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001042/0.3726, allocations: 288 kB / 459.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003075/0.3756, allocations: 1.17 MB / 461 MB, free: 8.883 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002821/0.3785, allocations: 1.722 MB / 462.7 MB, free: 7.156 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004064/0.3825, allocations: 1.942 MB / 464.6 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009609/0.3921, allocations: 6.229 MB / 470.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.3922, allocations: 0 / 470.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3922, allocations: 4 kB / 470.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002551/0.3924, allocations: 0 / 470.9 MB, free: 14.95 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.01227/0.4047, allocations: 4.246 MB / 475.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.4047, allocations: 12.03 kB / 475.1 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001765/0.4065, allocations: 0.633 MB / 475.8 MB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00738/0.4139, allocations: 1.925 MB / 477.7 MB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006045/0.4199, allocations: 2.219 MB / 479.9 MB, free: 5.793 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003279/0.4203, allocations: 209.4 kB / 480.1 MB, free: 5.586 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001652/0.4219, allocations: 371.7 kB / 480.5 MB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02016/0.4421, allocations: 8.897 MB / 489.4 MB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001694/0.4422, allocations: 39.64 kB / 489.4 MB, free: 11.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009583/0.4432, allocations: 139.9 kB / 489.5 MB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002836/0.446, allocations: 1.653 MB / 491.2 MB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01674/0.4628, allocations: 7.517 MB / 498.7 MB, free: 2.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05328/0.5161, allocations: 34.92 MB / 0.5211 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008921/0.525, allocations: 2.924 MB / 0.524 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002177/0.5272, allocations: 1.385 MB / 0.5253 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01081/0.538, allocations: 5.666 MB / 0.5309 GB, free: 4.312 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.535e-05/0.538, allocations: 55.2 kB / 0.5309 GB, free: 4.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 4.298e-06/0.538, allocations: 3.938 kB / 0.5309 GB, free: 4.246 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.2222/0.7602, allocations: 11.04 MB / 0.5417 GB, free: 99.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00115/0.7614, allocations: 1.599 MB / 0.5433 GB, free: 97.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004237/0.7656, allocations: 3.544 MB / 0.5467 GB, free: 96.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002916/0.7659, allocations: 49.17 kB / 0.5468 GB, free: 96.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001348/0.7673, allocations: 2.899 MB / 0.5496 GB, free: 94.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005942/0.7679, allocations: 0.5959 MB / 0.5502 GB, free: 94.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001572/0.7694, allocations: 1.109 MB / 0.5513 GB, free: 93.47 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.023e-05/0.7695, allocations: 307.8 kB / 0.5516 GB, free: 93.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00227/0.7717, allocations: 1.922 MB / 0.5534 GB, free: 92.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003184/0.7749, allocations: 5.373 MB / 0.5587 GB, free: 87.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006156/0.7811, allocations: 7.841 MB / 0.5663 GB, free: 78.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001027/0.7812, allocations: 32 kB / 0.5664 GB, free: 78.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01654/0.7977, allocations: 8.535 MB / 0.5747 GB, free: 70.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.518e-05/0.7978, allocations: 58.81 kB / 0.5748 GB, free: 70.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008412/0.8062, allocations: 3.207 MB / 0.5779 GB, free: 67.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008274/0.8145, allocations: 1.949 MB / 0.5798 GB, free: 65.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003599/0.8181, allocations: 1.244 MB / 0.581 GB, free: 64.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006425/0.8245, allocations: 5.881 MB / 0.5868 GB, free: 57.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004247/0.8288, allocations: 379.4 kB / 0.5871 GB, free: 57.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006843/0.8295, allocations: 340 kB / 0.5874 GB, free: 57.27 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.002663/0.8321, allocations: 1.854 MB / 0.5892 GB, free: 55.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006095/0.8327, allocations: 313.9 kB / 0.5895 GB, free: 55.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006793/0.8334, allocations: 410.1 kB / 0.5899 GB, free: 54.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003762/0.8372, allocations: 2.363 MB / 0.5922 GB, free: 52.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/0.8372, allocations: 4 kB / 0.5922 GB, free: 52.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.8372, allocations: 11.91 kB / 0.5923 GB, free: 52.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01096/0.8482, allocations: 7.725 MB / 0.5998 GB, free: 44.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.8482, allocations: 4 kB / 0.5998 GB, free: 44.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000969/0.8491, allocations: 231.6 kB / 0.6 GB, free: 44.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002619/0.8518, allocations: 1.056 MB / 0.6011 GB, free: 43.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001585/0.8519, allocations: 39.97 kB / 0.6011 GB, free: 43.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004214/0.8561, allocations: 5.069 MB / 0.6061 GB, free: 37.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006686/0.8568, allocations: 1.469 MB / 0.6075 GB, free: 36.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006432/0.8632, allocations: 4.991 MB / 0.6124 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008315/0.8641, allocations: 301.7 kB / 0.6126 GB, free: 30.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004085/0.8645, allocations: 31.98 kB / 0.6127 GB, free: 30.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/0.8657, allocations: 131.8 kB / 0.6128 GB, free: 30.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/0.8659, allocations: 88.41 kB / 0.6129 GB, free: 30.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-05/0.866, allocations: 46.23 kB / 0.6129 GB, free: 30.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002683/0.8687, allocations: 2.183 MB / 0.6151 GB, free: 28.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.8687, allocations: 0 / 0.6151 GB, free: 28.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004036/0.8727, allocations: 0.9452 MB / 0.616 GB, free: 27.53 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.00642/0.8791, allocations: 5.643 MB / 0.6215 GB, free: 21.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007181/0.8863, allocations: 4.882 MB / 0.6263 GB, free: 16.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.8863, allocations: 0 / 0.6263 GB, free: 16.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003032/0.8894, allocations: 1.795 MB / 0.628 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002228/0.8916, allocations: 397.2 kB / 0.6284 GB, free: 14.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06858/0.9602, allocations: 42.75 MB / 0.6701 GB, free: 14.68 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003384/0.9636, allocations: 2.905 MB / 0.673 GB, free: 11.74 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00402/0.9676, allocations: 1.699 MB / 0.6746 GB, free: 10.04 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002291/0.9699, allocations: 1.601 MB / 0.6762 GB, free: 8.434 MB / 494.1 MB Notification: Performance of SimCode: time 1.393e-06/0.9699, allocations: 0 / 0.6762 GB, free: 8.434 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.099/2.069, allocations: 67.82 MB / 0.7424 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.69/26.76, allocations: 8.844 kB / 0.7424 GB, free: 180.1 MB / 0.5294 GB " [Timeout remaining time 633] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 30.3540704830084]