Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegStep",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.002335/0.002335, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.104/2.104, allocations: 205.2 MB / 219.4 MB, free: 14.29 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001116/0.001115, allocations: 90.64 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2875/0.2875, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.103e-05/4.114e-05, allocations: 0 / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1155, allocations: 58.87 MB / 484.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4853/0.6008, allocations: 83.89 MB / 0.5548 GB, free: 3.598 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.6011, allocations: 75.48 kB / 0.5549 GB, free: 3.559 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002137/0.6033, allocations: 0.6154 MB / 0.5555 GB, free: 2.988 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.6033, allocations: 0 / 0.5555 GB, free: 2.988 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.6033, allocations: 0 / 0.5555 GB, free: 2.988 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002129/0.6035, allocations: 311.6 kB / 0.5558 GB, free: 2.641 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.6036, allocations: 12.03 kB / 0.5558 GB, free: 2.629 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.879e-05/0.6036, allocations: 38.06 kB / 0.5558 GB, free: 2.586 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.072e-05/0.6037, allocations: 0 / 0.5558 GB, free: 2.586 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.959e-05/0.6038, allocations: 171 kB / 0.556 GB, free: 2.379 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.6038, allocations: 7.938 kB / 0.556 GB, free: 2.371 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.6038, allocations: 0 / 0.556 GB, free: 2.371 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.398e-05/0.6039, allocations: 37.08 kB / 0.556 GB, free: 2.332 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.6039, allocations: 0 / 0.556 GB, free: 2.332 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.6039, allocations: 3.5 kB / 0.556 GB, free: 2.332 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.604, allocations: 3.984 kB / 0.556 GB, free: 2.328 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.677e-05/0.604, allocations: 8 kB / 0.5561 GB, free: 2.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001248/0.6041, allocations: 157.2 kB / 0.5562 GB, free: 2.121 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.6044, allocations: 42.05 kB / 0.5562 GB, free: 2.074 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.92e-05/0.6044, allocations: 8.859 kB / 0.5563 GB, free: 2.062 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004047/0.6048, allocations: 121.2 kB / 0.5564 GB, free: 1.926 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.6048, allocations: 34.12 kB / 0.5564 GB, free: 1.887 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.833e-06/0.6049, allocations: 0 / 0.5564 GB, free: 1.887 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.001612/0.6065, allocations: 168.8 kB / 0.5566 GB, free: 1.727 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.6065, allocations: 51.41 kB / 0.5566 GB, free: 1.664 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.303e-05/0.6066, allocations: 85 kB / 0.5567 GB, free: 1.574 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.6066, allocations: 29.7 kB / 0.5567 GB, free: 1.539 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.495e-05/0.6066, allocations: 154.7 kB / 0.5569 GB, free: 1.387 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.6067, allocations: 14.8 kB / 0.5569 GB, free: 1.375 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.527e-06/0.6067, allocations: 0 / 0.5569 GB, free: 1.375 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.278e-05/0.6067, allocations: 325.7 kB / 0.5572 GB, free: 1.055 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.012e-05/0.6068, allocations: 4 kB / 0.5572 GB, free: 1.051 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.783e-05/0.6068, allocations: 11.62 kB / 0.5572 GB, free: 1.043 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.191e-05/0.6069, allocations: 11.36 kB / 0.5572 GB, free: 1.035 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.6069, allocations: 0 / 0.5572 GB, free: 1.035 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001359/0.6071, allocations: 56.5 kB / 0.5573 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.6071, allocations: 11.94 kB / 0.5573 GB, free: 0.9688 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.6071, allocations: 4 kB / 0.5573 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.6071, allocations: 0 / 0.5573 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.6073, allocations: 15.98 kB / 0.5573 GB, free: 0.9492 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.6073, allocations: 0 / 0.5573 GB, free: 0.9492 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.6075, allocations: 7.062 kB / 0.5573 GB, free: 0.9453 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.6075, allocations: 7.984 kB / 0.5573 GB, free: 0.9375 MB / 362.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 (5): * Single equations (assignments): 5 * 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 5.22e-05/0.6076, allocations: 108.9 kB / 0.5574 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.6076, allocations: 4 kB / 0.5574 GB, free: 0.8203 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002035/0.6078, allocations: 72.3 kB / 0.5575 GB, free: 0.7539 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.6078, allocations: 3.938 kB / 0.5575 GB, free: 0.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.6078, allocations: 4 kB / 0.5575 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.6079, allocations: 0 / 0.5575 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006965/0.6086, allocations: 335.7 kB / 0.5578 GB, free: 380 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.6086, allocations: 7.938 kB / 0.5578 GB, free: 372 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.6088, allocations: 15.98 kB / 0.5578 GB, free: 356 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.6088, allocations: 3.938 kB / 0.5578 GB, free: 352 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.6088, allocations: 0 / 0.5578 GB, free: 352 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.6088, allocations: 0 / 0.5578 GB, free: 352 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.6088, allocations: 4 kB / 0.5579 GB, free: 348 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.609, allocations: 176.8 kB / 0.558 GB, free: 156 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.609, allocations: 77.11 kB / 0.5581 GB, free: 60 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.6091, allocations: 3.688 kB / 0.5581 GB, free: 60 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.6092, allocations: 8 kB / 0.5581 GB, free: 52 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.321e-05/0.6093, allocations: 11.92 kB / 0.5581 GB, free: 40 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.6093, allocations: 8.828 kB / 0.5581 GB, free: 32 kB / 362.7 MB Notification: Performance of sorting global known variables: time 7.243e-05/0.6094, allocations: 79.22 kB / 0.5582 GB, free: 15.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.6094, allocations: 0 / 0.5582 GB, free: 15.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000288/0.6097, allocations: 8 kB / 0.5582 GB, free: 15.95 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0006028/0.6103, allocations: 0.7737 MB / 0.559 GB, free: 15.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001517/0.6105, allocations: 30.31 kB / 0.559 GB, free: 15.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.6105, allocations: 0 / 0.559 GB, free: 15.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.644e-05/0.6105, allocations: 15.31 kB / 0.559 GB, free: 15.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.6107, allocations: 10.52 kB / 0.559 GB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007037/0.6114, allocations: 161.4 kB / 0.5592 GB, free: 14.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.6118, allocations: 0.677 MB / 0.5598 GB, free: 14.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.463e-05/0.6118, allocations: 11.44 kB / 0.5598 GB, free: 14.2 MB / 378.7 MB Notification: Performance of SimCode: time 7.62e-07/0.6119, allocations: 0 / 0.5598 GB, free: 14.2 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.385/2.997, allocations: 0.8713 MB / 0.5607 GB, free: 13.34 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat does not exist to compare? outputFormat=mat