Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001057/0.001057, allocations: 196.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.262/1.262, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000845/0.0008452, allocations: 91.28 kB / 292.1 MB, free: 5.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1971/0.1971, allocations: 45.15 MB / 389.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.266e-05/4.271e-05, allocations: 4 kB / 460.5 MB, free: 69.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1285, allocations: 63.25 MB / 0.5114 GB, free: 6.73 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4066/0.5352, allocations: 89.58 MB / 0.5989 GB, free: 4.363 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001863/0.5354, allocations: 59.78 kB / 0.599 GB, free: 4.336 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01844/0.5539, allocations: 7.445 MB / 0.6063 GB, free: 14.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5539, allocations: 0 / 0.6063 GB, free: 14.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.5539, allocations: 4 kB / 0.6063 GB, free: 14.12 MB / 410.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.0004656/0.5544, allocations: 425.5 kB / 0.6067 GB, free: 13.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.5545, allocations: 15.97 kB / 0.6067 GB, free: 13.65 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.945e-05/0.5545, allocations: 105.8 kB / 0.6068 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.5547, allocations: 87.27 kB / 0.6069 GB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.5549, allocations: 242 kB / 0.6071 GB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.956e-05/0.5549, allocations: 158.5 kB / 0.6072 GB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.531e-05/0.555, allocations: 150.6 kB / 0.6074 GB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.158e-05/0.5551, allocations: 108.9 kB / 0.6075 GB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.883e-05/0.5551, allocations: 75.28 kB / 0.6076 GB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.372e-05/0.5552, allocations: 150.6 kB / 0.6077 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.207e-05/0.5552, allocations: 150.6 kB / 0.6079 GB, free: 12.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.941e-05/0.5553, allocations: 154.6 kB / 0.608 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002508/0.5555, allocations: 445.5 kB / 0.6084 GB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.475e-05/0.5556, allocations: 173.1 kB / 0.6086 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.617e-05/0.5557, allocations: 80.14 kB / 0.6087 GB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.5557, allocations: 79.28 kB / 0.6087 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.741e-05/0.5558, allocations: 117.2 kB / 0.6089 GB, free: 11.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 2.564e-06/0.5558, allocations: 3.984 kB / 0.6089 GB, free: 11.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 7.308e-05/0.5559, allocations: 29.7 kB / 0.6089 GB, free: 11.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.824e-05/0.556, allocations: 178.1 kB / 0.6091 GB, free: 11.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.773e-05/0.5561, allocations: 85.09 kB / 0.6091 GB, free: 10.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.5561, allocations: 29.73 kB / 0.6092 GB, free: 10.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/0.5561, allocations: 84.08 kB / 0.6092 GB, free: 10.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.5561, allocations: 4 kB / 0.6093 GB, free: 10.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-07/0.5562, allocations: 0 / 0.6093 GB, free: 10.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.5563, allocations: 314.6 kB / 0.6096 GB, free: 10.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.727e-06/0.5563, allocations: 3.938 kB / 0.6096 GB, free: 10.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.283e-05/0.5563, allocations: 9.719 kB / 0.6096 GB, free: 10.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.201e-05/0.5564, allocations: 94.05 kB / 0.6097 GB, free: 10.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.057e-05/0.5564, allocations: 75.28 kB / 0.6097 GB, free: 10.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.987e-05/0.5564, allocations: 25.7 kB / 0.6097 GB, free: 10.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.204e-05/0.5565, allocations: 83.28 kB / 0.6098 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.734e-05/0.5565, allocations: 79.22 kB / 0.6099 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.994e-05/0.5566, allocations: 154.7 kB / 0.6101 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.109e-05/0.5566, allocations: 82.47 kB / 0.6101 GB, free: 9.922 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-05/0.5567, allocations: 158.6 kB / 0.6103 GB, free: 9.766 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.393e-05/0.5568, allocations: 79.27 kB / 0.6104 GB, free: 9.688 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.5568, allocations: 83.22 kB / 0.6104 GB, free: 9.605 MB / 410.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.0001008/0.557, allocations: 255.5 kB / 0.6107 GB, free: 9.348 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.563e-05/0.557, allocations: 108.9 kB / 0.6108 GB, free: 9.238 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.267e-05/0.5571, allocations: 116 kB / 0.6109 GB, free: 9.117 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.646e-05/0.5571, allocations: 180.2 kB / 0.6111 GB, free: 8.934 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.106e-05/0.5572, allocations: 176.3 kB / 0.6112 GB, free: 8.754 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.493e-05/0.5573, allocations: 184.2 kB / 0.6114 GB, free: 8.566 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.5575, allocations: 396.6 kB / 0.6118 GB, free: 8.125 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.39e-05/0.5575, allocations: 112.9 kB / 0.6119 GB, free: 8.008 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.086e-05/0.5576, allocations: 109 kB / 0.612 GB, free: 7.895 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.596e-05/0.5576, allocations: 176.3 kB / 0.6122 GB, free: 7.715 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.845e-05/0.5577, allocations: 180.2 kB / 0.6123 GB, free: 7.531 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.617e-05/0.5577, allocations: 180.1 kB / 0.6125 GB, free: 7.352 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.618e-05/0.5578, allocations: 188.2 kB / 0.6127 GB, free: 7.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.558, allocations: 307.8 kB / 0.613 GB, free: 6.836 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.763e-05/0.558, allocations: 189.7 kB / 0.6132 GB, free: 6.629 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.4e-05/0.5581, allocations: 180.2 kB / 0.6133 GB, free: 6.445 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.5582, allocations: 108.9 kB / 0.6134 GB, free: 6.332 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.372e-05/0.5583, allocations: 184.3 kB / 0.6136 GB, free: 6.145 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.159e-05/0.5583, allocations: 108.9 kB / 0.6137 GB, free: 6.031 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.756e-05/0.5584, allocations: 78.97 kB / 0.6138 GB, free: 5.957 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5584, allocations: 0 / 0.6138 GB, free: 5.957 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005597/0.559, allocations: 173.9 kB / 0.614 GB, free: 5.801 MB / 410.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.001357/0.5603, allocations: 1.176 MB / 0.6151 GB, free: 4.656 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.151e-05/0.5604, allocations: 0 / 0.6151 GB, free: 4.656 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5604, allocations: 0 / 0.6151 GB, free: 4.656 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.5604, allocations: 0 / 0.6151 GB, free: 4.656 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.5607, allocations: 0.53 MB / 0.6156 GB, free: 4.125 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004756/0.5612, allocations: 248.8 kB / 0.6159 GB, free: 3.848 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.5615, allocations: 0.6731 MB / 0.6165 GB, free: 3.148 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.016e-05/0.5615, allocations: 0 / 0.6165 GB, free: 3.148 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.714e-05/0.5615, allocations: 11.44 kB / 0.6165 GB, free: 3.137 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5615, allocations: 0 / 0.6165 GB, free: 3.137 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01565/0.5772, allocations: 3.757 MB / 0.6202 GB, free: 15.51 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001628/0.5774, allocations: 183.9 kB / 0.6204 GB, free: 15.29 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.585/2.162, allocations: 0 / 0.6204 GB, free: 15.29 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Utilities_TestExamplesCalculator_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Utilities_TestExamplesCalculator.fmu > ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator_res.mat does not exist to compare? outputFormat=mat