Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008781/0.0008781, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001021/0.001021, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8998/0.8998, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.264/0.264, allocations: 34.24 MB / 294.8 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 442.1 MB, free: 1.574 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.28e-05/1.447e-05, allocations: 5.094 kB / 442.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.1699/0.1699, allocations: 6.031 MB / 448.2 MB, free: 41.11 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002485/0.1724, allocations: 2.31 MB / 450.5 MB, free: 39.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003031/0.1727, allocations: 35.88 kB / 450.5 MB, free: 39.78 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.1738, allocations: 1.082 MB / 451.6 MB, free: 39.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008428/0.1746, allocations: 0.8894 MB / 452.5 MB, free: 38.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.175, allocations: 324.3 kB / 452.8 MB, free: 38.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001019/0.176, allocations: 1.904 MB / 454.7 MB, free: 37.97 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006328/0.1766, allocations: 1.093 MB / 455.8 MB, free: 37.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005986/0.1772, allocations: 1.038 MB / 456.9 MB, free: 37.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005813/0.1778, allocations: 0.9905 MB / 457.8 MB, free: 36.78 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.1779, allocations: 133.3 kB / 458 MB, free: 36.78 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005122/0.1784, allocations: 0.6768 MB / 458.6 MB, free: 36.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003631/0.1788, allocations: 0.9821 MB / 459.6 MB, free: 36.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002889/0.1791, allocations: 0.5787 MB / 460.2 MB, free: 35.94 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.1807, allocations: 3.663 MB / 463.9 MB, free: 34.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1807, allocations: 3.094 kB / 463.9 MB, free: 34.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1807, allocations: 0 / 463.9 MB, free: 34.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.157e-05/0.1807, allocations: 0 / 463.9 MB, free: 34.66 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.002041/0.1827, allocations: 2.619 MB / 466.5 MB, free: 33.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.1828, allocations: 9.75 kB / 466.5 MB, free: 33.04 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002648/0.183, allocations: 458.5 kB / 467 MB, free: 32.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00243/0.1855, allocations: 1.613 MB / 468.6 MB, free: 32.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009318/0.1864, allocations: 1.032 MB / 469.6 MB, free: 31.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.546e-05/0.1864, allocations: 118.2 kB / 469.7 MB, free: 31.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/0.1866, allocations: 154.9 kB / 469.9 MB, free: 31.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004043/0.1907, allocations: 6.191 MB / 476.1 MB, free: 28.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.964e-05/0.1907, allocations: 27.31 kB / 476.1 MB, free: 28.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.1908, allocations: 82.89 kB / 476.2 MB, free: 28.78 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001173/0.192, allocations: 1.441 MB / 477.6 MB, free: 28.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006046/0.198, allocations: 5.38 MB / 483 MB, free: 26.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01512/0.2132, allocations: 23.89 MB / 0.495 GB, free: 8.945 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002728/0.2159, allocations: 1.859 MB / 0.4968 GB, free: 8.375 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008617/0.2168, allocations: 0.8785 MB / 0.4977 GB, free: 8.039 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001898/0.2169, allocations: 95.92 kB / 0.4978 GB, free: 8.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.217, allocations: 44.56 kB / 0.4978 GB, free: 7.973 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 2.686e-06/0.217, allocations: 0 / 0.4978 GB, free: 7.973 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.01308/0.23, allocations: 8.614 MB / 0.5062 GB, free: 3.199 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.2301, allocations: 153.6 kB / 0.5064 GB, free: 3.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/0.2322, allocations: 2.804 MB / 0.5091 GB, free: 216 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.555e-05/0.2323, allocations: 38.27 kB / 0.5091 GB, free: 172 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001109/0.2334, allocations: 2.085 MB / 0.5112 GB, free: 14.06 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003022/0.2337, allocations: 452.6 kB / 0.5116 GB, free: 13.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007363/0.2344, allocations: 0.8578 MB / 0.5124 GB, free: 12.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.92e-05/0.2345, allocations: 301.1 kB / 0.5127 GB, free: 12.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/0.2359, allocations: 1.336 MB / 0.514 GB, free: 11.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002712/0.2386, allocations: 4.105 MB / 0.518 GB, free: 5.598 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004269/0.2429, allocations: 5.946 MB / 0.5238 GB, free: 14.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.977e-05/0.2429, allocations: 28 kB / 0.5239 GB, free: 14.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.005729/0.2487, allocations: 5.494 MB / 0.5292 GB, free: 8.734 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.208e-05/0.2487, allocations: 48 kB / 0.5293 GB, free: 8.688 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-05/0.2488, allocations: 100 kB / 0.5294 GB, free: 8.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006948/0.2495, allocations: 464.8 kB / 0.5298 GB, free: 8.137 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.251, allocations: 0.9747 MB / 0.5308 GB, free: 7.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0027/0.2537, allocations: 3.536 MB / 0.5342 GB, free: 3.512 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.2551, allocations: 223.7 kB / 0.5344 GB, free: 3.293 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002769/0.2554, allocations: 272 kB / 0.5347 GB, free: 3.027 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.001284/0.2567, allocations: 1.373 MB / 0.536 GB, free: 1.641 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.2568, allocations: 230.4 kB / 0.5363 GB, free: 1.414 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.2582, allocations: 1.315 MB / 0.5375 GB, free: 92 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.846e-05/0.2582, allocations: 15.94 kB / 0.5376 GB, free: 76 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.2582, allocations: 11.98 kB / 0.5376 GB, free: 64 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.2582, allocations: 3.984 kB / 0.5376 GB, free: 60 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00449/0.2627, allocations: 4.014 MB / 0.5415 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.2627, allocations: 3.312 kB / 0.5415 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000325/0.263, allocations: 139.8 kB / 0.5416 GB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004653/0.2635, allocations: 321 kB / 0.5419 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.276e-05/0.2635, allocations: 15.98 kB / 0.542 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002165/0.2657, allocations: 2.948 MB / 0.5448 GB, free: 8.465 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2657, allocations: 4.031 kB / 0.5448 GB, free: 8.461 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00267/0.2684, allocations: 3.076 MB / 0.5478 GB, free: 5.355 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/0.2686, allocations: 210.3 kB / 0.548 GB, free: 5.148 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.2687, allocations: 16 kB / 0.5481 GB, free: 5.133 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003724/0.2691, allocations: 44.06 kB / 0.5481 GB, free: 5.09 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.358e-05/0.2692, allocations: 64.33 kB / 0.5482 GB, free: 5.027 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.295e-05/0.2692, allocations: 31.98 kB / 0.5482 GB, free: 4.996 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00139/0.2706, allocations: 1.625 MB / 0.5498 GB, free: 3.359 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.2706, allocations: 0 / 0.5498 GB, free: 3.359 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00197/0.2726, allocations: 0.5859 MB / 0.5503 GB, free: 2.773 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.003002/0.2756, allocations: 3.697 MB / 0.554 GB, free: 15.04 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003099/0.2787, allocations: 3.105 MB / 0.557 GB, free: 11.95 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2787, allocations: 4 kB / 0.557 GB, free: 11.95 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006648/0.2793, allocations: 0.8087 MB / 0.5578 GB, free: 11.13 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007542/0.2801, allocations: 213.2 kB / 0.558 GB, free: 10.93 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02369/0.3038, allocations: 28.18 MB / 0.5855 GB, free: 11 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001255/0.305, allocations: 1.59 MB / 0.5871 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00166/0.3067, allocations: 1.383 MB / 0.5884 GB, free: 7.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008243/0.3075, allocations: 1.024 MB / 0.5894 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of SimCode: time 1.193e-06/0.3075, allocations: 0 / 0.5894 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04663/0.3542, allocations: 38.3 MB / 0.6268 GB, free: 1.086 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.736/9.09, allocations: 15.23 kB / 0.6268 GB, free: 1.078 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.222583265975118]