Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001748/0.001748, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002006/0.002006, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.454/1.454, allocations: 230.6 MB / 257.5 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.227/0.227, allocations: 46.95 MB / 360.9 MB, free: 4 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 72.03 kB / 0.4961 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3059, allocations: 66.05 MB / 0.5606 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008303/0.3142, allocations: 6.025 MB / 0.5665 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004739/0.319, allocations: 2.304 MB / 0.5687 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006436/0.3196, allocations: 43.81 kB / 0.5688 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002107/0.3217, allocations: 1.035 MB / 0.5698 GB, free: 10.72 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002047/0.3238, allocations: 0.8675 MB / 0.5706 GB, free: 9.852 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007323/0.3245, allocations: 307.3 kB / 0.5709 GB, free: 9.551 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002277/0.3268, allocations: 1.864 MB / 0.5727 GB, free: 7.684 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.3282, allocations: 1.088 MB / 0.5738 GB, free: 6.574 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.3292, allocations: 0.7199 MB / 0.5745 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001462/0.3307, allocations: 1.02 MB / 0.5755 GB, free: 4.828 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002938/0.331, allocations: 128 kB / 0.5756 GB, free: 4.703 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.3322, allocations: 0.6395 MB / 0.5762 GB, free: 4.062 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008885/0.3331, allocations: 0.9462 MB / 0.5772 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000838/0.3339, allocations: 0.7873 MB / 0.5779 GB, free: 2.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004069/0.338, allocations: 3.746 MB / 0.5816 GB, free: 14.56 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.338, allocations: 4 kB / 0.5816 GB, free: 14.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.338, allocations: 0 / 0.5816 GB, free: 14.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.165e-05/0.3381, allocations: 0 / 0.5816 GB, free: 14.55 MB / 430.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.004463/0.3425, allocations: 2.643 MB / 0.5842 GB, free: 11.87 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.3426, allocations: 12.03 kB / 0.5842 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005924/0.3432, allocations: 462.3 kB / 0.5846 GB, free: 11.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005229/0.3484, allocations: 1.578 MB / 0.5862 GB, free: 9.812 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002434/0.3508, allocations: 1.027 MB / 0.5872 GB, free: 8.754 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.3509, allocations: 119.3 kB / 0.5873 GB, free: 8.637 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003297/0.3513, allocations: 159.8 kB / 0.5874 GB, free: 8.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009565/0.3608, allocations: 6.182 MB / 0.5935 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.6e-05/0.3609, allocations: 27.75 kB / 0.5935 GB, free: 1.785 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002263/0.3611, allocations: 79.89 kB / 0.5936 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002442/0.3636, allocations: 1.441 MB / 0.595 GB, free: 268 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00942/0.373, allocations: 5.381 MB / 0.6002 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03011/0.4031, allocations: 23.88 MB / 0.6236 GB, free: 2.195 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004443/0.4075, allocations: 1.811 MB / 0.6253 GB, free: 360 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001234/0.4088, allocations: 0.8785 MB / 0.6262 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002615/0.409, allocations: 91.8 kB / 0.6263 GB, free: 15.37 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.55e-05/0.4091, allocations: 46.5 kB / 0.6263 GB, free: 15.31 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.277e-06/0.4091, allocations: 4 kB / 0.6263 GB, free: 15.31 MB / 478.1 MB Notification: Performance of matching and sorting (n=106): time 0.02222/0.4313, allocations: 8.378 MB / 0.6345 GB, free: 6.863 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.4314, allocations: 144.5 kB / 0.6346 GB, free: 6.691 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003521/0.4349, allocations: 2.794 MB / 0.6374 GB, free: 3.871 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001192/0.435, allocations: 45.64 kB / 0.6374 GB, free: 3.82 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001518/0.4366, allocations: 2.112 MB / 0.6395 GB, free: 1.688 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000461/0.437, allocations: 456.6 kB / 0.6399 GB, free: 1.238 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001051/0.4381, allocations: 0.8812 MB / 0.6408 GB, free: 340 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.4382, allocations: 301.1 kB / 0.6411 GB, free: 36 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00191/0.4401, allocations: 1.332 MB / 0.6424 GB, free: 14.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004132/0.4442, allocations: 4.108 MB / 0.6464 GB, free: 9.184 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007349/0.4516, allocations: 5.933 MB / 0.6522 GB, free: 1.871 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-05/0.4517, allocations: 28 kB / 0.6522 GB, free: 1.844 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009976/0.4616, allocations: 5.487 MB / 0.6576 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.475e-05/0.4617, allocations: 48 kB / 0.6576 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001162/0.4618, allocations: 107.9 kB / 0.6577 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/0.4629, allocations: 461.2 kB / 0.6581 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002865/0.4658, allocations: 0.9708 MB / 0.6591 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004571/0.4704, allocations: 3.546 MB / 0.6626 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00342/0.4738, allocations: 227.7 kB / 0.6628 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006288/0.4744, allocations: 272 kB / 0.663 GB, free: 6.621 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.002155/0.4766, allocations: 1.365 MB / 0.6644 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004726/0.4771, allocations: 234.4 kB / 0.6646 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002525/0.4796, allocations: 1.318 MB / 0.6659 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-05/0.4796, allocations: 12 kB / 0.6659 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.4796, allocations: 8 kB / 0.6659 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.4796, allocations: 3.984 kB / 0.6659 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008158/0.4878, allocations: 4.018 MB / 0.6698 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.4878, allocations: 0 / 0.6698 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006678/0.4885, allocations: 135.8 kB / 0.6699 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008725/0.4893, allocations: 312.5 kB / 0.6702 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.949e-05/0.4894, allocations: 20 kB / 0.6703 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003627/0.4931, allocations: 2.947 MB / 0.6731 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4931, allocations: 0 / 0.6731 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004436/0.4975, allocations: 3.082 MB / 0.6762 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006316/0.4981, allocations: 210.3 kB / 0.6764 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002339/0.4984, allocations: 16 kB / 0.6764 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007305/0.4991, allocations: 52 kB / 0.6764 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.4992, allocations: 60.27 kB / 0.6765 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.957e-05/0.4993, allocations: 28 kB / 0.6765 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002446/0.5018, allocations: 1.621 MB / 0.6781 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.5018, allocations: 0 / 0.6781 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003211/0.505, allocations: 0.5939 MB / 0.6787 GB, free: 6.367 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.004964/0.5099, allocations: 3.703 MB / 0.6823 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005104/0.515, allocations: 3.091 MB / 0.6853 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.515, allocations: 0 / 0.6853 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.5162, allocations: 0.8052 MB / 0.6861 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/0.5177, allocations: 212.2 kB / 0.6863 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04074/0.5584, allocations: 28.41 MB / 0.714 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002197/0.5606, allocations: 1.586 MB / 0.7156 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002957/0.5636, allocations: 1.395 MB / 0.7169 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001421/0.565, allocations: 1.015 MB / 0.7179 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of SimCode: time 9.72e-07/0.565, allocations: 0 / 0.7179 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.298/0.863, allocations: 38.23 MB / 0.7553 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.42/15.29, allocations: 12 kB / 0.7553 GB, free: 142 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.406364838127047]