Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",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.002258/0.002258, allocations: 177.8 kB / 8.36 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.183/2.183, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001112/0.001112, allocations: 90.06 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.2954/0.2954, allocations: 43.48 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.353e-05/2.369e-05, allocations: 4.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4008, allocations: 58.86 MB / 477.2 MB, free: 5.176 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.162/0.5629, allocations: 83.34 MB / 0.5474 GB, free: 15.85 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.5632, allocations: 67.95 kB / 0.5474 GB, free: 15.79 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.003863/0.5671, allocations: 0.903 MB / 0.5483 GB, free: 14.88 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5671, allocations: 0 / 0.5483 GB, free: 14.88 MB / 395.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.5671, allocations: 0 / 0.5483 GB, free: 14.88 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003583/0.5675, allocations: 334.5 kB / 0.5486 GB, free: 14.51 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.5676, allocations: 12.02 kB / 0.5487 GB, free: 14.5 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.5676, allocations: 4.625 kB / 0.5487 GB, free: 14.5 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.5678, allocations: 171 kB / 0.5488 GB, free: 14.29 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.5678, allocations: 0 / 0.5488 GB, free: 14.29 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.5678, allocations: 4 kB / 0.5488 GB, free: 14.29 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001568/0.568, allocations: 47.91 kB / 0.5489 GB, free: 14.24 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.5681, allocations: 53.61 kB / 0.5489 GB, free: 14.18 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.5681, allocations: 0 / 0.5489 GB, free: 14.18 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.5682, allocations: 0 / 0.5489 GB, free: 14.18 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.5682, allocations: 4 kB / 0.5489 GB, free: 14.18 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002083/0.5684, allocations: 154.1 kB / 0.5491 GB, free: 13.99 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.5686, allocations: 70.61 kB / 0.5491 GB, free: 13.91 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.572e-05/0.5686, allocations: 20.86 kB / 0.5492 GB, free: 13.89 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004059/0.5691, allocations: 255.3 kB / 0.5494 GB, free: 13.58 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.5691, allocations: 34.56 kB / 0.5494 GB, free: 13.54 MB / 395.1 MB Notification: Performance of pre-optimization done (n=10): time 1.754e-06/0.5691, allocations: 0 / 0.5494 GB, free: 13.54 MB / 395.1 MB Notification: Performance of matching and sorting (n=10): time 0.000326/0.5695, allocations: 77.8 kB / 0.5495 GB, free: 13.46 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.5695, allocations: 55.41 kB / 0.5496 GB, free: 13.39 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.902e-05/0.5696, allocations: 93 kB / 0.5497 GB, free: 13.29 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.5696, allocations: 28.66 kB / 0.5497 GB, free: 13.26 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.98e-05/0.5697, allocations: 150.6 kB / 0.5498 GB, free: 13.11 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.453e-05/0.5698, allocations: 35.45 kB / 0.5499 GB, free: 13.08 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/0.5698, allocations: 0 / 0.5499 GB, free: 13.08 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.5699, allocations: 310.8 kB / 0.5502 GB, free: 12.77 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.585e-05/0.57, allocations: 16.12 kB / 0.5502 GB, free: 12.75 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.337e-05/0.57, allocations: 16 kB / 0.5502 GB, free: 12.73 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.5702, allocations: 27.97 kB / 0.5502 GB, free: 12.71 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5702, allocations: 0 / 0.5502 GB, free: 12.71 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002558/0.5705, allocations: 85.8 kB / 0.5503 GB, free: 12.62 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.5705, allocations: 7.984 kB / 0.5503 GB, free: 12.61 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.5705, allocations: 0 / 0.5503 GB, free: 12.61 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.5705, allocations: 0 / 0.5503 GB, free: 12.61 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.5707, allocations: 12 kB / 0.5503 GB, free: 12.6 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.5707, allocations: 4 kB / 0.5503 GB, free: 12.59 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.716e-05/0.5708, allocations: 0 / 0.5503 GB, free: 12.59 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.5708, allocations: 8 kB / 0.5503 GB, free: 12.59 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 (10): * Single equations (assignments): 10 * 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 8.537e-05/0.5709, allocations: 108.9 kB / 0.5504 GB, free: 12.47 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002406/0.5712, allocations: 85.47 kB / 0.5505 GB, free: 12.38 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.5712, allocations: 4 kB / 0.5505 GB, free: 12.38 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003817/0.5716, allocations: 97.97 kB / 0.5506 GB, free: 12.27 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.5716, allocations: 0 / 0.5506 GB, free: 12.27 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.5716, allocations: 0 / 0.5506 GB, free: 12.27 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.5716, allocations: 3.984 kB / 0.5506 GB, free: 12.27 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.5718, allocations: 158.1 kB / 0.5508 GB, free: 12.08 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.5718, allocations: 3.953 kB / 0.5508 GB, free: 12.07 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.5719, allocations: 16 kB / 0.5508 GB, free: 12.06 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.572, allocations: 0.5469 kB / 0.5508 GB, free: 12.06 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.572, allocations: 0 / 0.5508 GB, free: 12.06 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.572, allocations: 0 / 0.5508 GB, free: 12.06 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.572, allocations: 0 / 0.5508 GB, free: 12.06 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.5723, allocations: 117.3 kB / 0.5509 GB, free: 11.93 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/0.5724, allocations: 93.28 kB / 0.551 GB, free: 11.82 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.5724, allocations: 3.938 kB / 0.551 GB, free: 11.81 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.547e-05/0.5724, allocations: 3.938 kB / 0.551 GB, free: 11.81 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.5725, allocations: 7.984 kB / 0.551 GB, free: 11.8 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.5725, allocations: 0 / 0.551 GB, free: 11.8 MB / 395.1 MB Notification: Performance of sorting global known variables: time 4.262e-05/0.5726, allocations: 79.28 kB / 0.5511 GB, free: 11.72 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5726, allocations: 0 / 0.5511 GB, free: 11.72 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.000283/0.5729, allocations: 19.94 kB / 0.5511 GB, free: 11.7 MB / 395.1 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 (10): * Single equations (assignments): 10 * 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.0006594/0.5735, allocations: 0.6554 MB / 0.5517 GB, free: 11.02 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.5737, allocations: 47.94 kB / 0.5518 GB, free: 10.97 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5737, allocations: 0 / 0.5518 GB, free: 10.97 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.05e-05/0.5738, allocations: 23.94 kB / 0.5518 GB, free: 10.95 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.5739, allocations: 4 kB / 0.5518 GB, free: 10.95 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004908/0.5744, allocations: 151.1 kB / 0.552 GB, free: 10.75 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.5748, allocations: 0.6884 MB / 0.5526 GB, free: 10.04 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.105e-05/0.5748, allocations: 19.44 kB / 0.5526 GB, free: 10.02 MB / 395.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5748, allocations: 0 / 0.5526 GB, free: 10.02 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.455/3.03, allocations: 1.025 MB / 0.5536 GB, free: 8.996 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegFunctions_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat does not exist to compare? outputFormat=mat