Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 98.88 kB / 16.27 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 193.8 kB / 17.2 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1978/0.1978, allocations: 43.51 MB / 313.9 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 64.17 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09571/0.09723, allocations: 57.79 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.005865/0.1031, allocations: 6.804 MB / 447.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004148/0.1073, allocations: 2.388 MB / 449.8 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005423/0.1079, allocations: 27.94 kB / 449.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001887/0.1098, allocations: 1.043 MB / 450.9 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001599/0.1114, allocations: 0.8362 MB / 451.7 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006836/0.1121, allocations: 307.2 kB / 452 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001962/0.1141, allocations: 1.892 MB / 453.9 MB, free: 9.453 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.1154, allocations: 1.264 MB / 455.2 MB, free: 8.168 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008159/0.1163, allocations: 0.7199 MB / 455.9 MB, free: 7.445 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00109/0.1174, allocations: 0.9652 MB / 456.9 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002376/0.1176, allocations: 128 kB / 457 MB, free: 6.352 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.1187, allocations: 0.7098 MB / 457.7 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006972/0.1194, allocations: 0.9271 MB / 458.6 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009621/0.1204, allocations: 1.153 MB / 459.8 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003352/0.1238, allocations: 3.555 MB / 463.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1238, allocations: 0 / 463.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1238, allocations: 0 / 463.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.05e-05/0.1239, allocations: 0 / 463.3 MB, free: 15.98 MB / 350.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.004027/0.1279, allocations: 2.657 MB / 466 MB, free: 13.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.128, allocations: 19.89 kB / 466 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000455/0.1284, allocations: 458.4 kB / 466.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005318/0.1338, allocations: 1.573 MB / 468 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/0.1356, allocations: 1.065 MB / 469.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.76e-05/0.1357, allocations: 119.3 kB / 469.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002948/0.136, allocations: 159.8 kB / 469.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008073/0.144, allocations: 6.178 MB / 475.5 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.599e-05/0.1441, allocations: 27.66 kB / 475.6 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002179/0.1444, allocations: 83.89 kB / 475.6 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002326/0.1467, allocations: 1.445 MB / 477.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009297/0.156, allocations: 5.397 MB / 482.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02692/0.183, allocations: 24.87 MB / 0.4955 GB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004401/0.1874, allocations: 2.34 MB / 0.4977 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/0.1886, allocations: 0.9871 MB / 0.4987 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003239/0.1889, allocations: 335.6 kB / 0.499 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.1889, allocations: 46.55 kB / 0.4991 GB, free: 14.62 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 3.146e-06/0.189, allocations: 0 / 0.4991 GB, free: 14.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.02187/0.2108, allocations: 8.441 MB / 0.5073 GB, free: 6.047 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.263e-05/0.2109, allocations: 140.5 kB / 0.5075 GB, free: 5.879 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003314/0.2143, allocations: 2.636 MB / 0.51 GB, free: 3.219 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001744/0.2145, allocations: 37.7 kB / 0.5101 GB, free: 3.176 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001384/0.2158, allocations: 2.032 MB / 0.512 GB, free: 1.113 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003793/0.2162, allocations: 434.7 kB / 0.5125 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009497/0.2172, allocations: 0.8727 MB / 0.5133 GB, free: 15.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.087e-05/0.2173, allocations: 301.1 kB / 0.5136 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00176/0.2191, allocations: 1.332 MB / 0.5149 GB, free: 14.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003494/0.2226, allocations: 4.108 MB / 0.5189 GB, free: 8.645 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006571/0.2292, allocations: 5.936 MB / 0.5247 GB, free: 1.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-05/0.2292, allocations: 28 kB / 0.5247 GB, free: 1.293 MB / 414.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.195/0.4242, allocations: 5.481 MB / 0.5301 GB, free: 84.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.18e-05/0.4244, allocations: 47.34 kB / 0.5301 GB, free: 84.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001326/0.4245, allocations: 101.3 kB / 0.5302 GB, free: 84.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.4255, allocations: 463.6 kB / 0.5307 GB, free: 84.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002791/0.4283, allocations: 0.9765 MB / 0.5316 GB, free: 84.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003781/0.4321, allocations: 3.669 MB / 0.5352 GB, free: 83.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002692/0.4348, allocations: 236.8 kB / 0.5354 GB, free: 83.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004152/0.4353, allocations: 270.6 kB / 0.5357 GB, free: 83.15 MB / 414.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.002494/0.4378, allocations: 1.373 MB / 0.537 GB, free: 82.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005715/0.4384, allocations: 219.1 kB / 0.5372 GB, free: 82.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002684/0.4411, allocations: 1.323 MB / 0.5385 GB, free: 82.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.781e-05/0.4411, allocations: 13.05 kB / 0.5385 GB, free: 82.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.4411, allocations: 2.281 kB / 0.5386 GB, free: 82.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/0.4411, allocations: 9.344 kB / 0.5386 GB, free: 82.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007513/0.4487, allocations: 4.249 MB / 0.5427 GB, free: 80.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.978e-06/0.4487, allocations: 2.719 kB / 0.5427 GB, free: 80.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006134/0.4493, allocations: 139.9 kB / 0.5428 GB, free: 80.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007634/0.4501, allocations: 317.7 kB / 0.5431 GB, free: 80.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.94e-05/0.4502, allocations: 11.91 kB / 0.5432 GB, free: 80.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002456/0.4526, allocations: 3.031 MB / 0.5461 GB, free: 78.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.4526, allocations: 3.938 kB / 0.5461 GB, free: 78.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003202/0.4559, allocations: 3.064 MB / 0.5491 GB, free: 76.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006179/0.4565, allocations: 412 kB / 0.5495 GB, free: 76.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002268/0.4567, allocations: 18.45 kB / 0.5495 GB, free: 76.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007101/0.4574, allocations: 46.98 kB / 0.5496 GB, free: 76.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.4576, allocations: 59.77 kB / 0.5496 GB, free: 76.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.98e-05/0.4577, allocations: 28.38 kB / 0.5497 GB, free: 76.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001919/0.4596, allocations: 1.635 MB / 0.5513 GB, free: 76.1 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4596, allocations: 0 / 0.5513 GB, free: 76.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002807/0.4624, allocations: 0.5949 MB / 0.5518 GB, free: 75.86 MB / 414.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.003372/0.4658, allocations: 3.685 MB / 0.5554 GB, free: 72.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00402/0.4698, allocations: 3.468 MB / 0.5588 GB, free: 69.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/0.4698, allocations: 0 / 0.5588 GB, free: 69.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008309/0.4707, allocations: 0.86 MB / 0.5597 GB, free: 68.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.4719, allocations: 209.8 kB / 0.5599 GB, free: 68.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02731/0.4992, allocations: 30.32 MB / 0.5895 GB, free: 32.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001565/0.5008, allocations: 2.177 MB / 0.5916 GB, free: 30.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002608/0.5035, allocations: 1.384 MB / 0.5929 GB, free: 29.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001206/0.5047, allocations: 1.033 MB / 0.594 GB, free: 28.35 MB / 414.1 MB Notification: Performance of SimCode: time 1.893e-06/0.5047, allocations: 0 / 0.594 GB, free: 28.35 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06183/0.5665, allocations: 41.08 MB / 0.6341 GB, free: 3.289 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.25, allocations: 10.95 kB / 0.6341 GB, free: 3.281 MB / 430.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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.00044 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches