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.00133/0.00133, allocations: 110.5 kB / 21.1 MB, free: 0.7695 MB / 14.72 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.001377/0.001377, allocations: 205 kB / 24.38 MB, free: 4.188 MB / 14.72 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 1.416/1.416, allocations: 230.2 MB / 257.7 MB, free: 8.277 MB / 206.1 MB " [Timeout remaining time 178] 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.2237/0.2237, allocations: 46.88 MB / 361 MB, free: 4.457 MB / 286.1 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 0.002281/0.002281, allocations: 75.88 kB / 0.4962 GB, free: 8.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2964, allocations: 66.02 MB / 0.5606 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008682/0.3051, allocations: 6.786 MB / 0.5673 GB, free: 13.83 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005045/0.3102, allocations: 2.463 MB / 0.5697 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009389/0.3111, allocations: 35.88 kB / 0.5697 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002396/0.3135, allocations: 1.063 MB / 0.5707 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002744/0.3162, allocations: 0.8713 MB / 0.5716 GB, free: 9.383 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009385/0.3172, allocations: 311.2 kB / 0.5719 GB, free: 9.078 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002813/0.32, allocations: 1.864 MB / 0.5737 GB, free: 7.211 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.3215, allocations: 0.9597 MB / 0.5746 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.3225, allocations: 0.7199 MB / 0.5754 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001421/0.3239, allocations: 1.063 MB / 0.5764 GB, free: 4.438 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002836/0.3242, allocations: 128 kB / 0.5765 GB, free: 4.312 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.3254, allocations: 0.6513 MB / 0.5771 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009155/0.3263, allocations: 0.9462 MB / 0.5781 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001168/0.3275, allocations: 1.125 MB / 0.5792 GB, free: 1.578 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004367/0.3318, allocations: 3.707 MB / 0.5828 GB, free: 13.86 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3319, allocations: 0 / 0.5828 GB, free: 13.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3319, allocations: 0 / 0.5828 GB, free: 13.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.845e-05/0.3319, allocations: 0 / 0.5828 GB, free: 13.86 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.004832/0.3368, allocations: 2.719 MB / 0.5854 GB, free: 11.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3368, allocations: 12.03 kB / 0.5855 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005774/0.3374, allocations: 458.4 kB / 0.5859 GB, free: 10.61 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005322/0.3427, allocations: 1.578 MB / 0.5874 GB, free: 9.023 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002109/0.3448, allocations: 1.081 MB / 0.5885 GB, free: 7.898 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.646e-05/0.3449, allocations: 119.3 kB / 0.5886 GB, free: 7.781 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003672/0.3453, allocations: 159.8 kB / 0.5888 GB, free: 7.625 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009679/0.355, allocations: 6.186 MB / 0.5948 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.195e-05/0.355, allocations: 27.75 kB / 0.5948 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002601/0.3553, allocations: 83.89 kB / 0.5949 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002517/0.3578, allocations: 1.433 MB / 0.5963 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0101/0.3679, allocations: 5.396 MB / 0.6016 GB, free: 10.01 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03015/0.3981, allocations: 24.81 MB / 0.6258 GB, free: 404 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005014/0.4031, allocations: 2.262 MB / 0.628 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001231/0.4043, allocations: 0.8885 MB / 0.6289 GB, free: 13.09 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003799/0.4047, allocations: 319.1 kB / 0.6292 GB, free: 12.72 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.909e-05/0.4048, allocations: 54.44 kB / 0.6292 GB, free: 12.66 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 4.468e-06/0.4048, allocations: 0 / 0.6292 GB, free: 12.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=106): time 0.02324/0.428, allocations: 8.607 MB / 0.6376 GB, free: 3.918 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.884e-05/0.4281, allocations: 140.5 kB / 0.6378 GB, free: 3.75 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004004/0.4321, allocations: 2.64 MB / 0.6404 GB, free: 1.086 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001313/0.4322, allocations: 41.7 kB / 0.6404 GB, free: 1.039 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001651/0.4339, allocations: 2.108 MB / 0.6425 GB, free: 14.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005139/0.4344, allocations: 452.6 kB / 0.6429 GB, free: 14.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001318/0.4357, allocations: 0.8695 MB / 0.6437 GB, free: 13.58 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.4358, allocations: 301.1 kB / 0.644 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002157/0.438, allocations: 1.34 MB / 0.6453 GB, free: 11.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004366/0.4423, allocations: 4.104 MB / 0.6493 GB, free: 6.426 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007149/0.4495, allocations: 5.936 MB / 0.6551 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.382e-05/0.4496, allocations: 28 kB / 0.6552 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01018/0.4598, allocations: 5.49 MB / 0.6605 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.755e-05/0.4599, allocations: 48 kB / 0.6606 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001314/0.46, allocations: 100 kB / 0.6607 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/0.4611, allocations: 468.9 kB / 0.6611 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003113/0.4643, allocations: 0.9708 MB / 0.6621 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004698/0.469, allocations: 3.669 MB / 0.6656 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002909/0.4719, allocations: 243.6 kB / 0.6659 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007834/0.4727, allocations: 272 kB / 0.6661 GB, free: 3.695 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.002909/0.4756, allocations: 1.368 MB / 0.6675 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000563/0.4761, allocations: 234.4 kB / 0.6677 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002716/0.4788, allocations: 1.314 MB / 0.669 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.638e-05/0.4789, allocations: 16 kB / 0.669 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.4789, allocations: 0 / 0.669 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/0.4789, allocations: 11.92 kB / 0.669 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008492/0.4874, allocations: 4.194 MB / 0.6731 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.4874, allocations: 0 / 0.6731 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006691/0.4881, allocations: 143.8 kB / 0.6732 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008831/0.489, allocations: 312.6 kB / 0.6735 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.435e-05/0.4891, allocations: 23.98 kB / 0.6736 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003808/0.4929, allocations: 3.066 MB / 0.6765 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4929, allocations: 0 / 0.6765 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00474/0.4976, allocations: 3.079 MB / 0.6796 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005979/0.4982, allocations: 279.4 kB / 0.6798 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003521/0.4986, allocations: 19.98 kB / 0.6798 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000891/0.4994, allocations: 47.94 kB / 0.6799 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.4996, allocations: 64.28 kB / 0.6799 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.721e-05/0.4997, allocations: 27.98 kB / 0.68 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003001/0.5027, allocations: 1.628 MB / 0.6816 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.5027, allocations: 0 / 0.6816 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003594/0.5063, allocations: 0.5898 MB / 0.6821 GB, free: 3.008 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.005287/0.5116, allocations: 3.693 MB / 0.6857 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005376/0.5169, allocations: 3.102 MB / 0.6888 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.5169, allocations: 0 / 0.6888 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001228/0.5182, allocations: 0.7988 MB / 0.6896 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/0.5198, allocations: 219.1 kB / 0.6898 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04609/0.5659, allocations: 28.4 MB / 0.7175 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002847/0.5687, allocations: 2.167 MB / 0.7196 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003277/0.572, allocations: 1.395 MB / 0.721 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001831/0.5738, allocations: 1.019 MB / 0.722 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of SimCode: time 1.663e-06/0.5738, allocations: 0 / 0.722 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3232/0.8971, allocations: 42.09 MB / 0.7631 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.95/19.84, allocations: 7.938 kB / 0.7631 GB, free: 133.9 MB / 0.5606 GB " [Timeout remaining time 640] (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/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_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: 22.808254424948245]