Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0008239/0.0008239, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.000916/0.000916, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9209/0.9209, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2699/0.2699, allocations: 32.8 MB / 293.5 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 439.6 MB, free: 4.281 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.806e-05/1.935e-05, allocations: 7.625 kB / 439.6 MB, free: 4.273 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.1753/0.1753, allocations: 6.048 MB / 445.6 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002546/0.1778, allocations: 2.315 MB / 447.9 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002951/0.1781, allocations: 33.81 kB / 448 MB, free: 42.45 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.1792, allocations: 1.073 MB / 449 MB, free: 42.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008413/0.18, allocations: 0.884 MB / 449.9 MB, free: 41.6 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003372/0.1803, allocations: 323.1 kB / 450.2 MB, free: 41.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009396/0.1813, allocations: 1.913 MB / 452.1 MB, free: 40.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006308/0.1819, allocations: 1.094 MB / 453.2 MB, free: 40.17 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006233/0.1825, allocations: 1.043 MB / 454.3 MB, free: 39.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005836/0.1831, allocations: 0.9917 MB / 455.3 MB, free: 39.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.1832, allocations: 127 kB / 455.4 MB, free: 39.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005321/0.1838, allocations: 0.6789 MB / 456.1 MB, free: 39.33 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003952/0.1842, allocations: 0.9818 MB / 457.1 MB, free: 38.92 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003284/0.1845, allocations: 0.5758 MB / 457.6 MB, free: 38.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001829/0.1863, allocations: 3.66 MB / 461.3 MB, free: 37.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1863, allocations: 3 kB / 461.3 MB, free: 37.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1863, allocations: 4 kB / 461.3 MB, free: 37.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.159e-05/0.1863, allocations: 0 / 461.3 MB, free: 37.36 MB / 410.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.00218/0.1885, allocations: 2.617 MB / 463.9 MB, free: 35.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.1886, allocations: 9.844 kB / 463.9 MB, free: 35.74 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003036/0.1889, allocations: 459.6 kB / 464.4 MB, free: 35.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002463/0.1913, allocations: 1.612 MB / 466 MB, free: 35.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009264/0.1923, allocations: 1.03 MB / 467 MB, free: 34.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.741e-05/0.1923, allocations: 120.7 kB / 467.1 MB, free: 34.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/0.1925, allocations: 158.3 kB / 467.3 MB, free: 34.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004046/0.1965, allocations: 6.19 MB / 473.5 MB, free: 31.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.558e-05/0.1966, allocations: 28.09 kB / 473.5 MB, free: 31.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/0.1967, allocations: 83.23 kB / 473.6 MB, free: 31.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001131/0.1978, allocations: 1.444 MB / 475 MB, free: 31.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005418/0.2033, allocations: 5.384 MB / 480.4 MB, free: 29.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01611/0.2194, allocations: 23.88 MB / 0.4925 GB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003072/0.2224, allocations: 1.865 MB / 0.4943 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009785/0.2234, allocations: 0.886 MB / 0.4952 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000226/0.2236, allocations: 88.05 kB / 0.4953 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.2237, allocations: 44.94 kB / 0.4953 GB, free: 10.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 3.347e-06/0.2237, allocations: 0 / 0.4953 GB, free: 10.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.01565/0.2393, allocations: 8.634 MB / 0.5037 GB, free: 6.938 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.2394, allocations: 140.5 kB / 0.5039 GB, free: 6.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002592/0.242, allocations: 2.809 MB / 0.5066 GB, free: 4.191 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000114/0.2421, allocations: 37.7 kB / 0.5066 GB, free: 4.148 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005749/0.2427, allocations: 2.081 MB / 0.5087 GB, free: 2.047 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/0.2429, allocations: 452.6 kB / 0.5091 GB, free: 1.602 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005985/0.2435, allocations: 0.8617 MB / 0.5099 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.584e-05/0.2435, allocations: 305.1 kB / 0.5102 GB, free: 436 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.2447, allocations: 1.332 MB / 0.5115 GB, free: 15.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002597/0.2473, allocations: 4.1 MB / 0.5155 GB, free: 9.582 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004942/0.2523, allocations: 5.94 MB / 0.5213 GB, free: 2.258 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.65e-05/0.2524, allocations: 31.98 kB / 0.5214 GB, free: 2.227 MB / 426.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.006941/0.2593, allocations: 5.494 MB / 0.5267 GB, free: 12.72 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.53e-05/0.2593, allocations: 48 kB / 0.5268 GB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-05/0.2594, allocations: 100 kB / 0.5269 GB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006888/0.2601, allocations: 458 kB / 0.5273 GB, free: 12.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/0.2617, allocations: 0.9708 MB / 0.5283 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003061/0.2648, allocations: 3.542 MB / 0.5317 GB, free: 7.508 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/0.2668, allocations: 233 kB / 0.5319 GB, free: 7.281 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000331/0.2671, allocations: 279.9 kB / 0.5322 GB, free: 7.008 MB / 442.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.001787/0.2689, allocations: 1.361 MB / 0.5335 GB, free: 5.633 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003402/0.2692, allocations: 230.5 kB / 0.5338 GB, free: 5.406 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001511/0.2708, allocations: 1.323 MB / 0.5351 GB, free: 4.074 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.137e-05/0.2708, allocations: 12 kB / 0.5351 GB, free: 4.062 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.2708, allocations: 4 kB / 0.5351 GB, free: 4.059 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.2708, allocations: 3.984 kB / 0.5351 GB, free: 4.055 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005838/0.2766, allocations: 4.022 MB / 0.539 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.2766, allocations: 7.125 kB / 0.539 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003751/0.277, allocations: 136.3 kB / 0.5391 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005226/0.2775, allocations: 312.5 kB / 0.5394 GB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.254e-05/0.2776, allocations: 16 kB / 0.5395 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002465/0.2801, allocations: 2.949 MB / 0.5423 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2801, allocations: 0 / 0.5423 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00334/0.2834, allocations: 3.082 MB / 0.5453 GB, free: 9.352 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006137/0.284, allocations: 206.3 kB / 0.5455 GB, free: 9.148 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.2842, allocations: 19.94 kB / 0.5456 GB, free: 9.129 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000417/0.2846, allocations: 43.94 kB / 0.5456 GB, free: 9.086 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.2847, allocations: 64.33 kB / 0.5457 GB, free: 9.023 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.388e-05/0.2848, allocations: 24 kB / 0.5457 GB, free: 9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002033/0.2868, allocations: 1.625 MB / 0.5473 GB, free: 7.363 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2868, allocations: 0 / 0.5473 GB, free: 7.363 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002616/0.2894, allocations: 0.5937 MB / 0.5478 GB, free: 6.77 MB / 458.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.003359/0.2928, allocations: 3.703 MB / 0.5515 GB, free: 3.035 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003558/0.2963, allocations: 3.102 MB / 0.5545 GB, free: 15.94 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.2963, allocations: 0 / 0.5545 GB, free: 15.94 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007216/0.297, allocations: 0.8017 MB / 0.5553 GB, free: 15.12 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.2981, allocations: 216.3 kB / 0.5555 GB, free: 14.92 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03006/0.3281, allocations: 28.18 MB / 0.583 GB, free: 15 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00169/0.3298, allocations: 1.594 MB / 0.5846 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001871/0.3317, allocations: 1.383 MB / 0.5859 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009032/0.3326, allocations: 1.024 MB / 0.5869 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of SimCode: time 1.453e-06/0.3326, allocations: 0 / 0.5869 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06404/0.3966, allocations: 38.31 MB / 0.6243 GB, free: 5.121 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.562/8.958, allocations: 6.875 kB / 0.6243 GB, free: 5.117 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.279308092780411]