Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001451/0.001451, allocations: 177.6 kB / 8.003 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009982/0.0009982, allocations: 78.64 kB / 261.7 MB, free: 1.695 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2193/0.2193, allocations: 43.49 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.841e-05/1.855e-05, allocations: 4 kB / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1504, allocations: 58.84 MB / 477.2 MB, free: 1.566 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3727/0.5232, allocations: 86.6 MB / 0.5506 GB, free: 8.188 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001557/0.5234, allocations: 67.81 kB / 0.5506 GB, free: 8.156 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01511/0.5385, allocations: 7.01 MB / 0.5575 GB, free: 2.773 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5386, allocations: 0 / 0.5575 GB, free: 2.773 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.5386, allocations: 0 / 0.5575 GB, free: 2.773 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003293/0.5389, allocations: 416.8 kB / 0.5579 GB, free: 2.332 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.539, allocations: 12.02 kB / 0.5579 GB, free: 2.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.5391, allocations: 83.28 kB / 0.558 GB, free: 2.238 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.314e-05/0.5392, allocations: 242.3 kB / 0.5582 GB, free: 1.961 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.5393, allocations: 156 kB / 0.5584 GB, free: 1.809 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.5393, allocations: 150.6 kB / 0.5585 GB, free: 1.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.086e-05/0.5393, allocations: 158.5 kB / 0.5587 GB, free: 1.504 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.263e-05/0.5394, allocations: 104.3 kB / 0.5588 GB, free: 1.398 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.5394, allocations: 75.28 kB / 0.5588 GB, free: 1.324 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.5394, allocations: 154.6 kB / 0.559 GB, free: 1.172 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/0.5394, allocations: 150.6 kB / 0.5591 GB, free: 1.023 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.5396, allocations: 422.5 kB / 0.5595 GB, free: 0.5742 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.614e-05/0.5396, allocations: 176.4 kB / 0.5597 GB, free: 404 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.688e-05/0.5397, allocations: 84.14 kB / 0.5598 GB, free: 316 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.5397, allocations: 75.28 kB / 0.5598 GB, free: 240 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.5397, allocations: 109.8 kB / 0.5599 GB, free: 120 kB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.5397, allocations: 0 / 0.5599 GB, free: 120 kB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.837e-05/0.5398, allocations: 25.7 kB / 0.56 GB, free: 88 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.5399, allocations: 106.9 kB / 0.5601 GB, free: 15.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.711e-05/0.5399, allocations: 92.62 kB / 0.5602 GB, free: 15.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.54, allocations: 26.27 kB / 0.5602 GB, free: 15.83 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.083e-05/0.54, allocations: 80.14 kB / 0.5603 GB, free: 15.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.302e-06/0.54, allocations: 0 / 0.5603 GB, free: 15.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-07/0.54, allocations: 0 / 0.5603 GB, free: 15.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.5401, allocations: 318.8 kB / 0.5606 GB, free: 15.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.019e-06/0.5402, allocations: 3.938 kB / 0.5606 GB, free: 15.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.093e-05/0.5402, allocations: 13.66 kB / 0.5606 GB, free: 15.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.291e-05/0.5402, allocations: 83.42 kB / 0.5607 GB, free: 15.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.202e-05/0.5403, allocations: 75.28 kB / 0.5607 GB, free: 15.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.225e-05/0.5403, allocations: 33.66 kB / 0.5608 GB, free: 15.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.464e-05/0.5404, allocations: 79.28 kB / 0.5608 GB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.522e-05/0.5404, allocations: 83.22 kB / 0.5609 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.575e-05/0.5405, allocations: 157.9 kB / 0.5611 GB, free: 14.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.705e-05/0.5405, allocations: 79.28 kB / 0.5611 GB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.895e-05/0.5406, allocations: 154.6 kB / 0.5613 GB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.5407, allocations: 87.2 kB / 0.5614 GB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/0.5407, allocations: 75.28 kB / 0.5614 GB, free: 14.51 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.5408, allocations: 255.5 kB / 0.5617 GB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.943e-05/0.5409, allocations: 134.6 kB / 0.5618 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.084e-05/0.541, allocations: 109 kB / 0.5619 GB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.576e-05/0.541, allocations: 111.7 kB / 0.562 GB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.4e-05/0.5411, allocations: 180.2 kB / 0.5622 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.369e-05/0.5412, allocations: 180.3 kB / 0.5624 GB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.257e-05/0.5412, allocations: 177.5 kB / 0.5625 GB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.5414, allocations: 385.2 kB / 0.5629 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.351e-05/0.5415, allocations: 109 kB / 0.563 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.836e-05/0.5415, allocations: 108.9 kB / 0.5631 GB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.729e-05/0.5416, allocations: 184.2 kB / 0.5633 GB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.337e-05/0.5417, allocations: 176.3 kB / 0.5635 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.459e-05/0.5418, allocations: 180.2 kB / 0.5636 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-05/0.5418, allocations: 184.2 kB / 0.5638 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.542, allocations: 303.3 kB / 0.5641 GB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.5421, allocations: 186.1 kB / 0.5643 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.897e-05/0.5422, allocations: 180.2 kB / 0.5644 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.5423, allocations: 105 kB / 0.5645 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/0.5423, allocations: 188.3 kB / 0.5647 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.826e-05/0.5424, allocations: 103.5 kB / 0.5648 GB, free: 10.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.02e-05/0.5424, allocations: 79.27 kB / 0.5649 GB, free: 10.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5424, allocations: 4 kB / 0.5649 GB, free: 10.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005042/0.543, allocations: 133.5 kB / 0.565 GB, free: 10.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001132/0.5441, allocations: 1.134 MB / 0.5661 GB, free: 9.523 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 4.403e-05/0.5442, allocations: 3.984 kB / 0.5661 GB, free: 9.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.5442, allocations: 0 / 0.5661 GB, free: 9.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.888e-06/0.5442, allocations: 7.938 kB / 0.5662 GB, free: 9.512 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.5445, allocations: 0.5249 MB / 0.5667 GB, free: 8.984 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004014/0.5449, allocations: 223.6 kB / 0.5669 GB, free: 8.734 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.5451, allocations: 0.6729 MB / 0.5675 GB, free: 8.035 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.139e-05/0.5452, allocations: 4 kB / 0.5675 GB, free: 8.031 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.235e-05/0.5452, allocations: 7.438 kB / 0.5675 GB, free: 8.023 MB / 378.7 MB Notification: Performance of SimCode: time 1.773e-06/0.5452, allocations: 0 / 0.5675 GB, free: 8.023 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.5674, allocations: 3.006 MB / 0.5705 GB, free: 5.031 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002371/0.5677, allocations: 170.3 kB / 0.5706 GB, free: 4.836 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/2.103, allocations: 4.031 kB / 0.5706 GB, free: 4.832 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_res.mat does not exist to compare? outputFormat=mat