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.001096/0.001096, allocations: 180.1 kB / 14.15 MB, free: 1.176 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.487/1.487, allocations: 221.4 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001002, allocations: 91.55 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2395/0.2395, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.463e-05/5.478e-05, allocations: 4.219 kB / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2156, allocations: 61.91 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4678/0.6834, allocations: 88.52 MB / 0.5882 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/0.6838, allocations: 63.97 kB / 0.5883 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02013/0.7039, allocations: 7.11 MB / 0.5952 GB, free: 9.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.704, allocations: 0 / 0.5952 GB, free: 9.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.704, allocations: 0 / 0.5952 GB, free: 9.57 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.0006105/0.7046, allocations: 422.3 kB / 0.5956 GB, free: 9.113 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.961e-05/0.7047, allocations: 8.031 kB / 0.5957 GB, free: 9.105 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.031e-05/0.7048, allocations: 105.8 kB / 0.5958 GB, free: 8.992 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002877/0.7051, allocations: 87.27 kB / 0.5958 GB, free: 8.906 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.7053, allocations: 234.4 kB / 0.5961 GB, free: 8.637 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.7054, allocations: 158.5 kB / 0.5962 GB, free: 8.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.59e-05/0.7055, allocations: 166.5 kB / 0.5964 GB, free: 8.316 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.7056, allocations: 101 kB / 0.5965 GB, free: 8.211 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.869e-05/0.7057, allocations: 79.28 kB / 0.5965 GB, free: 8.133 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.632e-05/0.7058, allocations: 150.6 kB / 0.5967 GB, free: 7.984 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-05/0.7059, allocations: 154.5 kB / 0.5968 GB, free: 7.832 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.87e-05/0.706, allocations: 150.6 kB / 0.597 GB, free: 7.684 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.7064, allocations: 450 kB / 0.5974 GB, free: 7.195 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.7065, allocations: 165.1 kB / 0.5976 GB, free: 7.023 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.233e-05/0.7066, allocations: 80.14 kB / 0.5976 GB, free: 6.941 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.498e-05/0.7066, allocations: 75.28 kB / 0.5977 GB, free: 6.867 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.707e-05/0.7067, allocations: 121.7 kB / 0.5978 GB, free: 6.738 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.303e-06/0.7067, allocations: 0 / 0.5978 GB, free: 6.738 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001034/0.7068, allocations: 33.69 kB / 0.5979 GB, free: 6.699 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.707, allocations: 182.1 kB / 0.598 GB, free: 6.496 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.7071, allocations: 85 kB / 0.5981 GB, free: 6.406 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.7071, allocations: 25.7 kB / 0.5981 GB, free: 6.375 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/0.7072, allocations: 88.12 kB / 0.5982 GB, free: 6.285 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.7072, allocations: 8.062 kB / 0.5982 GB, free: 6.277 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.7072, allocations: 0 / 0.5982 GB, free: 6.277 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.7074, allocations: 310.8 kB / 0.5985 GB, free: 5.965 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.62e-06/0.7074, allocations: 0 / 0.5985 GB, free: 5.965 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.93e-05/0.7074, allocations: 17.66 kB / 0.5985 GB, free: 5.941 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.962e-05/0.7075, allocations: 82.03 kB / 0.5986 GB, free: 5.863 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.183e-05/0.7075, allocations: 75.28 kB / 0.5987 GB, free: 5.789 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.391e-05/0.7076, allocations: 37.73 kB / 0.5987 GB, free: 5.746 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.655e-05/0.7077, allocations: 80.53 kB / 0.5988 GB, free: 5.668 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.875e-05/0.7077, allocations: 83.17 kB / 0.5989 GB, free: 5.586 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001047/0.7078, allocations: 150.6 kB / 0.599 GB, free: 5.438 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.018e-05/0.7079, allocations: 79.28 kB / 0.5991 GB, free: 5.359 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.211e-05/0.708, allocations: 159.4 kB / 0.5993 GB, free: 5.203 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.7081, allocations: 87.27 kB / 0.5993 GB, free: 5.117 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.316e-05/0.7082, allocations: 79.22 kB / 0.5994 GB, free: 5.039 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.0001435/0.7083, allocations: 255.5 kB / 0.5997 GB, free: 4.781 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.965e-05/0.7084, allocations: 105 kB / 0.5998 GB, free: 4.672 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.303e-05/0.7085, allocations: 107.9 kB / 0.5999 GB, free: 4.555 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.092e-05/0.7085, allocations: 188.1 kB / 0.6 GB, free: 4.363 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.49e-05/0.7086, allocations: 184.3 kB / 0.6002 GB, free: 4.176 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.989e-05/0.7087, allocations: 180.2 kB / 0.6004 GB, free: 3.992 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.709, allocations: 397.2 kB / 0.6008 GB, free: 3.547 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.59e-05/0.7091, allocations: 105 kB / 0.6009 GB, free: 3.438 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.499e-05/0.7091, allocations: 108.9 kB / 0.601 GB, free: 3.324 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.681e-05/0.7092, allocations: 184.2 kB / 0.6011 GB, free: 3.137 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-05/0.7093, allocations: 180.2 kB / 0.6013 GB, free: 2.953 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.713e-05/0.7094, allocations: 180.3 kB / 0.6015 GB, free: 2.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.622e-05/0.7095, allocations: 188.2 kB / 0.6017 GB, free: 2.578 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.7097, allocations: 307.8 kB / 0.602 GB, free: 2.254 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.921e-05/0.7098, allocations: 186.4 kB / 0.6021 GB, free: 2.047 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.312e-05/0.7099, allocations: 180.2 kB / 0.6023 GB, free: 1.863 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.71, allocations: 105 kB / 0.6024 GB, free: 1.754 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.885e-05/0.7101, allocations: 188.2 kB / 0.6026 GB, free: 1.562 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.395e-05/0.7101, allocations: 105 kB / 0.6027 GB, free: 1.453 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.154e-05/0.7102, allocations: 79.28 kB / 0.6028 GB, free: 1.375 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.314e-06/0.7102, allocations: 0 / 0.6028 GB, free: 1.375 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007555/0.711, allocations: 139.8 kB / 0.6029 GB, free: 1.238 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.001502/0.7125, allocations: 1.144 MB / 0.604 GB, free: 128 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.885e-05/0.7126, allocations: 3.938 kB / 0.604 GB, free: 124 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.7126, allocations: 0 / 0.604 GB, free: 124 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.334e-06/0.7126, allocations: 0 / 0.604 GB, free: 124 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000478/0.7131, allocations: 0.5224 MB / 0.6045 GB, free: 15.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005771/0.7137, allocations: 234.5 kB / 0.6048 GB, free: 15.33 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.7141, allocations: 0.6731 MB / 0.6054 GB, free: 14.63 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.939e-05/0.7141, allocations: 7.938 kB / 0.6054 GB, free: 14.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.7142, allocations: 7.438 kB / 0.6054 GB, free: 14.61 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/0.7142, allocations: 0 / 0.6054 GB, free: 14.61 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01664/0.7308, allocations: 3.36 MB / 0.6087 GB, free: 11.33 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002278/0.7311, allocations: 191.1 kB / 0.6089 GB, free: 11.11 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/2.415, allocations: 0 / 0.6089 GB, free: 11.11 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