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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001196/0.001196, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.00138, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2123/0.2123, allocations: 46.11 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 73.25 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1239, allocations: 62.44 MB / 479.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01713/0.1411, allocations: 17.19 MB / 496.6 MB, free: 4.371 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009368/0.1505, allocations: 4.109 MB / 0.4889 GB, free: 252 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003047/0.1536, allocations: 63.88 kB / 0.489 GB, free: 188 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002442/0.1561, allocations: 1.032 MB / 0.49 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002267/0.1584, allocations: 0.79 MB / 0.4908 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008895/0.1593, allocations: 267.6 kB / 0.491 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003199/0.1625, allocations: 2.75 MB / 0.4937 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002081/0.1646, allocations: 1.26 MB / 0.495 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00127/0.1659, allocations: 0.6302 MB / 0.4956 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001687/0.1676, allocations: 1.051 MB / 0.4966 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004834/0.1681, allocations: 96 kB / 0.4967 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001626/0.1698, allocations: 0.7487 MB / 0.4974 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001323/0.1711, allocations: 0.9075 MB / 0.4983 GB, free: 6.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001694/0.1728, allocations: 1.114 MB / 0.4994 GB, free: 5.496 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004077/0.1769, allocations: 3.516 MB / 0.5028 GB, free: 1.969 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1769, allocations: 3.938 kB / 0.5028 GB, free: 1.965 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1769, allocations: 0 / 0.5028 GB, free: 1.965 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001482/0.1771, allocations: 0 / 0.5028 GB, free: 1.965 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.1894/0.3665, allocations: 2.64 MB / 0.5054 GB, free: 41.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.3666, allocations: 11 kB / 0.5054 GB, free: 41.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006413/0.3672, allocations: 463.2 kB / 0.5059 GB, free: 41.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005416/0.3727, allocations: 1.563 MB / 0.5074 GB, free: 41.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/0.3742, allocations: 1.063 MB / 0.5084 GB, free: 40.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.695e-05/0.3743, allocations: 127.2 kB / 0.5085 GB, free: 40.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002646/0.3746, allocations: 157.2 kB / 0.5087 GB, free: 40.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007381/0.3819, allocations: 6.184 MB / 0.5147 GB, free: 37.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.245e-05/0.382, allocations: 27.45 kB / 0.5148 GB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001934/0.3822, allocations: 79.39 kB / 0.5148 GB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002555/0.3848, allocations: 1.444 MB / 0.5162 GB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008889/0.3937, allocations: 5.398 MB / 0.5215 GB, free: 35.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02071/0.4144, allocations: 24.86 MB / 0.5458 GB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003826/0.4183, allocations: 2.349 MB / 0.5481 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008833/0.4192, allocations: 0.9853 MB / 0.549 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002556/0.4195, allocations: 319.8 kB / 0.5494 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.4195, allocations: 46.5 kB / 0.5494 GB, free: 8.215 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.627e-06/0.4195, allocations: 0 / 0.5494 GB, free: 8.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.0192/0.4387, allocations: 8.445 MB / 0.5576 GB, free: 15.63 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.807e-05/0.4388, allocations: 144.5 kB / 0.5578 GB, free: 15.46 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003376/0.4422, allocations: 2.635 MB / 0.5604 GB, free: 12.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001333/0.4423, allocations: 37.7 kB / 0.5604 GB, free: 12.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001208/0.4436, allocations: 2.024 MB / 0.5624 GB, free: 10.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003935/0.444, allocations: 432.3 kB / 0.5628 GB, free: 10.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001038/0.445, allocations: 0.8688 MB / 0.5636 GB, free: 9.391 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.4451, allocations: 301.1 kB / 0.5639 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001853/0.447, allocations: 1.34 MB / 0.5652 GB, free: 7.746 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003578/0.4506, allocations: 4.1 MB / 0.5692 GB, free: 2.242 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006231/0.4568, allocations: 5.941 MB / 0.575 GB, free: 10.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-05/0.4569, allocations: 28 kB / 0.5751 GB, free: 10.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008312/0.4652, allocations: 5.485 MB / 0.5804 GB, free: 5.395 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.072e-05/0.4653, allocations: 54.91 kB / 0.5805 GB, free: 5.344 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.82e-05/0.4654, allocations: 96 kB / 0.5806 GB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.4665, allocations: 461 kB / 0.581 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002635/0.4691, allocations: 0.975 MB / 0.5819 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003951/0.4731, allocations: 3.398 MB / 0.5853 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002711/0.4758, allocations: 227.5 kB / 0.5855 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003975/0.4762, allocations: 272 kB / 0.5857 GB, free: 15.8 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.001808/0.4781, allocations: 1.368 MB / 0.5871 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004785/0.4785, allocations: 225.1 kB / 0.5873 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003346/0.4819, allocations: 1.318 MB / 0.5886 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.839e-05/0.4819, allocations: 19.92 kB / 0.5886 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.482, allocations: 0 / 0.5886 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.482, allocations: 7.984 kB / 0.5886 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/0.4923, allocations: 4.24 MB / 0.5927 GB, free: 8.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.4923, allocations: 0 / 0.5927 GB, free: 8.551 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008836/0.4932, allocations: 135.8 kB / 0.5929 GB, free: 8.418 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001207/0.4944, allocations: 312.5 kB / 0.5932 GB, free: 8.109 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-05/0.4945, allocations: 16 kB / 0.5932 GB, free: 8.094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004496/0.499, allocations: 2.823 MB / 0.5959 GB, free: 5.141 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.4991, allocations: 0 / 0.5959 GB, free: 5.141 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006213/0.5053, allocations: 3.066 MB / 0.5989 GB, free: 2.047 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009958/0.5063, allocations: 278.2 kB / 0.5992 GB, free: 1.754 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007201/0.507, allocations: 12 kB / 0.5992 GB, free: 1.742 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/0.5085, allocations: 47.94 kB / 0.5993 GB, free: 1.695 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/0.5087, allocations: 52.3 kB / 0.5993 GB, free: 1.645 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/0.5088, allocations: 43.97 kB / 0.5994 GB, free: 1.602 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00425/0.5131, allocations: 1.628 MB / 0.6009 GB, free: 15.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5131, allocations: 3.938 kB / 0.601 GB, free: 15.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005554/0.5187, allocations: 0.5871 MB / 0.6015 GB, free: 15.38 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.005794/0.5245, allocations: 3.681 MB / 0.6051 GB, free: 11.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005336/0.5299, allocations: 3.212 MB / 0.6083 GB, free: 8.457 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.5299, allocations: 0 / 0.6083 GB, free: 8.457 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.531, allocations: 0.8605 MB / 0.6091 GB, free: 7.582 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001846/0.5329, allocations: 197.2 kB / 0.6093 GB, free: 7.387 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05496/0.5879, allocations: 31.32 MB / 0.6399 GB, free: 3.285 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002962/0.5908, allocations: 2.179 MB / 0.642 GB, free: 1.074 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003468/0.5943, allocations: 1.383 MB / 0.6434 GB, free: 15.68 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001597/0.596, allocations: 1.019 MB / 0.6443 GB, free: 14.66 MB / 494.1 MB Notification: Performance of SimCode: time 1.273e-06/0.596, allocations: 4 kB / 0.6443 GB, free: 14.66 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07403/0.67, allocations: 40.19 MB / 0.6836 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000249/0.6703, allocations: 221.5 kB / 0.6838 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.239/3.91, allocations: 0 / 0.6838 GB, free: 6.375 MB / 0.5137 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches