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.002259/0.002259, allocations: 177.8 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.191/2.191, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 88.66 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.291/0.291, allocations: 43.48 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.016e-05/2.023e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3949, allocations: 58.85 MB / 477.2 MB, free: 5.293 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1515/0.5465, allocations: 83.24 MB / 0.5473 GB, free: 48 kB / 379.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.5468, allocations: 63.97 kB / 0.5473 GB, free: 15.98 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.00251/0.5493, allocations: 0.6219 MB / 0.5479 GB, free: 15.36 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.5494, allocations: 4 kB / 0.548 GB, free: 15.36 MB / 395.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.5494, allocations: 0 / 0.548 GB, free: 15.36 MB / 395.1 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.000321/0.5498, allocations: 319.1 kB / 0.5483 GB, free: 15 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.5498, allocations: 12.03 kB / 0.5483 GB, free: 14.99 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.75e-05/0.5499, allocations: 0 / 0.5483 GB, free: 14.99 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.55, allocations: 170.9 kB / 0.5484 GB, free: 14.79 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.55, allocations: 0 / 0.5484 GB, free: 14.79 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.5501, allocations: 4 kB / 0.5484 GB, free: 14.78 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.464e-05/0.5501, allocations: 4 kB / 0.5484 GB, free: 14.78 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.187e-05/0.5502, allocations: 37.69 kB / 0.5485 GB, free: 14.73 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.5502, allocations: 0 / 0.5485 GB, free: 14.73 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.5503, allocations: 0 / 0.5485 GB, free: 14.73 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.5503, allocations: 0 / 0.5485 GB, free: 14.73 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.5505, allocations: 138.2 kB / 0.5486 GB, free: 14.56 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.5507, allocations: 42.48 kB / 0.5486 GB, free: 14.51 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.339e-05/0.5507, allocations: 8.859 kB / 0.5487 GB, free: 14.5 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004758/0.5512, allocations: 121.2 kB / 0.5488 GB, free: 14.36 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.5513, allocations: 30.56 kB / 0.5488 GB, free: 14.32 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 2.034e-06/0.5513, allocations: 0 / 0.5488 GB, free: 14.32 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.001891/0.5532, allocations: 170.1 kB / 0.549 GB, free: 14.15 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.5533, allocations: 59.34 kB / 0.549 GB, free: 14.08 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.177e-05/0.5534, allocations: 89 kB / 0.5491 GB, free: 13.99 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 5.572e-05/0.5534, allocations: 25.7 kB / 0.5491 GB, free: 13.96 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.557e-05/0.5535, allocations: 150.6 kB / 0.5493 GB, free: 13.81 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.245e-05/0.5536, allocations: 19.8 kB / 0.5493 GB, free: 13.79 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-06/0.5536, allocations: 0 / 0.5493 GB, free: 13.79 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.5537, allocations: 310.8 kB / 0.5496 GB, free: 13.48 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.961e-05/0.5538, allocations: 8 kB / 0.5496 GB, free: 13.47 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.763e-05/0.5538, allocations: 10.95 kB / 0.5496 GB, free: 13.46 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.554, allocations: 20.11 kB / 0.5496 GB, free: 13.44 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.554, allocations: 0 / 0.5496 GB, free: 13.44 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002249/0.5542, allocations: 65.62 kB / 0.5497 GB, free: 13.37 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.5543, allocations: 8 kB / 0.5497 GB, free: 13.36 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.5543, allocations: 0 / 0.5497 GB, free: 13.36 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.5543, allocations: 0 / 0.5497 GB, free: 13.36 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.5545, allocations: 19.92 kB / 0.5497 GB, free: 13.34 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.5546, allocations: 3.984 kB / 0.5497 GB, free: 13.34 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.5547, allocations: 8 kB / 0.5497 GB, free: 13.33 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.5547, allocations: 4 kB / 0.5497 GB, free: 13.33 MB / 395.1 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 9.563e-05/0.5549, allocations: 104.9 kB / 0.5498 GB, free: 13.22 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002171/0.5551, allocations: 65.62 kB / 0.5499 GB, free: 13.15 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/0.5551, allocations: 8.219 kB / 0.5499 GB, free: 13.14 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000284/0.5554, allocations: 77.78 kB / 0.55 GB, free: 13.05 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.5554, allocations: 4 kB / 0.55 GB, free: 13.05 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.5554, allocations: 0 / 0.55 GB, free: 13.05 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.5555, allocations: 0 / 0.55 GB, free: 13.05 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008968/0.5564, allocations: 316.1 kB / 0.5503 GB, free: 12.7 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.5564, allocations: 0 / 0.5503 GB, free: 12.7 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.5566, allocations: 23.95 kB / 0.5503 GB, free: 12.67 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.217e-05/0.5566, allocations: 8.031 kB / 0.5503 GB, free: 12.66 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.5567, allocations: 0 / 0.5503 GB, free: 12.66 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.5567, allocations: 0 / 0.5503 GB, free: 12.66 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5567, allocations: 0 / 0.5503 GB, free: 12.66 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.557, allocations: 174.1 kB / 0.5505 GB, free: 12.47 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.377e-05/0.557, allocations: 85.64 kB / 0.5506 GB, free: 12.37 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.5571, allocations: 0 / 0.5506 GB, free: 12.37 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.5573, allocations: 11.94 kB / 0.5506 GB, free: 12.36 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.739e-05/0.5573, allocations: 3.984 kB / 0.5506 GB, free: 12.35 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.5573, allocations: 4 kB / 0.5506 GB, free: 12.35 MB / 395.1 MB Notification: Performance of sorting global known variables: time 4.532e-05/0.5574, allocations: 87.17 kB / 0.5507 GB, free: 12.26 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.5574, allocations: 3.938 kB / 0.5507 GB, free: 12.26 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003219/0.5577, allocations: 8 kB / 0.5507 GB, free: 12.25 MB / 395.1 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.0006924/0.5584, allocations: 0.776 MB / 0.5514 GB, free: 11.44 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.000158/0.5586, allocations: 31.94 kB / 0.5515 GB, free: 11.41 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5586, allocations: 0 / 0.5515 GB, free: 11.41 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.636e-05/0.5587, allocations: 16 kB / 0.5515 GB, free: 11.39 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.5589, allocations: 7.953 kB / 0.5515 GB, free: 11.39 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007438/0.5597, allocations: 142.7 kB / 0.5516 GB, free: 11.2 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.56, allocations: 0.6846 MB / 0.5523 GB, free: 10.49 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.73e-05/0.5601, allocations: 7.438 kB / 0.5523 GB, free: 10.48 MB / 395.1 MB Notification: Performance of SimCode: time 1.453e-06/0.5601, allocations: 0 / 0.5523 GB, free: 10.48 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.491/3.051, allocations: 0.8538 MB / 0.5531 GB, free: 9.633 MB / 395.1 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