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.0009311/0.0009311, allocations: 97.03 kB / 16.98 MB, free: 5.938 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.0009794/0.0009795, allocations: 185.5 kB / 17.88 MB, free: 5.594 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.376/1.376, allocations: 223.2 MB / 241.8 MB, free: 14.65 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.1989/0.1989, allocations: 44.23 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003394, allocations: 9.312 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1366, allocations: 61.91 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01414/0.1508, allocations: 14.72 MB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009301/0.1602, allocations: 3.987 MB / 490.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002462/0.1627, allocations: 67.81 kB / 490.3 MB, free: 10.81 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001895/0.1646, allocations: 0.6922 MB / 491 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00613/0.1708, allocations: 2.126 MB / 493.1 MB, free: 7.988 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.1718, allocations: 203.6 kB / 493.3 MB, free: 7.789 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002117/0.1739, allocations: 1.109 MB / 494.4 MB, free: 6.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002047/0.176, allocations: 1.492 MB / 495.9 MB, free: 5.156 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008704/0.1769, allocations: 0.541 MB / 496.5 MB, free: 4.613 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009039/0.1778, allocations: 0.689 MB / 497.2 MB, free: 3.922 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002007/0.178, allocations: 76 kB / 497.2 MB, free: 3.848 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.179, allocations: 0.5851 MB / 497.8 MB, free: 3.262 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006864/0.1797, allocations: 0.7987 MB / 498.6 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000416/0.1802, allocations: 488.1 kB / 499.1 MB, free: 1.977 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002838/0.183, allocations: 2.798 MB / 0.4901 GB, free: 15.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.183, allocations: 0 / 0.4901 GB, free: 15.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.183, allocations: 0 / 0.4901 GB, free: 15.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.453e-05/0.1831, allocations: 0 / 0.4901 GB, free: 15.17 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.003973/0.1871, allocations: 2.267 MB / 0.4923 GB, free: 12.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.1871, allocations: 16.03 kB / 0.4924 GB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004992/0.1876, allocations: 458.2 kB / 0.4928 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005743/0.1934, allocations: 1.884 MB / 0.4946 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002358/0.1958, allocations: 1.052 MB / 0.4957 GB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.852e-05/0.1959, allocations: 118.9 kB / 0.4958 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002856/0.1962, allocations: 151.8 kB / 0.4959 GB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008595/0.2048, allocations: 6.21 MB / 0.502 GB, free: 2.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.23e-05/0.2048, allocations: 35.64 kB / 0.502 GB, free: 2.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002146/0.2051, allocations: 79.89 kB / 0.5021 GB, free: 2.316 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002347/0.2074, allocations: 1.445 MB / 0.5035 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2625/0.4699, allocations: 5.406 MB / 0.5088 GB, free: 24.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02744/0.4974, allocations: 24.89 MB / 0.5331 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00416/0.5016, allocations: 2.376 MB / 0.5354 GB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002738/0.5019, allocations: 326.9 kB / 0.5357 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.5019, allocations: 41.41 kB / 0.5358 GB, free: 8.965 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.758e-06/0.5019, allocations: 0 / 0.5358 GB, free: 8.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.0195/0.5214, allocations: 8.783 MB / 0.5443 GB, free: 6.016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.5215, allocations: 142.1 kB / 0.5445 GB, free: 5.859 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002751/0.5243, allocations: 2.621 MB / 0.547 GB, free: 4.859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.994e-05/0.5244, allocations: 41.27 kB / 0.5471 GB, free: 4.816 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009039/0.5253, allocations: 2.032 MB / 0.5491 GB, free: 3.043 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000301/0.5256, allocations: 437.9 kB / 0.5495 GB, free: 2.691 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.5257, allocations: 83.56 kB / 0.5495 GB, free: 2.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.5259, allocations: 493.1 kB / 0.55 GB, free: 2.148 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/0.5274, allocations: 1.32 MB / 0.5513 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00339/0.5308, allocations: 4.077 MB / 0.5553 GB, free: 11.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003042/0.5338, allocations: 2.297 MB / 0.5575 GB, free: 9.191 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.341e-05/0.5339, allocations: 31.95 kB / 0.5576 GB, free: 9.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.0083/0.5422, allocations: 5.454 MB / 0.5629 GB, free: 4.246 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.5e-05/0.5423, allocations: 44 kB / 0.5629 GB, free: 4.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-05/0.5424, allocations: 100 kB / 0.563 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.5434, allocations: 477.4 kB / 0.5635 GB, free: 3.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002597/0.546, allocations: 0.9747 MB / 0.5644 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003824/0.5499, allocations: 3.464 MB / 0.5678 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003006/0.5529, allocations: 240.3 kB / 0.568 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003795/0.5533, allocations: 268.8 kB / 0.5683 GB, free: 14.57 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002172/0.5555, allocations: 1.361 MB / 0.5696 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004172/0.5559, allocations: 215.7 kB / 0.5698 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002253/0.5581, allocations: 1.33 MB / 0.5711 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.3e-05/0.5582, allocations: 12 kB / 0.5711 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.5582, allocations: 4 kB / 0.5712 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.5582, allocations: 3.984 kB / 0.5712 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007345/0.5656, allocations: 4.246 MB / 0.5753 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.5656, allocations: 0 / 0.5753 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006142/0.5662, allocations: 135.8 kB / 0.5754 GB, free: 7.211 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007865/0.567, allocations: 317.5 kB / 0.5757 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.533e-05/0.5671, allocations: 16 kB / 0.5757 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002967/0.5701, allocations: 2.894 MB / 0.5786 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5701, allocations: 3.984 kB / 0.5786 GB, free: 3.859 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003812/0.5739, allocations: 3.118 MB / 0.5816 GB, free: 0.707 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006158/0.5745, allocations: 282.1 kB / 0.5819 GB, free: 420 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001987/0.5747, allocations: 12.94 kB / 0.5819 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007029/0.5754, allocations: 47.94 kB / 0.582 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.5756, allocations: 52.33 kB / 0.582 GB, free: 308 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.896e-05/0.5756, allocations: 33.23 kB / 0.582 GB, free: 276 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002279/0.5779, allocations: 1.613 MB / 0.5836 GB, free: 14.64 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5779, allocations: 8 kB / 0.5836 GB, free: 14.64 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003128/0.5811, allocations: 0.6095 MB / 0.5842 GB, free: 14.03 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00417/0.5853, allocations: 3.921 MB / 0.588 GB, free: 10.08 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004839/0.5901, allocations: 3.19 MB / 0.5912 GB, free: 6.898 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.5901, allocations: 0 / 0.5912 GB, free: 6.898 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.5912, allocations: 0.8599 MB / 0.592 GB, free: 6.027 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.5924, allocations: 192.7 kB / 0.5922 GB, free: 5.836 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05953/0.6519, allocations: 87.45 MB / 0.6776 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00241/0.6544, allocations: 2.226 MB / 0.6798 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003472/0.6579, allocations: 1.391 MB / 0.6811 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001341/0.6593, allocations: 1.026 MB / 0.6821 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of SimCode: time 1.503e-06/0.6593, allocations: 0 / 0.6821 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2985/0.9577, allocations: 45.13 MB / 0.7262 GB, free: 187.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001427/0.9579, allocations: 202.6 kB / 0.7264 GB, free: 186.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.951/3.909, allocations: 3.938 kB / 0.7264 GB, free: 186.9 MB / 0.5294 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat does not exist to compare? outputFormat=mat