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.001377/0.001377, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001447/0.001447, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.575/1.575, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.001705/0.001705, allocations: 51.92 kB / 373 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09823/0.09994, allocations: 53.31 MB / 426.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.2079/0.3078, allocations: 10.48 MB / 436.8 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007578/0.3154, allocations: 3.851 MB / 440.6 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00137/0.3168, allocations: 78.12 kB / 440.7 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004714/0.3215, allocations: 2.332 MB / 443.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004288/0.3258, allocations: 1.693 MB / 444.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.3271, allocations: 0.6119 MB / 445.4 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004933/0.332, allocations: 3.483 MB / 448.8 MB, free: 428 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003657/0.3357, allocations: 2.567 MB / 451.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002447/0.3381, allocations: 1.373 MB / 452.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002932/0.341, allocations: 1.949 MB / 454.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005326/0.3416, allocations: 290.7 kB / 455 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002495/0.3441, allocations: 1.164 MB / 456.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001635/0.3457, allocations: 1.728 MB / 457.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002418/0.3481, allocations: 1.95 MB / 459.9 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007821/0.3559, allocations: 6.224 MB / 466.1 MB, free: 6.578 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3559, allocations: 0 / 466.1 MB, free: 6.578 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3559, allocations: 0 / 466.1 MB, free: 6.578 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001334/0.3561, allocations: 1.125 kB / 466.1 MB, free: 6.578 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.009859/0.3659, allocations: 4.32 MB / 470.4 MB, free: 3.504 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.366, allocations: 15.69 kB / 470.4 MB, free: 3.5 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008975/0.3669, allocations: 0.6398 MB / 471.1 MB, free: 3.047 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007233/0.3741, allocations: 1.921 MB / 473 MB, free: 1.988 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004991/0.3791, allocations: 2.289 MB / 475.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/0.3793, allocations: 214.1 kB / 475.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000859/0.3801, allocations: 371.7 kB / 475.8 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01652/0.3966, allocations: 8.901 MB / 484.7 MB, free: 5.527 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001005/0.3967, allocations: 39.64 kB / 484.8 MB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001043/0.3978, allocations: 135.9 kB / 484.9 MB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002535/0.4003, allocations: 1.633 MB / 486.5 MB, free: 3.719 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01608/0.4164, allocations: 7.528 MB / 494.1 MB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04992/0.4663, allocations: 35.05 MB / 0.5167 GB, free: 8.137 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009467/0.4758, allocations: 3.366 MB / 0.52 GB, free: 4.621 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002071/0.4779, allocations: 1.379 MB / 0.5214 GB, free: 3.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01172/0.4896, allocations: 6.88 MB / 0.5281 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.423e-05/0.4897, allocations: 47.2 kB / 0.5281 GB, free: 11.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 7.244e-06/0.4897, allocations: 0 / 0.5281 GB, free: 11.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.0315/0.5212, allocations: 11.36 MB / 0.5392 GB, free: 472 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001494/0.5227, allocations: 1.71 MB / 0.5409 GB, free: 14.57 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006381/0.5291, allocations: 3.536 MB / 0.5443 GB, free: 11.04 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006668/0.5297, allocations: 45.7 kB / 0.5444 GB, free: 10.98 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002478/0.5322, allocations: 2.9 MB / 0.5472 GB, free: 8.059 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001149/0.5333, allocations: 0.5932 MB / 0.5478 GB, free: 7.461 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002316/0.5357, allocations: 1.107 MB / 0.5489 GB, free: 6.344 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.5358, allocations: 305.2 kB / 0.5492 GB, free: 6.043 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003378/0.5392, allocations: 1.927 MB / 0.551 GB, free: 4.109 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006374/0.5455, allocations: 5.361 MB / 0.5563 GB, free: 13.02 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01053/0.5561, allocations: 7.842 MB / 0.5639 GB, free: 3.461 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001075/0.5562, allocations: 40 kB / 0.564 GB, free: 3.422 MB / 478.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.02163/0.5778, allocations: 8.539 MB / 0.5723 GB, free: 10.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.5779, allocations: 59.98 kB / 0.5724 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009921/0.5878, allocations: 3.194 MB / 0.5755 GB, free: 7.598 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00926/0.5971, allocations: 1.95 MB / 0.5774 GB, free: 5.633 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003844/0.6009, allocations: 1.252 MB / 0.5786 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008595/0.6095, allocations: 6.072 MB / 0.5846 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004026/0.6136, allocations: 376.3 kB / 0.5849 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008308/0.6144, allocations: 340 kB / 0.5852 GB, free: 13.33 MB / 0.4981 GB 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.003347/0.6177, allocations: 1.851 MB / 0.587 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006244/0.6184, allocations: 317.8 kB / 0.5873 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.6194, allocations: 414.1 kB / 0.5877 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004817/0.6242, allocations: 2.36 MB / 0.59 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/0.6242, allocations: 4 kB / 0.59 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/0.6242, allocations: 7.969 kB / 0.5901 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01478/0.639, allocations: 7.864 MB / 0.5977 GB, free: 384 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.639, allocations: 4.094 kB / 0.5977 GB, free: 380 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.6401, allocations: 231.6 kB / 0.598 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003168/0.6433, allocations: 1.057 MB / 0.599 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001624/0.6434, allocations: 39.97 kB / 0.599 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005952/0.6494, allocations: 5.275 MB / 0.6042 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001143/0.6505, allocations: 1.568 MB / 0.6057 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008156/0.6587, allocations: 4.995 MB / 0.6106 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008192/0.6595, allocations: 379.2 kB / 0.611 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005257/0.66, allocations: 31.98 kB / 0.611 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/0.6615, allocations: 127.8 kB / 0.6111 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002597/0.6618, allocations: 84.45 kB / 0.6112 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/0.6619, allocations: 43.98 kB / 0.6112 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.1738/0.8356, allocations: 2.184 MB / 0.6134 GB, free: 162.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.61e-07/0.8356, allocations: 0 / 0.6134 GB, free: 162.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00463/0.8403, allocations: 0.939 MB / 0.6143 GB, free: 162.1 MB / 0.5137 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.007326/0.8476, allocations: 5.643 MB / 0.6198 GB, free: 161 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008071/0.8557, allocations: 5.033 MB / 0.6247 GB, free: 159.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.8557, allocations: 1.344 kB / 0.6247 GB, free: 159.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00344/0.8591, allocations: 1.943 MB / 0.6266 GB, free: 158.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/0.8613, allocations: 398.5 kB / 0.627 GB, free: 158.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05222/0.9135, allocations: 42.69 MB / 0.6687 GB, free: 128 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002198/0.9157, allocations: 2.896 MB / 0.6715 GB, free: 125.3 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002792/0.9185, allocations: 1.69 MB / 0.6732 GB, free: 123.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00141/0.9199, allocations: 1.608 MB / 0.6747 GB, free: 122 MB / 0.5137 GB Notification: Performance of SimCode: time 7.32e-07/0.9199, allocations: 0 / 0.6747 GB, free: 122 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.333/4.252, allocations: 63.26 MB / 0.7365 GB, free: 59.18 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.95/26.2, allocations: 14.19 kB / 0.7365 GB, free: 59.17 MB / 0.5137 GB " [Timeout remaining time 634] (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.357981741195545]