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.001325/0.001325, allocations: 105 kB / 16.4 MB, free: 6.52 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.001378/0.001379, allocations: 185.5 kB / 17.34 MB, free: 5.73 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.402/1.402, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2212/0.2212, 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.002222/0.002222, allocations: 69.45 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1183, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.009391/0.1277, allocations: 6.815 MB / 0.494 GB, free: 5.453 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0054/0.1331, allocations: 2.384 MB / 0.4964 GB, free: 3.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.1343, allocations: 31.94 kB / 0.4964 GB, free: 3.031 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002597/0.1369, allocations: 1.031 MB / 0.4974 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002859/0.1399, allocations: 0.844 MB / 0.4982 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.1409, allocations: 299.2 kB / 0.4985 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002975/0.1439, allocations: 1.904 MB / 0.5004 GB, free: 14.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001975/0.1459, allocations: 1.26 MB / 0.5016 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001474/0.1474, allocations: 0.716 MB / 0.5023 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001652/0.149, allocations: 0.973 MB / 0.5033 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004667/0.1495, allocations: 128 kB / 0.5034 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.1511, allocations: 0.7059 MB / 0.5041 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001129/0.1522, allocations: 0.9387 MB / 0.505 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001815/0.154, allocations: 1.137 MB / 0.5061 GB, free: 9.051 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005317/0.1594, allocations: 3.761 MB / 0.5098 GB, free: 5.273 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.1594, allocations: 4 kB / 0.5098 GB, free: 5.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1594, allocations: 4 kB / 0.5098 GB, free: 5.266 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001363/0.1596, allocations: 0 / 0.5098 GB, free: 5.266 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.006458/0.166, allocations: 2.719 MB / 0.5124 GB, free: 2.484 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/0.1661, allocations: 11.89 kB / 0.5124 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000835/0.167, allocations: 458.4 kB / 0.5129 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005604/0.1726, allocations: 1.578 MB / 0.5144 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002224/0.1749, allocations: 1.096 MB / 0.5155 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.175, allocations: 123.3 kB / 0.5156 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003977/0.1754, allocations: 159.8 kB / 0.5158 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009615/0.185, allocations: 6.194 MB / 0.5218 GB, free: 8.328 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.29e-05/0.1851, allocations: 23.81 kB / 0.5218 GB, free: 8.305 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002366/0.1854, allocations: 75.89 kB / 0.5219 GB, free: 8.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002583/0.188, allocations: 1.445 MB / 0.5233 GB, free: 6.777 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009918/0.1979, allocations: 5.385 MB / 0.5286 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2401/0.438, allocations: 24.81 MB / 0.5528 GB, free: 19.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00461/0.4427, allocations: 2.341 MB / 0.5551 GB, free: 17.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001245/0.444, allocations: 0.9873 MB / 0.5561 GB, free: 17.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003018/0.4443, allocations: 324.6 kB / 0.5564 GB, free: 17.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.4443, allocations: 55.23 kB / 0.5564 GB, free: 17.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 4.067e-06/0.4443, allocations: 0 / 0.5564 GB, free: 17.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02265/0.467, allocations: 8.57 MB / 0.5648 GB, free: 13.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.4671, allocations: 136.7 kB / 0.5649 GB, free: 13.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004061/0.4711, allocations: 2.651 MB / 0.5675 GB, free: 12.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002162/0.4714, allocations: 41.55 kB / 0.5675 GB, free: 12.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001241/0.4726, allocations: 2.125 MB / 0.5696 GB, free: 10.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004251/0.4731, allocations: 455 kB / 0.5701 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001072/0.4742, allocations: 0.8704 MB / 0.5709 GB, free: 9.996 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.81e-05/0.4742, allocations: 307 kB / 0.5712 GB, free: 9.695 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001606/0.4758, allocations: 1.336 MB / 0.5725 GB, free: 9.059 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002662/0.4785, allocations: 4.102 MB / 0.5765 GB, free: 4.496 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006205/0.4847, allocations: 5.943 MB / 0.5823 GB, free: 14.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001164/0.4849, allocations: 31.56 kB / 0.5823 GB, free: 14.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01147/0.4964, allocations: 5.49 MB / 0.5877 GB, free: 9.418 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.4966, allocations: 48.22 kB / 0.5877 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001651/0.4968, allocations: 100 kB / 0.5878 GB, free: 9.273 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.4981, allocations: 461.2 kB / 0.5883 GB, free: 8.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003446/0.5016, allocations: 0.9708 MB / 0.5892 GB, free: 7.848 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004721/0.5064, allocations: 3.676 MB / 0.5928 GB, free: 4.047 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002905/0.5093, allocations: 227.6 kB / 0.593 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004723/0.5098, allocations: 272 kB / 0.5933 GB, free: 3.559 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.00214/0.5119, allocations: 1.376 MB / 0.5946 GB, free: 2.172 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004533/0.5124, allocations: 230.5 kB / 0.5949 GB, free: 1.945 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002547/0.515, allocations: 1.33 MB / 0.5962 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.656e-05/0.515, allocations: 15.83 kB / 0.5962 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/0.515, allocations: 8 kB / 0.5962 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.515, allocations: 7.922 kB / 0.5962 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00788/0.5229, allocations: 4.192 MB / 0.6003 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/0.523, allocations: 0 / 0.6003 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006495/0.5236, allocations: 139.8 kB / 0.6004 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009402/0.5246, allocations: 312.6 kB / 0.6007 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.653e-05/0.5247, allocations: 27.61 kB / 0.6007 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003774/0.5285, allocations: 3.058 MB / 0.6037 GB, free: 8.672 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.5285, allocations: 3.938 kB / 0.6037 GB, free: 8.668 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004505/0.533, allocations: 3.087 MB / 0.6067 GB, free: 5.566 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009416/0.534, allocations: 415.4 kB / 0.6071 GB, free: 5.141 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002573/0.5342, allocations: 12 kB / 0.6072 GB, free: 5.129 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007441/0.535, allocations: 51.88 kB / 0.6072 GB, free: 5.078 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.5352, allocations: 55.72 kB / 0.6073 GB, free: 5.027 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-05/0.5353, allocations: 28 kB / 0.6073 GB, free: 5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00259/0.5378, allocations: 1.637 MB / 0.6089 GB, free: 3.352 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5379, allocations: 4.062 kB / 0.6089 GB, free: 3.348 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003302/0.5412, allocations: 0.5976 MB / 0.6095 GB, free: 2.75 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.005052/0.5462, allocations: 3.705 MB / 0.6131 GB, free: 15.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005265/0.5515, allocations: 3.228 MB / 0.6162 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5516, allocations: 0 / 0.6162 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.5528, allocations: 0.8639 MB / 0.6171 GB, free: 10.92 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.5543, allocations: 211.5 kB / 0.6173 GB, free: 10.72 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04222/0.5965, allocations: 28.4 MB / 0.645 GB, free: 10.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002681/0.5993, allocations: 2.171 MB / 0.6471 GB, free: 8.391 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003004/0.6023, allocations: 1.387 MB / 0.6485 GB, free: 6.996 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001494/0.6038, allocations: 1.026 MB / 0.6495 GB, free: 5.969 MB / 494.1 MB Notification: Performance of SimCode: time 1.393e-06/0.6038, allocations: 0 / 0.6495 GB, free: 5.969 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08721/0.6911, allocations: 38.41 MB / 0.687 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.13/18.82, allocations: 8.484 kB / 0.687 GB, free: 15.55 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 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.mat","/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