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.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.001325/0.001324, allocations: 119.9 kB / 18.45 MB, free: 4.637 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.00136/0.001361, allocations: 190 kB / 21.39 MB, free: 1.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 247.1 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] 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.3134/0.3134, allocations: 44.27 MB / 343.5 MB, free: 7.59 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(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 0.001915/0.001915, allocations: 64.91 kB / 478.8 MB, free: 24.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1056, allocations: 60.81 MB / 0.527 GB, free: 13.7 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008704/0.1143, allocations: 6.785 MB / 0.5336 GB, free: 6.863 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005626/0.12, allocations: 2.4 MB / 0.536 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.1213, allocations: 31.94 kB / 0.536 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002396/0.1237, allocations: 1.035 MB / 0.537 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002604/0.1264, allocations: 0.8479 MB / 0.5378 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009567/0.1274, allocations: 295.2 kB / 0.5381 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002768/0.1302, allocations: 1.889 MB / 0.54 GB, free: 360 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001627/0.1318, allocations: 1.264 MB / 0.5412 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.1329, allocations: 0.7238 MB / 0.5419 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001349/0.1343, allocations: 0.9614 MB / 0.5428 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003177/0.1346, allocations: 128 kB / 0.543 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.1359, allocations: 0.7176 MB / 0.5437 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008957/0.1368, allocations: 0.9348 MB / 0.5446 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00114/0.138, allocations: 1.137 MB / 0.5457 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004367/0.1424, allocations: 3.765 MB / 0.5494 GB, free: 6.668 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1424, allocations: 0 / 0.5494 GB, free: 6.668 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1424, allocations: 4 kB / 0.5494 GB, free: 6.664 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.575e-05/0.1425, allocations: 0 / 0.5494 GB, free: 6.664 MB / 414.1 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.004704/0.1472, allocations: 2.736 MB / 0.552 GB, free: 3.867 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.1472, allocations: 8.031 kB / 0.5521 GB, free: 3.859 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005596/0.1478, allocations: 462.3 kB / 0.5525 GB, free: 3.398 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005538/0.1534, allocations: 1.586 MB / 0.554 GB, free: 1.809 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002152/0.1555, allocations: 1.081 MB / 0.5551 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.1557, allocations: 119.3 kB / 0.5552 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003817/0.1561, allocations: 163.8 kB / 0.5554 GB, free: 420 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009877/0.1659, allocations: 6.178 MB / 0.5614 GB, free: 9.742 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.359e-05/0.1661, allocations: 27.7 kB / 0.5614 GB, free: 9.715 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002757/0.1663, allocations: 83.89 kB / 0.5615 GB, free: 9.633 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002546/0.1689, allocations: 1.441 MB / 0.5629 GB, free: 8.191 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009872/0.1788, allocations: 5.393 MB / 0.5682 GB, free: 2.797 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.251/0.4298, allocations: 24.81 MB / 0.5924 GB, free: 35.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00454/0.4344, allocations: 2.337 MB / 0.5947 GB, free: 34.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/0.4356, allocations: 0.9963 MB / 0.5957 GB, free: 34.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002858/0.4359, allocations: 324.5 kB / 0.596 GB, free: 34.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.436, allocations: 42.98 kB / 0.596 GB, free: 34.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 3.887e-06/0.436, allocations: 1.125 kB / 0.596 GB, free: 34.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.02488/0.4609, allocations: 8.562 MB / 0.6044 GB, free: 31.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.461, allocations: 140.4 kB / 0.6045 GB, free: 31.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004861/0.4659, allocations: 2.656 MB / 0.6071 GB, free: 30.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001701/0.4661, allocations: 38.23 kB / 0.6071 GB, free: 30.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001289/0.4673, allocations: 2.113 MB / 0.6092 GB, free: 28.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005216/0.4679, allocations: 460 kB / 0.6096 GB, free: 28.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001475/0.4694, allocations: 0.8674 MB / 0.6105 GB, free: 28.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.372e-05/0.4694, allocations: 305.1 kB / 0.6108 GB, free: 27.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001955/0.4714, allocations: 1.334 MB / 0.6121 GB, free: 27.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002881/0.4743, allocations: 4.107 MB / 0.6161 GB, free: 23.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004992/0.4793, allocations: 5.939 MB / 0.6219 GB, free: 18.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001518/0.4795, allocations: 27.53 kB / 0.6219 GB, free: 18.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008611/0.4881, allocations: 5.511 MB / 0.6273 GB, free: 15.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.4883, allocations: 45.19 kB / 0.6273 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001471/0.4884, allocations: 104.2 kB / 0.6274 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.4895, allocations: 453.3 kB / 0.6279 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002645/0.4921, allocations: 0.9723 MB / 0.6288 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003256/0.4954, allocations: 3.681 MB / 0.6324 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003026/0.4985, allocations: 231.6 kB / 0.6326 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005977/0.4991, allocations: 268 kB / 0.6329 GB, free: 11.43 MB / 446.1 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.001993/0.5011, allocations: 1.373 MB / 0.6342 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005126/0.5016, allocations: 226.5 kB / 0.6345 GB, free: 9.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/0.5038, allocations: 1.322 MB / 0.6357 GB, free: 8.492 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.821e-05/0.5039, allocations: 12 kB / 0.6358 GB, free: 8.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/0.5039, allocations: 8 kB / 0.6358 GB, free: 8.473 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.5039, allocations: 8.391 kB / 0.6358 GB, free: 8.465 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006881/0.5108, allocations: 4.187 MB / 0.6399 GB, free: 4.238 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.5108, allocations: 0 / 0.6399 GB, free: 4.238 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006107/0.5115, allocations: 139.8 kB / 0.64 GB, free: 4.102 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007622/0.5122, allocations: 316.6 kB / 0.6403 GB, free: 3.789 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-05/0.5123, allocations: 27.86 kB / 0.6403 GB, free: 3.762 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002528/0.5149, allocations: 3.06 MB / 0.6433 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.5149, allocations: 7.969 kB / 0.6433 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004608/0.5195, allocations: 3.089 MB / 0.6463 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008473/0.5204, allocations: 279.5 kB / 0.6466 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000533/0.5209, allocations: 27.03 kB / 0.6466 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/0.5221, allocations: 43.94 kB / 0.6467 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000199/0.5223, allocations: 56.25 kB / 0.6467 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.085e-05/0.5224, allocations: 31.98 kB / 0.6468 GB, free: 13 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003552/0.526, allocations: 1.625 MB / 0.6483 GB, free: 11.37 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.526, allocations: 4.062 kB / 0.6483 GB, free: 11.36 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004308/0.5303, allocations: 0.6053 MB / 0.6489 GB, free: 10.76 MB / 462.1 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.00584/0.5362, allocations: 3.698 MB / 0.6525 GB, free: 7.031 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005532/0.5418, allocations: 3.23 MB / 0.6557 GB, free: 3.82 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5418, allocations: 0 / 0.6557 GB, free: 3.82 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001253/0.543, allocations: 0.8718 MB / 0.6565 GB, free: 2.934 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.5447, allocations: 213.5 kB / 0.6568 GB, free: 2.73 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04227/0.587, allocations: 28.39 MB / 0.6845 GB, free: 2.633 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002621/0.5897, allocations: 2.172 MB / 0.6866 GB, free: 444 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003155/0.5928, allocations: 1.388 MB / 0.688 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001623/0.5945, allocations: 1.023 MB / 0.689 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of SimCode: time 1.122e-06/0.5945, allocations: 0 / 0.689 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08536/0.6799, allocations: 38.44 MB / 0.7265 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.56/19.24, allocations: 11.72 kB / 0.7265 GB, free: 7.816 MB / 0.5294 GB " [Timeout remaining time 641] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 22.288377171964385]