Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.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.001692/0.001692, allocations: 76.53 kB / 19.92 MB, free: 4.637 MB / 18.57 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.001057/0.001057, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.8817/0.8817, allocations: 158.6 MB / 185 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1303/0.1303, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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.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(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 406.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.217e-05/1.335e-05, allocations: 9.938 kB / 406.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.004734/0.004747, allocations: 6.071 MB / 412.9 MB, free: 7.445 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002806/0.007553, allocations: 2.279 MB / 415.2 MB, free: 5.156 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003491/0.007902, allocations: 35.88 kB / 415.2 MB, free: 5.121 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001399/0.009301, allocations: 1.058 MB / 416.3 MB, free: 4.059 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001136/0.01044, allocations: 0.8939 MB / 417.2 MB, free: 3.16 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004361/0.01087, allocations: 319.1 kB / 417.5 MB, free: 2.848 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001422/0.0123, allocations: 1.942 MB / 419.4 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009177/0.01321, allocations: 1.115 MB / 420.5 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008861/0.0141, allocations: 1.052 MB / 421.6 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008138/0.01491, allocations: 0.9934 MB / 422.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003784/0.01529, allocations: 131.9 kB / 422.7 MB, free: 13.58 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007004/0.01599, allocations: 0.6629 MB / 423.4 MB, free: 12.92 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005241/0.01652, allocations: 1.005 MB / 424.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003807/0.0169, allocations: 0.5798 MB / 425 MB, free: 11.33 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002409/0.01931, allocations: 3.702 MB / 428.7 MB, free: 7.613 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.01931, allocations: 7.984 kB / 428.7 MB, free: 7.605 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.01931, allocations: 0 / 428.7 MB, free: 7.605 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.882e-05/0.01936, allocations: 0 / 428.7 MB, free: 7.605 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.002936/0.0223, allocations: 2.62 MB / 431.3 MB, free: 4.941 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.02234, allocations: 8.031 kB / 431.3 MB, free: 4.934 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003184/0.02266, allocations: 462.4 kB / 431.7 MB, free: 4.473 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002682/0.02534, allocations: 1.625 MB / 433.4 MB, free: 2.844 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.02644, allocations: 1.034 MB / 434.4 MB, free: 1.781 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.734e-05/0.0265, allocations: 115.3 kB / 434.5 MB, free: 1.668 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001952/0.02669, allocations: 156.3 kB / 434.7 MB, free: 1.516 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1563/0.1829, allocations: 6.187 MB / 440.9 MB, free: 34.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.249e-05/0.183, allocations: 25.19 kB / 440.9 MB, free: 34.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/0.1832, allocations: 79.88 kB / 441 MB, free: 34.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001475/0.1846, allocations: 1.442 MB / 442.4 MB, free: 34.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007198/0.1918, allocations: 5.383 MB / 447.8 MB, free: 33.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01614/0.208, allocations: 23.89 MB / 471.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00242/0.2104, allocations: 1.85 MB / 473.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006082/0.211, allocations: 0.8857 MB / 474.4 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/0.2112, allocations: 92.39 kB / 474.5 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.2112, allocations: 44.2 kB / 474.5 MB, free: 10.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=96): time 3.747e-06/0.2112, allocations: 3.938 kB / 474.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=106): time 0.0118/0.223, allocations: 8.641 MB / 483.2 MB, free: 2.293 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.223, allocations: 140.5 kB / 483.3 MB, free: 2.125 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002224/0.2253, allocations: 2.818 MB / 486.1 MB, free: 15.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.433e-05/0.2253, allocations: 37.7 kB / 486.2 MB, free: 15.31 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000982/0.2263, allocations: 2.086 MB / 488.3 MB, free: 13.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003173/0.2266, allocations: 443.6 kB / 488.7 MB, free: 12.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007356/0.2274, allocations: 0.861 MB / 489.6 MB, free: 11.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.088e-05/0.2275, allocations: 305.1 kB / 489.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.2288, allocations: 1.332 MB / 491.2 MB, free: 10.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002571/0.2314, allocations: 4.112 MB / 495.3 MB, free: 4.785 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004184/0.2356, allocations: 5.933 MB / 0.4895 GB, free: 13.46 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-05/0.2356, allocations: 33.59 kB / 0.4895 GB, free: 13.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.005537/0.2412, allocations: 5.494 MB / 0.4949 GB, free: 7.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.652e-05/0.2412, allocations: 50.66 kB / 0.4949 GB, free: 7.883 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6e-05/0.2413, allocations: 96 kB / 0.495 GB, free: 7.789 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006264/0.2419, allocations: 456.8 kB / 0.4955 GB, free: 7.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/0.2433, allocations: 0.9786 MB / 0.4964 GB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002655/0.246, allocations: 3.552 MB / 0.4999 GB, free: 2.699 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.2476, allocations: 223.7 kB / 0.5001 GB, free: 2.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002165/0.2478, allocations: 274 kB / 0.5004 GB, free: 2.215 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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 (527): * Single equations (assignments): 523 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001405/0.2492, allocations: 1.365 MB / 0.5017 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002649/0.2494, allocations: 234.4 kB / 0.5019 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.2508, allocations: 1.32 MB / 0.5032 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/0.2509, allocations: 12 kB / 0.5032 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.2509, allocations: 7.984 kB / 0.5032 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.2509, allocations: 3.984 kB / 0.5032 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004584/0.2555, allocations: 4.016 MB / 0.5072 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.2555, allocations: 6.297 kB / 0.5072 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003384/0.2558, allocations: 135.8 kB / 0.5073 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004694/0.2563, allocations: 320.5 kB / 0.5076 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.695e-05/0.2563, allocations: 16 kB / 0.5076 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002103/0.2584, allocations: 2.953 MB / 0.5105 GB, free: 7.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2584, allocations: 4.031 kB / 0.5105 GB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002607/0.261, allocations: 3.09 MB / 0.5135 GB, free: 4.562 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005037/0.2615, allocations: 342.3 kB / 0.5138 GB, free: 4.227 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.2617, allocations: 16 kB / 0.5139 GB, free: 4.211 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003937/0.2621, allocations: 43.94 kB / 0.5139 GB, free: 4.168 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.816e-05/0.2622, allocations: 57.27 kB / 0.514 GB, free: 4.113 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.307e-05/0.2622, allocations: 27.98 kB / 0.514 GB, free: 4.086 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001639/0.2638, allocations: 1.633 MB / 0.5156 GB, free: 2.441 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2638, allocations: 0 / 0.5156 GB, free: 2.441 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0022/0.266, allocations: 0.5974 MB / 0.5162 GB, free: 1.848 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * 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 (77): * Single equations (assignments): 73 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003157/0.2692, allocations: 3.704 MB / 0.5198 GB, free: 14.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003434/0.2726, allocations: 3.108 MB / 0.5228 GB, free: 11.01 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.2726, allocations: 4 kB / 0.5228 GB, free: 11.01 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007242/0.2734, allocations: 0.8025 MB / 0.5236 GB, free: 10.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008902/0.2743, allocations: 204.3 kB / 0.5238 GB, free: 9.996 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02589/0.3001, allocations: 28.2 MB / 0.5513 GB, free: 10.04 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001513/0.3017, allocations: 1.606 MB / 0.5529 GB, free: 8.398 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002214/0.3039, allocations: 1.391 MB / 0.5543 GB, free: 7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/0.3049, allocations: 1.024 MB / 0.5553 GB, free: 5.977 MB / 458.7 MB Notification: Performance of SimCode: time 1.503e-06/0.3049, allocations: 0 / 0.5553 GB, free: 5.977 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05576/0.3607, allocations: 38.36 MB / 0.5927 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.152/9.513, allocations: 7.938 kB / 0.5927 GB, free: 15.58 MB / 0.4948 GB " [Timeout remaining time 650] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.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: 11.605748791247606]