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.001454/0.001454, allocations: 112.5 kB / 21.22 MB, free: 0.75 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.002389/0.002389, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.389/1.389, allocations: 230.6 MB / 258.3 MB, free: 8.031 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 51.92 kB / 378.6 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2081, allocations: 53.36 MB / 431.9 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01088/0.219, allocations: 10.51 MB / 442.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006744/0.2258, allocations: 3.88 MB / 446.3 MB, free: 8.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009349/0.2267, allocations: 71.62 kB / 446.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003913/0.2306, allocations: 2.344 MB / 448.7 MB, free: 6.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00333/0.2339, allocations: 1.704 MB / 450.4 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.2351, allocations: 0.6161 MB / 451 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004017/0.2391, allocations: 3.486 MB / 454.5 MB, free: 208 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002697/0.2418, allocations: 2.442 MB / 457 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001798/0.2436, allocations: 1.371 MB / 458.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002481/0.2461, allocations: 1.951 MB / 460.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005293/0.2466, allocations: 288 kB / 460.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001882/0.2485, allocations: 1.166 MB / 461.7 MB, free: 8.926 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001529/0.25, allocations: 1.726 MB / 463.5 MB, free: 7.195 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001821/0.2518, allocations: 1.946 MB / 465.4 MB, free: 5.238 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006193/0.258, allocations: 6.229 MB / 471.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.258, allocations: 0 / 471.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.258, allocations: 0 / 471.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.879e-05/0.2581, allocations: 0 / 471.6 MB, free: 14.98 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.007246/0.2654, allocations: 4.242 MB / 475.9 MB, free: 10.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.2654, allocations: 12.03 kB / 475.9 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.894e-05/0.2655, allocations: 89.75 kB / 476 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00076/0.2663, allocations: 0.6369 MB / 476.6 MB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006363/0.2726, allocations: 1.936 MB / 478.6 MB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003935/0.2766, allocations: 2.211 MB / 480.8 MB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/0.2767, allocations: 213.4 kB / 481 MB, free: 5.527 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007505/0.2775, allocations: 367.7 kB / 481.3 MB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01357/0.291, allocations: 8.908 MB / 490.2 MB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.89e-05/0.2911, allocations: 35.7 kB / 490.3 MB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003307/0.2915, allocations: 135.9 kB / 490.4 MB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002335/0.2938, allocations: 1.641 MB / 492.1 MB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01294/0.3067, allocations: 7.529 MB / 499.6 MB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0386/0.3453, allocations: 34.91 MB / 0.522 GB, free: 14.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007908/0.3532, allocations: 2.928 MB / 0.5248 GB, free: 11.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00181/0.355, allocations: 1.381 MB / 0.5262 GB, free: 9.961 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00872/0.3638, allocations: 5.67 MB / 0.5317 GB, free: 4.254 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.3638, allocations: 51.16 kB / 0.5318 GB, free: 4.195 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 3.426e-06/0.3638, allocations: 0 / 0.5318 GB, free: 4.195 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.1767/0.5406, allocations: 11.05 MB / 0.5426 GB, free: 100.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008118/0.5414, allocations: 1.603 MB / 0.5441 GB, free: 98.53 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003298/0.5447, allocations: 3.54 MB / 0.5476 GB, free: 97.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000179/0.5448, allocations: 45.58 kB / 0.5476 GB, free: 97.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009685/0.5458, allocations: 2.903 MB / 0.5505 GB, free: 95.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003634/0.5462, allocations: 0.5924 MB / 0.551 GB, free: 94.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009222/0.5471, allocations: 1.114 MB / 0.5521 GB, free: 94.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 2.643e-05/0.5471, allocations: 304.2 kB / 0.5524 GB, free: 94.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001845/0.549, allocations: 1.923 MB / 0.5543 GB, free: 93.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002627/0.5516, allocations: 5.361 MB / 0.5595 GB, free: 88.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004848/0.5564, allocations: 7.853 MB / 0.5672 GB, free: 79.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.954e-05/0.5565, allocations: 36 kB / 0.5672 GB, free: 79.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01363/0.5701, allocations: 8.524 MB / 0.5756 GB, free: 70.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.301e-05/0.5702, allocations: 58.97 kB / 0.5756 GB, free: 70.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007819/0.578, allocations: 3.206 MB / 0.5787 GB, free: 67.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007942/0.5859, allocations: 1.956 MB / 0.5807 GB, free: 65.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002824/0.5887, allocations: 1.248 MB / 0.5819 GB, free: 64.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005872/0.5946, allocations: 5.87 MB / 0.5876 GB, free: 57.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003297/0.5979, allocations: 388.7 kB / 0.588 GB, free: 57.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003986/0.5983, allocations: 340 kB / 0.5883 GB, free: 57.25 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.001821/0.6001, allocations: 1.844 MB / 0.5901 GB, free: 55.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004093/0.6005, allocations: 321.9 kB / 0.5904 GB, free: 55.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000592/0.6011, allocations: 410.1 kB / 0.5908 GB, free: 54.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003607/0.6047, allocations: 2.367 MB / 0.5931 GB, free: 52.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.6048, allocations: 0 / 0.5931 GB, free: 52.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.6048, allocations: 7.984 kB / 0.5931 GB, free: 52.28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/0.6148, allocations: 7.731 MB / 0.6007 GB, free: 44.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.6148, allocations: 7.984 kB / 0.6007 GB, free: 44.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008937/0.6157, allocations: 223.7 kB / 0.6009 GB, free: 44.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002494/0.6182, allocations: 1.053 MB / 0.6019 GB, free: 43.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/0.6183, allocations: 35.97 kB / 0.6019 GB, free: 43.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003769/0.6221, allocations: 5.086 MB / 0.6069 GB, free: 37.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005922/0.6226, allocations: 1.457 MB / 0.6083 GB, free: 36.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005639/0.6283, allocations: 5.002 MB / 0.6132 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005215/0.6288, allocations: 297.7 kB / 0.6135 GB, free: 30.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003555/0.6292, allocations: 28 kB / 0.6135 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/0.6304, allocations: 127.8 kB / 0.6137 GB, free: 30.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/0.6305, allocations: 88.47 kB / 0.6137 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.173e-05/0.6306, allocations: 39.98 kB / 0.6138 GB, free: 30.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002112/0.6328, allocations: 2.191 MB / 0.6159 GB, free: 28.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6328, allocations: 0 / 0.6159 GB, free: 28.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003271/0.636, allocations: 0.9407 MB / 0.6168 GB, free: 27.52 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.005819/0.6418, allocations: 5.648 MB / 0.6224 GB, free: 21.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006179/0.648, allocations: 4.878 MB / 0.6271 GB, free: 16.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.648, allocations: 0 / 0.6271 GB, free: 16.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002857/0.6509, allocations: 1.803 MB / 0.6289 GB, free: 15.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001822/0.6527, allocations: 392.8 kB / 0.6293 GB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05895/0.7117, allocations: 42.77 MB / 0.671 GB, free: 14.64 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003376/0.715, allocations: 2.909 MB / 0.6739 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003499/0.7185, allocations: 1.691 MB / 0.6755 GB, free: 10.01 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002115/0.7206, allocations: 1.612 MB / 0.6771 GB, free: 8.395 MB / 494.1 MB Notification: Performance of SimCode: time 8.01e-07/0.7206, allocations: 0 / 0.6771 GB, free: 8.395 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.205/1.926, allocations: 67.83 MB / 0.7433 GB, free: 180.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.95/22.88, allocations: 8.078 kB / 0.7433 GB, free: 180.2 MB / 0.5294 GB " [Timeout remaining time 637] (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: 26.97177741699852]