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.001514/0.001514, allocations: 109.9 kB / 16.41 MB, free: 6.445 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.001664/0.001664, allocations: 187.2 kB / 17.34 MB, free: 5.738 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.219/1.219, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.1876/0.1876, allocations: 43.52 MB / 314.1 MB, free: 460 kB / 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.00142/0.00142, allocations: 63.91 kB / 441.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08776/0.08919, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.00733/0.09655, allocations: 6.807 MB / 0.494 GB, free: 5.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004096/0.1007, allocations: 2.384 MB / 0.4964 GB, free: 3.086 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006758/0.1014, allocations: 31.94 kB / 0.4964 GB, free: 3.055 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002053/0.1035, allocations: 1.039 MB / 0.4974 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001891/0.1054, allocations: 0.8635 MB / 0.4983 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007315/0.1061, allocations: 299.2 kB / 0.4985 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002159/0.1083, allocations: 1.904 MB / 0.5004 GB, free: 14.94 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001455/0.1098, allocations: 1.264 MB / 0.5016 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009421/0.1107, allocations: 0.7121 MB / 0.5023 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.112, allocations: 0.9769 MB / 0.5033 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003157/0.1123, allocations: 128 kB / 0.5034 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/0.1134, allocations: 0.7098 MB / 0.5041 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008771/0.1143, allocations: 0.9426 MB / 0.505 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001199/0.1156, allocations: 1.141 MB / 0.5061 GB, free: 9.031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003549/0.1191, allocations: 3.761 MB / 0.5098 GB, free: 5.254 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1191, allocations: 0 / 0.5098 GB, free: 5.254 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1191, allocations: 4 kB / 0.5098 GB, free: 5.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.396e-05/0.1192, allocations: 0 / 0.5098 GB, free: 5.25 MB / 398.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.003919/0.1231, allocations: 2.726 MB / 0.5125 GB, free: 2.461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.1232, allocations: 15.89 kB / 0.5125 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004619/0.1236, allocations: 458.4 kB / 0.5129 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00517/0.1288, allocations: 1.586 MB / 0.5145 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001961/0.1308, allocations: 1.089 MB / 0.5155 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.762e-05/0.1309, allocations: 123.3 kB / 0.5157 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003099/0.1312, allocations: 151.8 kB / 0.5158 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007732/0.1389, allocations: 6.194 MB / 0.5218 GB, free: 8.309 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.506e-05/0.139, allocations: 23.81 kB / 0.5219 GB, free: 8.285 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002223/0.1393, allocations: 79.89 kB / 0.5219 GB, free: 8.207 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002281/0.1415, allocations: 1.445 MB / 0.5234 GB, free: 6.754 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008246/0.1498, allocations: 5.389 MB / 0.5286 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1984/0.3482, allocations: 24.81 MB / 0.5528 GB, free: 19.1 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004373/0.3526, allocations: 2.342 MB / 0.5551 GB, free: 17.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001099/0.3537, allocations: 0.9874 MB / 0.5561 GB, free: 17.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002641/0.354, allocations: 325.4 kB / 0.5564 GB, free: 17.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.354, allocations: 54.56 kB / 0.5565 GB, free: 17.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 3.226e-06/0.354, allocations: 0 / 0.5565 GB, free: 17.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02055/0.3746, allocations: 8.571 MB / 0.5648 GB, free: 13.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.3747, allocations: 136.8 kB / 0.565 GB, free: 13.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002816/0.3775, allocations: 2.658 MB / 0.5676 GB, free: 12.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.09e-05/0.3776, allocations: 40.73 kB / 0.5676 GB, free: 12.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007273/0.3783, allocations: 2.111 MB / 0.5697 GB, free: 10.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002693/0.3786, allocations: 458.5 kB / 0.5701 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007922/0.3794, allocations: 0.8686 MB / 0.5709 GB, free: 10.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.493e-05/0.3794, allocations: 313 kB / 0.5712 GB, free: 9.711 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/0.3809, allocations: 1.329 MB / 0.5725 GB, free: 9.078 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002156/0.383, allocations: 4.105 MB / 0.5765 GB, free: 4.516 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004273/0.3873, allocations: 5.947 MB / 0.5824 GB, free: 14.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.82e-05/0.3874, allocations: 26.91 kB / 0.5824 GB, free: 14.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008401/0.3958, allocations: 5.493 MB / 0.5877 GB, free: 9.391 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.385e-05/0.3959, allocations: 52.03 kB / 0.5878 GB, free: 9.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001371/0.3961, allocations: 100 kB / 0.5879 GB, free: 9.242 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/0.3972, allocations: 460.2 kB / 0.5883 GB, free: 8.793 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002756/0.3999, allocations: 0.9708 MB / 0.5893 GB, free: 7.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004039/0.404, allocations: 3.671 MB / 0.5929 GB, free: 4.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002942/0.4069, allocations: 235.4 kB / 0.5931 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005648/0.4075, allocations: 272 kB / 0.5933 GB, free: 3.527 MB / 430.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.002066/0.4096, allocations: 1.375 MB / 0.5947 GB, free: 2.141 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005224/0.4101, allocations: 230.5 kB / 0.5949 GB, free: 1.914 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002408/0.4125, allocations: 1.322 MB / 0.5962 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.401e-05/0.4126, allocations: 12 kB / 0.5962 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.4126, allocations: 8 kB / 0.5962 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.4126, allocations: 3.984 kB / 0.5962 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008422/0.421, allocations: 4.193 MB / 0.6003 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.4211, allocations: 0 / 0.6003 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000657/0.4218, allocations: 139.8 kB / 0.6004 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008382/0.4226, allocations: 312.6 kB / 0.6007 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.35e-05/0.4227, allocations: 24.48 kB / 0.6008 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003279/0.426, allocations: 3.067 MB / 0.6038 GB, free: 8.648 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.426, allocations: 7.969 kB / 0.6038 GB, free: 8.641 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00415/0.4302, allocations: 3.083 MB / 0.6068 GB, free: 5.547 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009933/0.4312, allocations: 416.5 kB / 0.6072 GB, free: 5.121 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004141/0.4316, allocations: 12 kB / 0.6072 GB, free: 5.109 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008945/0.4325, allocations: 51.88 kB / 0.6072 GB, free: 5.059 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.4327, allocations: 60.3 kB / 0.6073 GB, free: 5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.848e-05/0.4327, allocations: 27.83 kB / 0.6073 GB, free: 4.977 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002495/0.4352, allocations: 1.633 MB / 0.6089 GB, free: 3.332 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4353, allocations: 4 kB / 0.6089 GB, free: 3.328 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003103/0.4384, allocations: 0.5976 MB / 0.6095 GB, free: 2.73 MB / 446.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.004463/0.4428, allocations: 3.702 MB / 0.6131 GB, free: 15 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004647/0.4475, allocations: 3.232 MB / 0.6163 GB, free: 11.78 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4475, allocations: 0 / 0.6163 GB, free: 11.78 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.4486, allocations: 0.8647 MB / 0.6171 GB, free: 10.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/0.4502, allocations: 211.9 kB / 0.6173 GB, free: 10.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03645/0.4867, allocations: 28.39 MB / 0.6451 GB, free: 10.58 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002293/0.489, allocations: 2.171 MB / 0.6472 GB, free: 8.375 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002809/0.4918, allocations: 1.391 MB / 0.6485 GB, free: 6.977 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001372/0.4932, allocations: 1.019 MB / 0.6495 GB, free: 5.957 MB / 494.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4932, allocations: 4 kB / 0.6495 GB, free: 5.953 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07436/0.5676, allocations: 38.42 MB / 0.687 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.82/17.38, allocations: 8.547 kB / 0.6871 GB, free: 15.54 MB / 0.5294 GB (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