Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_0_0_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.001103/0.001103, allocations: 106.8 kB / 17.33 MB, free: 5.996 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.001023/0.001023, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 241.9 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2109/0.2109, allocations: 44.18 MB / 336.3 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 64.47 kB / 408 MB, free: 27.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1139, allocations: 60.82 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01858/0.1325, allocations: 17.28 MB / 486.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008877/0.1414, allocations: 4.055 MB / 490.1 MB, free: 9.184 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002551/0.144, allocations: 71.81 kB / 490.2 MB, free: 9.113 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002248/0.1463, allocations: 0.9854 MB / 491.2 MB, free: 8.125 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00218/0.1485, allocations: 0.7978 MB / 492 MB, free: 7.324 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008274/0.1494, allocations: 275.5 kB / 492.3 MB, free: 7.055 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002515/0.1519, allocations: 1.927 MB / 494.2 MB, free: 5.125 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002087/0.154, allocations: 1.342 MB / 495.5 MB, free: 3.758 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001448/0.1555, allocations: 0.7277 MB / 496.3 MB, free: 3.027 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001899/0.1574, allocations: 1.098 MB / 497.4 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003985/0.1578, allocations: 128 kB / 497.5 MB, free: 1.801 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.1591, allocations: 0.7331 MB / 498.2 MB, free: 1.066 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009108/0.16, allocations: 0.9543 MB / 499.2 MB, free: 112 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001119/0.1611, allocations: 1.164 MB / 0.4886 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00335/0.1645, allocations: 3.601 MB / 0.4921 GB, free: 11.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.1645, allocations: 0 / 0.4921 GB, free: 11.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1645, allocations: 0 / 0.4921 GB, free: 11.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.751e-05/0.1646, allocations: 0 / 0.4921 GB, free: 11.32 MB / 382.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.00388/0.1684, allocations: 2.661 MB / 0.4947 GB, free: 8.605 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.1685, allocations: 12.03 kB / 0.4947 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004591/0.169, allocations: 454.4 kB / 0.4952 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00519/0.1741, allocations: 1.573 MB / 0.4967 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/0.1758, allocations: 1.069 MB / 0.4978 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.475e-05/0.1759, allocations: 115.3 kB / 0.4979 GB, free: 5.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000297/0.1762, allocations: 159.7 kB / 0.498 GB, free: 5.184 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2207/0.3969, allocations: 6.183 MB / 0.5041 GB, free: 47.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.068e-05/0.3971, allocations: 23.98 kB / 0.5041 GB, free: 47.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002593/0.3973, allocations: 86.12 kB / 0.5042 GB, free: 47.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002671/0.4, allocations: 1.44 MB / 0.5056 GB, free: 47.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01016/0.4102, allocations: 5.392 MB / 0.5108 GB, free: 45.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02345/0.4337, allocations: 24.87 MB / 0.5351 GB, free: 26.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003756/0.4375, allocations: 2.343 MB / 0.5374 GB, free: 24.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008925/0.4384, allocations: 0.9832 MB / 0.5384 GB, free: 24.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002589/0.4387, allocations: 326.6 kB / 0.5387 GB, free: 23.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.4387, allocations: 50.2 kB / 0.5387 GB, free: 23.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 4.508e-06/0.4387, allocations: 0 / 0.5387 GB, free: 23.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.03559/0.4743, allocations: 8.441 MB / 0.547 GB, free: 15.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.099e-05/0.4744, allocations: 136.5 kB / 0.5471 GB, free: 15.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006428/0.4809, allocations: 2.644 MB / 0.5497 GB, free: 12.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002454/0.4812, allocations: 33.7 kB / 0.5497 GB, free: 12.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001663/0.4829, allocations: 2.028 MB / 0.5517 GB, free: 10.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006854/0.4836, allocations: 438.6 kB / 0.5521 GB, free: 10.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002063/0.4857, allocations: 0.8688 MB / 0.553 GB, free: 9.527 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.661e-05/0.4858, allocations: 301.1 kB / 0.5533 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002736/0.4885, allocations: 1.332 MB / 0.5546 GB, free: 7.891 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004489/0.493, allocations: 4.107 MB / 0.5586 GB, free: 2.383 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01069/0.5038, allocations: 5.936 MB / 0.5644 GB, free: 11.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001614/0.504, allocations: 28 kB / 0.5644 GB, free: 11.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01915/0.5232, allocations: 5.493 MB / 0.5697 GB, free: 5.539 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001762/0.5234, allocations: 48 kB / 0.5698 GB, free: 5.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002098/0.5236, allocations: 96 kB / 0.5699 GB, free: 5.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001794/0.5255, allocations: 465.3 kB / 0.5703 GB, free: 4.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004397/0.5299, allocations: 0.9708 MB / 0.5713 GB, free: 3.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004848/0.5348, allocations: 3.681 MB / 0.5749 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003769/0.5386, allocations: 227.7 kB / 0.5751 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009199/0.5395, allocations: 271.9 kB / 0.5754 GB, free: 15.66 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.003492/0.543, allocations: 1.372 MB / 0.5767 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006816/0.5437, allocations: 221.1 kB / 0.5769 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002853/0.5466, allocations: 1.326 MB / 0.5782 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.723e-05/0.5466, allocations: 12 kB / 0.5782 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/0.5466, allocations: 0 / 0.5782 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/0.5467, allocations: 11.97 kB / 0.5782 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008757/0.5554, allocations: 4.239 MB / 0.5824 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/0.5555, allocations: 4 kB / 0.5824 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006541/0.5561, allocations: 135.8 kB / 0.5825 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008695/0.557, allocations: 316.5 kB / 0.5828 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.693e-05/0.5571, allocations: 19.98 kB / 0.5828 GB, free: 7.918 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003266/0.5604, allocations: 3.026 MB / 0.5858 GB, free: 4.754 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/0.5604, allocations: 3.625 kB / 0.5858 GB, free: 4.754 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004114/0.5645, allocations: 3.07 MB / 0.5888 GB, free: 1.668 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005787/0.5651, allocations: 274.2 kB / 0.589 GB, free: 1.379 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004251/0.5655, allocations: 23.94 kB / 0.5891 GB, free: 1.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009374/0.5665, allocations: 43.94 kB / 0.5891 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.5667, allocations: 56.36 kB / 0.5891 GB, free: 1.258 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.047e-05/0.5667, allocations: 24 kB / 0.5892 GB, free: 1.234 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002764/0.5695, allocations: 1.637 MB / 0.5908 GB, free: 15.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5695, allocations: 3.938 kB / 0.5908 GB, free: 15.58 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003383/0.5729, allocations: 0.6027 MB / 0.5914 GB, free: 14.98 MB / 430.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.00469/0.5776, allocations: 3.677 MB / 0.595 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005374/0.583, allocations: 3.47 MB / 0.5983 GB, free: 7.824 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.583, allocations: 0.5 kB / 0.5983 GB, free: 7.824 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.5841, allocations: 0.8609 MB / 0.5992 GB, free: 6.953 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/0.5858, allocations: 224 kB / 0.5994 GB, free: 6.738 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04549/0.6313, allocations: 31.36 MB / 0.63 GB, free: 2.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002569/0.6339, allocations: 2.175 MB / 0.6321 GB, free: 388 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003145/0.6371, allocations: 1.387 MB / 0.6335 GB, free: 14.98 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001408/0.6385, allocations: 1.026 MB / 0.6345 GB, free: 13.96 MB / 478.1 MB Notification: Performance of SimCode: time 6.31e-07/0.6385, allocations: 0 / 0.6345 GB, free: 13.96 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07291/0.7114, allocations: 41 MB / 0.6745 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/0.7117, allocations: 228 kB / 0.6748 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.185/3.897, allocations: 0 / 0.6748 GB, free: 4.945 MB / 0.4981 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/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_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches