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.0009146/0.0009147, allocations: 91.88 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001056/0.001056, allocations: 203 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.208/0.208, allocations: 46.18 MB / 345.2 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002285/0.0002285, allocations: 11.98 kB / 419.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1112, allocations: 63.56 MB / 483.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01517/0.1264, allocations: 16.53 MB / 499.7 MB, free: 3.484 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009736/0.1362, allocations: 4.07 MB / 0.492 GB, free: 15.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002018/0.1383, allocations: 67.81 kB / 0.492 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006625/0.139, allocations: 270.8 kB / 0.4923 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001721/0.1407, allocations: 0.7978 MB / 0.4931 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007432/0.1415, allocations: 275.5 kB / 0.4933 GB, free: 14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002669/0.1441, allocations: 2.743 MB / 0.496 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002013/0.1462, allocations: 1.683 MB / 0.4977 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006503/0.1468, allocations: 0.5833 MB / 0.4982 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001137/0.148, allocations: 0.9807 MB / 0.4992 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001492/0.1481, allocations: 76 kB / 0.4993 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/0.1494, allocations: 0.7292 MB / 0.5 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00101/0.1505, allocations: 0.888 MB / 0.5008 GB, free: 6.262 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009375/0.1514, allocations: 1.096 MB / 0.5019 GB, free: 5.152 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003583/0.155, allocations: 3.445 MB / 0.5053 GB, free: 1.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.155, allocations: 0 / 0.5053 GB, free: 1.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.155, allocations: 4 kB / 0.5053 GB, free: 1.691 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.385e-05/0.1551, allocations: 0 / 0.5053 GB, free: 1.691 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.2193/0.3744, allocations: 2.17 MB / 0.5074 GB, free: 40.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.031e-05/0.3745, allocations: 11.38 kB / 0.5074 GB, free: 40.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001161/0.3757, allocations: 458.7 kB / 0.5078 GB, free: 40.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006157/0.3818, allocations: 1.613 MB / 0.5094 GB, free: 40.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/0.3835, allocations: 1.062 MB / 0.5104 GB, free: 39.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.3836, allocations: 120.2 kB / 0.5106 GB, free: 39.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003634/0.384, allocations: 161.5 kB / 0.5107 GB, free: 39.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009404/0.3934, allocations: 6.183 MB / 0.5168 GB, free: 37.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.814e-05/0.3935, allocations: 28.06 kB / 0.5168 GB, free: 37.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002322/0.3937, allocations: 78.78 kB / 0.5169 GB, free: 37.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002571/0.3963, allocations: 1.444 MB / 0.5183 GB, free: 36.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009179/0.4055, allocations: 5.39 MB / 0.5235 GB, free: 35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01914/0.4247, allocations: 24.88 MB / 0.5478 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003751/0.4285, allocations: 2.348 MB / 0.5501 GB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009937/0.4295, allocations: 0.9903 MB / 0.5511 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00029/0.4298, allocations: 324.3 kB / 0.5514 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.4299, allocations: 50.48 kB / 0.5514 GB, free: 7.695 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.597e-06/0.4299, allocations: 0 / 0.5514 GB, free: 7.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.0196/0.4495, allocations: 8.493 MB / 0.5597 GB, free: 15.06 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.352e-05/0.4496, allocations: 144.5 kB / 0.5599 GB, free: 14.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003226/0.4528, allocations: 2.631 MB / 0.5624 GB, free: 12.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001369/0.453, allocations: 41.7 kB / 0.5625 GB, free: 12.19 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001198/0.4542, allocations: 2.016 MB / 0.5645 GB, free: 10.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003801/0.4546, allocations: 438.1 kB / 0.5649 GB, free: 9.754 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003831/0.455, allocations: 368.5 kB / 0.5652 GB, free: 9.387 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.399e-05/0.4551, allocations: 301.1 kB / 0.5655 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001722/0.4568, allocations: 1.332 MB / 0.5668 GB, free: 7.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003519/0.4603, allocations: 4.108 MB / 0.5708 GB, free: 2.238 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005712/0.466, allocations: 5.946 MB / 0.5766 GB, free: 10.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.501e-05/0.4661, allocations: 28 kB / 0.5767 GB, free: 10.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008244/0.4744, allocations: 5.485 MB / 0.582 GB, free: 5.391 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.694e-05/0.4744, allocations: 48 kB / 0.5821 GB, free: 5.344 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.462e-05/0.4745, allocations: 100 kB / 0.5822 GB, free: 5.246 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/0.4755, allocations: 460.7 kB / 0.5826 GB, free: 4.793 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002562/0.4781, allocations: 0.9747 MB / 0.5835 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003602/0.4817, allocations: 3.399 MB / 0.5869 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002413/0.4842, allocations: 224.7 kB / 0.5871 GB, free: 68 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004488/0.4846, allocations: 272.5 kB / 0.5873 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.001925/0.4866, allocations: 1.37 MB / 0.5887 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003725/0.4869, allocations: 213.2 kB / 0.5889 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002314/0.4893, allocations: 1.329 MB / 0.5902 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.229e-05/0.4893, allocations: 12 kB / 0.5902 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.4893, allocations: 4 kB / 0.5902 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.4893, allocations: 3.984 kB / 0.5902 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007192/0.4965, allocations: 4.245 MB / 0.5943 GB, free: 8.562 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.4965, allocations: 4 kB / 0.5943 GB, free: 8.559 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006327/0.4972, allocations: 139.8 kB / 0.5945 GB, free: 8.422 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008458/0.498, allocations: 314.6 kB / 0.5948 GB, free: 8.113 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.882e-05/0.4981, allocations: 20 kB / 0.5948 GB, free: 8.094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003125/0.5013, allocations: 2.814 MB / 0.5976 GB, free: 5.156 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.5013, allocations: 0 / 0.5976 GB, free: 5.156 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004188/0.5055, allocations: 3.074 MB / 0.6006 GB, free: 2.059 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005147/0.506, allocations: 278.1 kB / 0.6008 GB, free: 1.766 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003218/0.5063, allocations: 23.98 kB / 0.6008 GB, free: 1.742 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008145/0.5072, allocations: 43.94 kB / 0.6009 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.5073, allocations: 56.38 kB / 0.6009 GB, free: 1.645 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.127e-05/0.5074, allocations: 35.19 kB / 0.601 GB, free: 1.613 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002577/0.51, allocations: 1.621 MB / 0.6026 GB, free: 15.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.51, allocations: 4 kB / 0.6026 GB, free: 15.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002933/0.5129, allocations: 0.5833 MB / 0.6031 GB, free: 15.4 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.004237/0.5172, allocations: 3.681 MB / 0.6067 GB, free: 11.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004611/0.5218, allocations: 3.218 MB / 0.6099 GB, free: 8.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5218, allocations: 4.125 kB / 0.6099 GB, free: 8.477 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.5229, allocations: 0.8661 MB / 0.6107 GB, free: 7.598 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/0.5244, allocations: 200.6 kB / 0.6109 GB, free: 7.402 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04165/0.5661, allocations: 31.38 MB / 0.6415 GB, free: 3.246 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002394/0.5685, allocations: 2.175 MB / 0.6437 GB, free: 1.035 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003435/0.5719, allocations: 1.383 MB / 0.645 GB, free: 15.64 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001448/0.5734, allocations: 1.023 MB / 0.646 GB, free: 14.62 MB / 494.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5734, allocations: 3.938 kB / 0.646 GB, free: 14.62 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06594/0.6394, allocations: 39.82 MB / 0.6849 GB, free: 7 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002441/0.6397, allocations: 217.8 kB / 0.6851 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.791/3.431, allocations: 0 / 0.6851 GB, free: 6.738 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