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.001474/0.001474, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001756/0.001756, allocations: 213.9 kB / 23.73 MB, free: 4.16 MB / 14.72 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 1.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.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.2175/0.2175, allocations: 44.93 MB / 358.8 MB, free: 6.062 MB / 286.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.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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002351/0.002351, allocations: 67.89 kB / 0.493 GB, free: 10.56 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3446, allocations: 65.47 MB / 0.557 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008656/0.3533, allocations: 6.046 MB / 0.5629 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005128/0.3584, allocations: 2.296 MB / 0.5651 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009556/0.3594, allocations: 35.81 kB / 0.5651 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002355/0.3617, allocations: 1.031 MB / 0.5661 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002525/0.3642, allocations: 0.8636 MB / 0.567 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009417/0.3652, allocations: 307.2 kB / 0.5673 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002897/0.3681, allocations: 1.868 MB / 0.5691 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002046/0.3701, allocations: 1.099 MB / 0.5702 GB, free: 9.973 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001482/0.3716, allocations: 0.72 MB / 0.5709 GB, free: 9.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001925/0.3735, allocations: 1.016 MB / 0.5719 GB, free: 8.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005044/0.374, allocations: 132 kB / 0.572 GB, free: 8.102 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001612/0.3756, allocations: 0.6357 MB / 0.5726 GB, free: 7.465 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001346/0.377, allocations: 0.9462 MB / 0.5735 GB, free: 6.516 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001563/0.3786, allocations: 0.7951 MB / 0.5743 GB, free: 5.715 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004858/0.3834, allocations: 3.738 MB / 0.578 GB, free: 1.961 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.3834, allocations: 0 / 0.578 GB, free: 1.961 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3834, allocations: 4 kB / 0.578 GB, free: 1.957 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000138/0.3836, allocations: 0 / 0.578 GB, free: 1.957 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.006306/0.3899, allocations: 2.649 MB / 0.5806 GB, free: 15.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.3899, allocations: 8.031 kB / 0.5806 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009934/0.3909, allocations: 462.4 kB / 0.581 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005704/0.3966, allocations: 1.582 MB / 0.5826 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002932/0.3995, allocations: 1.031 MB / 0.5836 GB, free: 12.15 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.3997, allocations: 115.3 kB / 0.5837 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006036/0.4003, allocations: 159.8 kB / 0.5838 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01165/0.4119, allocations: 6.178 MB / 0.5899 GB, free: 5.215 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001022/0.412, allocations: 27.81 kB / 0.5899 GB, free: 5.188 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005982/0.4126, allocations: 79.88 kB / 0.59 GB, free: 5.109 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002854/0.4155, allocations: 1.445 MB / 0.5914 GB, free: 3.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01135/0.4268, allocations: 5.377 MB / 0.5966 GB, free: 14.28 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03261/0.4594, allocations: 23.87 MB / 0.6199 GB, free: 5.602 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004364/0.4638, allocations: 1.811 MB / 0.6217 GB, free: 3.754 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/0.465, allocations: 0.8843 MB / 0.6226 GB, free: 2.859 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002505/0.4653, allocations: 87.8 kB / 0.6226 GB, free: 2.773 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/0.4653, allocations: 46.5 kB / 0.6227 GB, free: 2.719 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 3.707e-06/0.4653, allocations: 3.938 kB / 0.6227 GB, free: 2.715 MB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02272/0.4881, allocations: 8.387 MB / 0.6309 GB, free: 10.25 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.4882, allocations: 136.5 kB / 0.631 GB, free: 10.09 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003933/0.4921, allocations: 2.802 MB / 0.6338 GB, free: 7.262 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001653/0.4923, allocations: 45.62 kB / 0.6338 GB, free: 7.211 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001618/0.4939, allocations: 2.112 MB / 0.6359 GB, free: 5.078 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004859/0.4944, allocations: 452.6 kB / 0.6363 GB, free: 4.633 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001089/0.4955, allocations: 0.8773 MB / 0.6371 GB, free: 3.742 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.4956, allocations: 305.1 kB / 0.6374 GB, free: 3.441 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001993/0.4976, allocations: 1.332 MB / 0.6387 GB, free: 2.102 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004547/0.5021, allocations: 4.104 MB / 0.6427 GB, free: 12.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008089/0.5102, allocations: 5.946 MB / 0.6486 GB, free: 5.266 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.451e-05/0.5103, allocations: 28 kB / 0.6486 GB, free: 5.238 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009833/0.5201, allocations: 5.488 MB / 0.6539 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.856e-05/0.5202, allocations: 48 kB / 0.654 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.717e-05/0.5203, allocations: 96 kB / 0.6541 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/0.5214, allocations: 464.9 kB / 0.6545 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002724/0.5241, allocations: 0.9708 MB / 0.6555 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004995/0.5291, allocations: 3.55 MB / 0.6589 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002759/0.5319, allocations: 231.7 kB / 0.6592 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003692/0.5323, allocations: 272 kB / 0.6594 GB, free: 10.02 MB / 0.4981 GB 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.00229/0.5345, allocations: 1.365 MB / 0.6607 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004976/0.535, allocations: 238.3 kB / 0.661 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002373/0.5374, allocations: 1.322 MB / 0.6623 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-05/0.5374, allocations: 12 kB / 0.6623 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.5374, allocations: 4 kB / 0.6623 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.5375, allocations: 3.984 kB / 0.6623 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007516/0.545, allocations: 4.008 MB / 0.6662 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/0.545, allocations: 4 kB / 0.6662 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00062/0.5456, allocations: 139.8 kB / 0.6663 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008915/0.5465, allocations: 312.5 kB / 0.6666 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.435e-05/0.5466, allocations: 20 kB / 0.6667 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003709/0.5503, allocations: 2.951 MB / 0.6695 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5503, allocations: 0 / 0.6695 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004524/0.5548, allocations: 3.079 MB / 0.6725 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005614/0.5554, allocations: 214.3 kB / 0.6727 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/0.5556, allocations: 12 kB / 0.6728 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007039/0.5563, allocations: 47.94 kB / 0.6728 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.5564, allocations: 52.33 kB / 0.6729 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.588e-05/0.5565, allocations: 32 kB / 0.6729 GB, free: 12 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002446/0.5589, allocations: 1.625 MB / 0.6745 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.5589, allocations: 0 / 0.6745 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002964/0.5619, allocations: 0.5936 MB / 0.675 GB, free: 9.766 MB / 0.5137 GB 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.005007/0.5669, allocations: 3.687 MB / 0.6786 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005223/0.5721, allocations: 3.104 MB / 0.6817 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.5721, allocations: 4 kB / 0.6817 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.5734, allocations: 0.8014 MB / 0.6825 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.5747, allocations: 215.3 kB / 0.6827 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04086/0.6156, allocations: 28.4 MB / 0.7104 GB, free: 1.789 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002113/0.6177, allocations: 1.606 MB / 0.712 GB, free: 156 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0029/0.6206, allocations: 1.383 MB / 0.7133 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001373/0.622, allocations: 1.015 MB / 0.7143 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of SimCode: time 8.32e-07/0.622, allocations: 0 / 0.7143 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3566/0.9786, allocations: 38.22 MB / 0.7516 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.47/15.45, allocations: 3.984 kB / 0.7517 GB, free: 148.7 MB / 0.5606 GB " [Timeout remaining time 644] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/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: 18.579147041775286]