Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 176.9 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008518/0.0008518, allocations: 94.41 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3553/0.3553, allocations: 44.22 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003478, allocations: 8 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3558, allocations: 61.9 MB / 0.5096 GB, free: 38.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1148/0.4706, allocations: 88.61 MB / 0.5962 GB, free: 6.52 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/0.4709, allocations: 67.94 kB / 0.5962 GB, free: 6.457 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0186/0.4895, allocations: 7.143 MB / 0.6032 GB, free: 15.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4895, allocations: 0 / 0.6032 GB, free: 15.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.4895, allocations: 4 kB / 0.6032 GB, free: 15.3 MB / 426.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.0004621/0.49, allocations: 427.2 kB / 0.6036 GB, free: 14.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.4901, allocations: 8.031 kB / 0.6036 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.481e-05/0.4901, allocations: 109.8 kB / 0.6037 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.4903, allocations: 83.28 kB / 0.6038 GB, free: 14.63 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.4905, allocations: 238.3 kB / 0.604 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.228e-05/0.4905, allocations: 154.6 kB / 0.6042 GB, free: 14.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.583e-05/0.4906, allocations: 158.5 kB / 0.6043 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.778e-05/0.4907, allocations: 101 kB / 0.6044 GB, free: 13.94 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/0.4907, allocations: 75.28 kB / 0.6045 GB, free: 13.87 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.494e-05/0.4908, allocations: 158.5 kB / 0.6046 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.774e-05/0.4908, allocations: 150.6 kB / 0.6048 GB, free: 13.56 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.91e-05/0.4909, allocations: 154.6 kB / 0.6049 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002664/0.4911, allocations: 445.9 kB / 0.6054 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.26e-05/0.4912, allocations: 169.1 kB / 0.6055 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/0.4913, allocations: 75.28 kB / 0.6056 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.456e-05/0.4913, allocations: 121.7 kB / 0.6057 GB, free: 12.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.4913, allocations: 0 / 0.6057 GB, free: 12.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 6.966e-05/0.4914, allocations: 29.7 kB / 0.6057 GB, free: 12.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.84e-05/0.4915, allocations: 178.1 kB / 0.6059 GB, free: 12.31 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.63e-05/0.4916, allocations: 85 kB / 0.606 GB, free: 12.22 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.4916, allocations: 29.64 kB / 0.606 GB, free: 12.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.363e-05/0.4917, allocations: 88.27 kB / 0.6061 GB, free: 12.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/0.4917, allocations: 7.938 kB / 0.6061 GB, free: 12.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-07/0.4917, allocations: 0 / 0.6061 GB, free: 12.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.4918, allocations: 314.8 kB / 0.6064 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.007e-06/0.4918, allocations: 0 / 0.6064 GB, free: 11.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.61e-05/0.4918, allocations: 13.66 kB / 0.6064 GB, free: 11.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.914e-05/0.4919, allocations: 79.28 kB / 0.6065 GB, free: 11.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.182e-05/0.4919, allocations: 75.28 kB / 0.6066 GB, free: 11.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.688e-05/0.492, allocations: 33.73 kB / 0.6066 GB, free: 11.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.492, allocations: 80.69 kB / 0.6067 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-05/0.492, allocations: 79.22 kB / 0.6068 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.099e-05/0.4921, allocations: 154.5 kB / 0.6069 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.086e-05/0.4921, allocations: 83.27 kB / 0.607 GB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.306e-05/0.4922, allocations: 158.5 kB / 0.6071 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.98e-05/0.4923, allocations: 83.39 kB / 0.6072 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.27e-05/0.4923, allocations: 83.22 kB / 0.6073 GB, free: 10.85 MB / 426.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 () * Number of clocked 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.0001528/0.4925, allocations: 256.9 kB / 0.6075 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.7e-05/0.4926, allocations: 109 kB / 0.6076 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.97e-05/0.4926, allocations: 108.1 kB / 0.6077 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.855e-05/0.4927, allocations: 188.2 kB / 0.6079 GB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.403e-05/0.4928, allocations: 176.3 kB / 0.6081 GB, free: 9.992 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.545e-05/0.4928, allocations: 184.2 kB / 0.6083 GB, free: 9.805 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.4931, allocations: 402.5 kB / 0.6087 GB, free: 9.355 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-05/0.4931, allocations: 101 kB / 0.6087 GB, free: 9.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.561e-05/0.4931, allocations: 108.9 kB / 0.6089 GB, free: 9.137 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.669e-05/0.4932, allocations: 180.3 kB / 0.609 GB, free: 8.953 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.471e-05/0.4933, allocations: 184.2 kB / 0.6092 GB, free: 8.766 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.221e-05/0.4934, allocations: 176.3 kB / 0.6094 GB, free: 8.586 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.488e-05/0.4934, allocations: 184.2 kB / 0.6095 GB, free: 8.398 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.4936, allocations: 307.8 kB / 0.6098 GB, free: 8.074 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.745e-05/0.4937, allocations: 186 kB / 0.61 GB, free: 7.867 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.679e-05/0.4938, allocations: 184.7 kB / 0.6102 GB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.4939, allocations: 105 kB / 0.6103 GB, free: 7.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.032e-05/0.4939, allocations: 180.2 kB / 0.6105 GB, free: 7.387 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.363e-05/0.494, allocations: 117 kB / 0.6106 GB, free: 7.266 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.07e-05/0.494, allocations: 79.28 kB / 0.6106 GB, free: 7.188 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.643e-06/0.494, allocations: 0 / 0.6106 GB, free: 7.188 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005439/0.4946, allocations: 135.8 kB / 0.6108 GB, free: 7.055 MB / 426.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 () * Number of clocked 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.001244/0.4958, allocations: 1.152 MB / 0.6119 GB, free: 5.938 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.593e-05/0.4959, allocations: 0 / 0.6119 GB, free: 5.938 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.4959, allocations: 0 / 0.6119 GB, free: 5.938 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.4959, allocations: 3.938 kB / 0.6119 GB, free: 5.934 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.4962, allocations: 0.5265 MB / 0.6124 GB, free: 5.406 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004587/0.4967, allocations: 255.5 kB / 0.6127 GB, free: 5.113 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.4969, allocations: 0.6731 MB / 0.6133 GB, free: 4.414 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.002e-05/0.497, allocations: 0 / 0.6133 GB, free: 4.414 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.624e-05/0.497, allocations: 7.438 kB / 0.6133 GB, free: 4.406 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.497, allocations: 4 kB / 0.6133 GB, free: 4.402 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01511/0.5121, allocations: 3.349 MB / 0.6166 GB, free: 1.18 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.5123, allocations: 232.3 kB / 0.6168 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/2.103, allocations: 3.938 kB / 0.6168 GB, free: 0.9258 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Utilities_TestExamplesCalculator_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Utilities_TestExamplesCalculator.fmu > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator_res.mat does not exist to compare? outputFormat=mat