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.00101/0.00101, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 225.6 MB / 234.8 MB, free: 3.227 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008888/0.0008889, allocations: 104 kB / 286.7 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2074/0.2074, allocations: 45.15 MB / 383.8 MB, free: 252 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.269e-05/1.271e-05, allocations: 0 / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1188, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3957/0.5146, allocations: 88.91 MB / 0.5913 GB, free: 13.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001769/0.5148, allocations: 66.47 kB / 0.5913 GB, free: 13.31 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01933/0.5342, allocations: 7.409 MB / 0.5986 GB, free: 7.348 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5342, allocations: 0 / 0.5986 GB, free: 7.348 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.5342, allocations: 0 / 0.5986 GB, free: 7.348 MB / 394.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.0004796/0.5347, allocations: 427.5 kB / 0.599 GB, free: 6.891 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.5348, allocations: 8.031 kB / 0.599 GB, free: 6.883 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.535, allocations: 90.14 kB / 0.5991 GB, free: 6.797 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.5351, allocations: 238.3 kB / 0.5993 GB, free: 6.523 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.863e-05/0.5352, allocations: 158.6 kB / 0.5995 GB, free: 6.367 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.651e-05/0.5353, allocations: 150.6 kB / 0.5996 GB, free: 6.219 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.195e-05/0.5353, allocations: 154.5 kB / 0.5997 GB, free: 6.066 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.082e-05/0.5354, allocations: 101 kB / 0.5998 GB, free: 5.961 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.502e-05/0.5354, allocations: 75.28 kB / 0.5999 GB, free: 5.887 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.989e-05/0.5355, allocations: 150.6 kB / 0.6001 GB, free: 5.738 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.127e-05/0.5356, allocations: 158 kB / 0.6002 GB, free: 5.586 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000252/0.5358, allocations: 430.5 kB / 0.6006 GB, free: 5.129 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.161e-05/0.5359, allocations: 165.9 kB / 0.6008 GB, free: 4.957 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.083e-05/0.5359, allocations: 84.08 kB / 0.6009 GB, free: 4.871 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.536, allocations: 81.97 kB / 0.6009 GB, free: 4.793 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.897e-05/0.536, allocations: 105.8 kB / 0.601 GB, free: 4.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.5361, allocations: 3.938 kB / 0.601 GB, free: 4.676 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 7.387e-05/0.5361, allocations: 29.7 kB / 0.6011 GB, free: 4.641 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.5362, allocations: 102.8 kB / 0.6012 GB, free: 4.516 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.548e-05/0.5363, allocations: 85 kB / 0.6012 GB, free: 4.426 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.5363, allocations: 40.44 kB / 0.6013 GB, free: 4.383 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.036e-05/0.5363, allocations: 84.14 kB / 0.6014 GB, free: 4.297 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.513e-06/0.5363, allocations: 0 / 0.6014 GB, free: 4.297 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.9e-07/0.5363, allocations: 0 / 0.6014 GB, free: 4.297 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.5365, allocations: 310.8 kB / 0.6017 GB, free: 3.984 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.536e-06/0.5365, allocations: 0 / 0.6017 GB, free: 3.984 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.995e-05/0.5365, allocations: 13.66 kB / 0.6017 GB, free: 3.965 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.294e-05/0.5365, allocations: 79.31 kB / 0.6017 GB, free: 3.887 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.271e-05/0.5366, allocations: 79.28 kB / 0.6018 GB, free: 3.809 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.646e-05/0.5366, allocations: 29.66 kB / 0.6019 GB, free: 3.773 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.628e-05/0.5367, allocations: 86.22 kB / 0.6019 GB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.727e-05/0.5367, allocations: 75.28 kB / 0.602 GB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.21e-05/0.5368, allocations: 158.5 kB / 0.6022 GB, free: 3.461 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.145e-05/0.5368, allocations: 75.28 kB / 0.6022 GB, free: 3.387 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.608e-05/0.5369, allocations: 158.7 kB / 0.6024 GB, free: 3.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.59e-05/0.537, allocations: 87.22 kB / 0.6025 GB, free: 3.145 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.537, allocations: 75.28 kB / 0.6025 GB, free: 3.07 MB / 394.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.0001183/0.5371, allocations: 258.3 kB / 0.6028 GB, free: 2.812 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.878e-05/0.5372, allocations: 145.6 kB / 0.6029 GB, free: 2.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.257e-05/0.5373, allocations: 101 kB / 0.603 GB, free: 2.555 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.014e-05/0.5373, allocations: 108.7 kB / 0.6031 GB, free: 2.445 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.862e-05/0.5374, allocations: 185.7 kB / 0.6033 GB, free: 2.258 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-05/0.5375, allocations: 176.3 kB / 0.6035 GB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.71e-05/0.5375, allocations: 180.2 kB / 0.6036 GB, free: 1.895 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.5378, allocations: 380.8 kB / 0.604 GB, free: 1.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.44e-05/0.5378, allocations: 109 kB / 0.6041 GB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.316e-05/0.5379, allocations: 108.9 kB / 0.6042 GB, free: 1.254 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.47e-05/0.5379, allocations: 180.2 kB / 0.6044 GB, free: 1.07 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.293e-05/0.538, allocations: 176.3 kB / 0.6045 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.239e-05/0.538, allocations: 180.3 kB / 0.6047 GB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.161e-05/0.5381, allocations: 187.1 kB / 0.6049 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.5383, allocations: 308.2 kB / 0.6052 GB, free: 200 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.621e-05/0.5384, allocations: 189.3 kB / 0.6054 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.052e-05/0.5385, allocations: 180.2 kB / 0.6055 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.948e-05/0.5386, allocations: 109 kB / 0.6056 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.758e-05/0.5386, allocations: 188.2 kB / 0.6058 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.792e-05/0.5387, allocations: 101 kB / 0.6059 GB, free: 15.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.816e-05/0.5387, allocations: 79.28 kB / 0.606 GB, free: 15.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5387, allocations: 0 / 0.606 GB, free: 15.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005961/0.5393, allocations: 170.8 kB / 0.6062 GB, free: 15.17 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.001216/0.5406, allocations: 1.179 MB / 0.6073 GB, free: 14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.229e-05/0.5406, allocations: 3.938 kB / 0.6073 GB, free: 14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5406, allocations: 4 kB / 0.6073 GB, free: 14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.5406, allocations: 0 / 0.6073 GB, free: 14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.5409, allocations: 0.5224 MB / 0.6078 GB, free: 13.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000416/0.5413, allocations: 240.2 kB / 0.6081 GB, free: 13.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.5416, allocations: 0.6768 MB / 0.6087 GB, free: 12.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.667e-05/0.5416, allocations: 4 kB / 0.6087 GB, free: 12.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.291e-05/0.5416, allocations: 11.44 kB / 0.6087 GB, free: 12.48 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5417, allocations: 0 / 0.6087 GB, free: 12.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02389/0.5655, allocations: 3.399 MB / 0.6121 GB, free: 9.105 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002988/0.5659, allocations: 167.6 kB / 0.6122 GB, free: 8.914 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/2.147, allocations: 0 / 0.6122 GB, free: 8.914 MB / 410.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