Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 119.8 kB / 18.45 MB, free: 4.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002216/0.002216, allocations: 190.9 kB / 21.39 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 207.6 MB / 231.8 MB, free: 4.219 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 60.33 kB / 342.3 MB, free: 10.04 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09885/0.1005, allocations: 49.13 MB / 391.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.0125/0.113, allocations: 10.51 MB / 401.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007271/0.1203, allocations: 3.844 MB / 405.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.1214, allocations: 59.81 kB / 405.8 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004272/0.1256, allocations: 2.348 MB / 408.1 MB, free: 7.926 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003896/0.1295, allocations: 1.728 MB / 409.9 MB, free: 6.191 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.1309, allocations: 0.6083 MB / 410.5 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004732/0.1356, allocations: 3.455 MB / 413.9 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003174/0.1388, allocations: 2.576 MB / 416.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001935/0.1407, allocations: 1.374 MB / 417.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002412/0.1431, allocations: 1.947 MB / 419.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004885/0.1436, allocations: 288 kB / 420.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002119/0.1457, allocations: 1.174 MB / 421.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001705/0.1474, allocations: 1.753 MB / 423 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002184/0.1496, allocations: 1.973 MB / 425 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007677/0.1573, allocations: 6.276 MB / 431.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1573, allocations: 0 / 431.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1573, allocations: 0 / 431.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001139/0.1574, allocations: 3.938 kB / 431.3 MB, free: 0.6523 MB / 350.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.008283/0.1657, allocations: 4.368 MB / 435.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.1657, allocations: 8.031 kB / 435.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007779/0.1665, allocations: 0.6447 MB / 436.3 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006058/0.1726, allocations: 1.859 MB / 438.2 MB, free: 9.684 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005312/0.1779, allocations: 2.553 MB / 440.7 MB, free: 7.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001828/0.1781, allocations: 213.4 kB / 440.9 MB, free: 6.859 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008027/0.1789, allocations: 371.7 kB / 441.3 MB, free: 6.496 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01364/0.1925, allocations: 8.862 MB / 450.2 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.542e-05/0.1926, allocations: 47.62 kB / 450.2 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003214/0.1929, allocations: 131.9 kB / 450.3 MB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00229/0.1952, allocations: 1.641 MB / 452 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0135/0.2087, allocations: 7.506 MB / 459.5 MB, free: 3.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2314/0.4402, allocations: 35.05 MB / 494.5 MB, free: 35.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007047/0.4472, allocations: 3.344 MB / 497.9 MB, free: 33.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/0.4486, allocations: 1.393 MB / 499.3 MB, free: 33.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008133/0.4567, allocations: 6.776 MB / 0.4942 GB, free: 28.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.4567, allocations: 46.78 kB / 0.4942 GB, free: 28.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 3.577e-06/0.4567, allocations: 4 kB / 0.4942 GB, free: 28.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.02013/0.4769, allocations: 11.37 MB / 0.5053 GB, free: 18.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008942/0.4778, allocations: 1.712 MB / 0.507 GB, free: 16.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003496/0.4813, allocations: 3.575 MB / 0.5105 GB, free: 12.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001324/0.4814, allocations: 45.53 kB / 0.5105 GB, free: 12.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001339/0.4827, allocations: 2.907 MB / 0.5134 GB, free: 10.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004372/0.4832, allocations: 0.5908 MB / 0.514 GB, free: 9.508 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001031/0.4842, allocations: 1.111 MB / 0.515 GB, free: 8.391 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.502e-05/0.4843, allocations: 305.1 kB / 0.5153 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001993/0.4863, allocations: 1.916 MB / 0.5172 GB, free: 6.172 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003886/0.4901, allocations: 5.353 MB / 0.5224 GB, free: 15.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01053/0.5007, allocations: 7.824 MB / 0.5301 GB, free: 5.539 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.277e-05/0.5007, allocations: 39.94 kB / 0.5301 GB, free: 5.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01843/0.5192, allocations: 8.453 MB / 0.5384 GB, free: 13.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.191e-05/0.5192, allocations: 56 kB / 0.5384 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008864/0.5281, allocations: 3.124 MB / 0.5415 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008309/0.5364, allocations: 1.852 MB / 0.5433 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003389/0.5398, allocations: 1.248 MB / 0.5445 GB, free: 6.719 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008328/0.5481, allocations: 6.053 MB / 0.5504 GB, free: 400 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003733/0.5519, allocations: 375.5 kB / 0.5508 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004779/0.5523, allocations: 339.9 kB / 0.5511 GB, free: 15.69 MB / 430.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.002716/0.5551, allocations: 1.853 MB / 0.5529 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000535/0.5556, allocations: 325.8 kB / 0.5532 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005372/0.561, allocations: 2.75 MB / 0.5559 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004522/0.5655, allocations: 2.348 MB / 0.5582 GB, free: 8.367 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.5655, allocations: 4.875 kB / 0.5582 GB, free: 8.363 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.5655, allocations: 11.97 kB / 0.5582 GB, free: 8.352 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01408/0.5796, allocations: 7.847 MB / 0.5659 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.5796, allocations: 4 kB / 0.5659 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009982/0.5806, allocations: 219.6 kB / 0.5661 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002936/0.5835, allocations: 1.06 MB / 0.5671 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/0.5836, allocations: 39.59 kB / 0.5672 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005771/0.5894, allocations: 5.28 MB / 0.5723 GB, free: 9.539 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001135/0.5906, allocations: 1.568 MB / 0.5738 GB, free: 7.824 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007552/0.5981, allocations: 4.974 MB / 0.5787 GB, free: 2.805 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000885/0.599, allocations: 382.8 kB / 0.5791 GB, free: 2.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003436/0.5993, allocations: 31.98 kB / 0.5791 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/0.6005, allocations: 127.8 kB / 0.5792 GB, free: 2.254 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002177/0.6007, allocations: 84.45 kB / 0.5793 GB, free: 2.172 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.6009, allocations: 42.02 kB / 0.5793 GB, free: 2.133 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003171/0.604, allocations: 2.211 MB / 0.5815 GB, free: 15.93 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.604, allocations: 0 / 0.5815 GB, free: 15.93 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004006/0.608, allocations: 0.957 MB / 0.5824 GB, free: 14.98 MB / 462.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.008118/0.6161, allocations: 5.612 MB / 0.5879 GB, free: 9.312 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009496/0.6256, allocations: 5.007 MB / 0.5928 GB, free: 4.266 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.6256, allocations: 0 / 0.5928 GB, free: 4.266 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003741/0.6294, allocations: 1.944 MB / 0.5947 GB, free: 2.254 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002522/0.6319, allocations: 402.2 kB / 0.5951 GB, free: 1.867 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07179/0.7037, allocations: 42.66 MB / 0.6367 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1842/0.8879, allocations: 2.892 MB / 0.6396 GB, free: 175.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004248/0.8922, allocations: 1.706 MB / 0.6412 GB, free: 175.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001953/0.8941, allocations: 1.61 MB / 0.6428 GB, free: 175.7 MB / 0.4981 GB Notification: Performance of SimCode: time 1.232e-06/0.8941, allocations: 0 / 0.6428 GB, free: 175.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.14/2.034, allocations: 63.57 MB / 0.7049 GB, free: 126.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.38/26.41, allocations: 7.875 kB / 0.7049 GB, free: 126.4 MB / 0.4981 GB " [Timeout remaining time 633] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 32.346504273824394]