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.001476/0.001476, allocations: 131.4 kB / 17.79 MB, free: 5.242 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.001735/0.001735, allocations: 211.6 kB / 20.75 MB, free: 2.293 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.495/1.495, allocations: 230.4 MB / 254 MB, free: 15 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.2333/0.2333, allocations: 46.92 MB / 357 MB, free: 10.16 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.002558/0.002558, allocations: 79.88 kB / 0.491 GB, free: 7.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1308, allocations: 66.05 MB / 0.5555 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.009795/0.1406, allocations: 6.795 MB / 0.5621 GB, free: 14.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005716/0.1463, allocations: 2.446 MB / 0.5645 GB, free: 12.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.1474, allocations: 35.88 kB / 0.5645 GB, free: 12.19 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002649/0.15, allocations: 1.078 MB / 0.5656 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00259/0.1526, allocations: 0.8519 MB / 0.5664 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009981/0.1536, allocations: 303.2 kB / 0.5667 GB, free: 9.957 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002943/0.1566, allocations: 1.875 MB / 0.5685 GB, free: 8.078 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001825/0.1584, allocations: 1.08 MB / 0.5696 GB, free: 6.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001573/0.16, allocations: 0.7238 MB / 0.5703 GB, free: 6.254 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002148/0.1621, allocations: 1.063 MB / 0.5713 GB, free: 5.188 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006043/0.1627, allocations: 128 kB / 0.5714 GB, free: 5.062 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002009/0.1647, allocations: 0.7721 MB / 0.5722 GB, free: 4.289 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001352/0.1661, allocations: 0.9424 MB / 0.5731 GB, free: 3.344 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002353/0.1684, allocations: 1.121 MB / 0.5742 GB, free: 2.215 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005767/0.1742, allocations: 3.738 MB / 0.5779 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.1742, allocations: 4 kB / 0.5779 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1742, allocations: 0 / 0.5779 GB, free: 14.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001555/0.1744, allocations: 0 / 0.5779 GB, free: 14.46 MB / 446.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.005948/0.1803, allocations: 2.723 MB / 0.5805 GB, free: 11.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1804, allocations: 8.031 kB / 0.5805 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006686/0.181, allocations: 458.4 kB / 0.581 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005624/0.1866, allocations: 1.582 MB / 0.5825 GB, free: 9.621 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/0.1888, allocations: 1.085 MB / 0.5836 GB, free: 8.496 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.1889, allocations: 115.3 kB / 0.5837 GB, free: 8.383 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003481/0.1892, allocations: 159.8 kB / 0.5838 GB, free: 8.227 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009752/0.199, allocations: 6.182 MB / 0.5899 GB, free: 1.555 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-05/0.199, allocations: 27.75 kB / 0.5899 GB, free: 1.527 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002527/0.1993, allocations: 83.89 kB / 0.59 GB, free: 1.445 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00262/0.2019, allocations: 1.437 MB / 0.5914 GB, free: 4 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2319/0.4338, allocations: 5.388 MB / 0.5966 GB, free: 30.87 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02302/0.4568, allocations: 24.82 MB / 0.6209 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004147/0.461, allocations: 2.252 MB / 0.6231 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/0.462, allocations: 0.8747 MB / 0.6239 GB, free: 11.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002577/0.4622, allocations: 334.6 kB / 0.6243 GB, free: 11.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.4623, allocations: 38.41 kB / 0.6243 GB, free: 11.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 3.116e-06/0.4623, allocations: 1.125 kB / 0.6243 GB, free: 11.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.02028/0.4825, allocations: 8.562 MB / 0.6326 GB, free: 6.758 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.4826, allocations: 139 kB / 0.6328 GB, free: 6.598 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002654/0.4852, allocations: 2.639 MB / 0.6354 GB, free: 5.207 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000116/0.4853, allocations: 37.7 kB / 0.6354 GB, free: 5.164 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007517/0.4861, allocations: 2.11 MB / 0.6375 GB, free: 3.074 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002885/0.4864, allocations: 456.1 kB / 0.6379 GB, free: 2.633 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007601/0.4871, allocations: 0.8733 MB / 0.6387 GB, free: 1.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.9e-05/0.4872, allocations: 309.1 kB / 0.639 GB, free: 1.445 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/0.4886, allocations: 1.332 MB / 0.6403 GB, free: 108 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004562/0.4931, allocations: 4.105 MB / 0.6443 GB, free: 10.6 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00729/0.5004, allocations: 5.938 MB / 0.6501 GB, free: 3.281 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.984e-05/0.5005, allocations: 28 kB / 0.6502 GB, free: 3.254 MB / 462.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009899/0.5104, allocations: 5.502 MB / 0.6555 GB, free: 13.74 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.752e-05/0.5105, allocations: 50.03 kB / 0.6556 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001116/0.5106, allocations: 96.09 kB / 0.6557 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001186/0.5118, allocations: 464.5 kB / 0.6561 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002964/0.5147, allocations: 0.9708 MB / 0.6571 GB, free: 12.17 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004745/0.5195, allocations: 3.676 MB / 0.6607 GB, free: 8.367 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002612/0.5221, allocations: 227.7 kB / 0.6609 GB, free: 8.145 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000402/0.5225, allocations: 272 kB / 0.6611 GB, free: 7.879 MB / 478.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.002004/0.5245, allocations: 1.368 MB / 0.6625 GB, free: 6.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004633/0.5249, allocations: 226.5 kB / 0.6627 GB, free: 6.277 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002631/0.5276, allocations: 1.321 MB / 0.664 GB, free: 4.941 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/0.5276, allocations: 12 kB / 0.664 GB, free: 4.93 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.5276, allocations: 4 kB / 0.664 GB, free: 4.926 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.5276, allocations: 10.98 kB / 0.664 GB, free: 4.918 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008008/0.5356, allocations: 4.194 MB / 0.6681 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/0.5356, allocations: 3.938 kB / 0.6681 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006677/0.5363, allocations: 139.8 kB / 0.6682 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009094/0.5372, allocations: 312.6 kB / 0.6685 GB, free: 244 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.04e-05/0.5373, allocations: 27.81 kB / 0.6686 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003902/0.5412, allocations: 3.06 MB / 0.6716 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-06/0.5412, allocations: 8.094 kB / 0.6716 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004523/0.5457, allocations: 3.079 MB / 0.6746 GB, free: 9.914 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005726/0.5463, allocations: 283.5 kB / 0.6748 GB, free: 9.617 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002139/0.5465, allocations: 19.94 kB / 0.6749 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007429/0.5472, allocations: 47.94 kB / 0.6749 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.5474, allocations: 52.36 kB / 0.675 GB, free: 9.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.096e-05/0.5475, allocations: 26.16 kB / 0.675 GB, free: 9.477 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002412/0.5499, allocations: 1.628 MB / 0.6766 GB, free: 7.836 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5499, allocations: 0 / 0.6766 GB, free: 7.836 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003064/0.553, allocations: 0.5937 MB / 0.6772 GB, free: 7.242 MB / 494.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.004991/0.5579, allocations: 3.694 MB / 0.6808 GB, free: 3.523 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005134/0.5631, allocations: 3.104 MB / 0.6838 GB, free: 440 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5631, allocations: 0 / 0.6838 GB, free: 440 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001243/0.5643, allocations: 0.8044 MB / 0.6846 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.5657, allocations: 207.1 kB / 0.6848 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04044/0.6062, allocations: 28.36 MB / 0.7125 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002318/0.6085, allocations: 2.167 MB / 0.7146 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002929/0.6114, allocations: 1.387 MB / 0.7159 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00141/0.6128, allocations: 1.026 MB / 0.7169 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of SimCode: time 1.022e-06/0.6128, allocations: 3.938 kB / 0.7169 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0825/0.6953, allocations: 38.62 MB / 0.7547 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.79/19.49, allocations: 10.02 kB / 0.7547 GB, free: 4.277 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.1.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.634728241944686]