Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",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.001584/0.001588, allocations: 186.3 kB / 16.4 MB, free: 5.621 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.197/2.197, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001133/0.001133, allocations: 98.78 kB / 270.9 MB, free: 13.37 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.2841/0.2841, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004658/0.000466, allocations: 15.98 kB / 431.5 MB, free: 20.19 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1236, allocations: 58.86 MB / 490.3 MB, free: 9.258 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0007039/0.1244, allocations: 224.6 kB / 490.5 MB, free: 9.035 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002527/0.1269, allocations: 1.34 MB / 491.9 MB, free: 7.676 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.995e-05/0.127, allocations: 0 / 491.9 MB, free: 7.676 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.276e-05/0.127, allocations: 0 / 491.9 MB, free: 7.676 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 3.833e-05/0.1271, allocations: 0 / 491.9 MB, free: 7.676 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008596/0.128, allocations: 147.6 kB / 492 MB, free: 7.531 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 4.295e-05/0.128, allocations: 3.984 kB / 492 MB, free: 7.527 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.561e-05/0.1281, allocations: 4 kB / 492 MB, free: 7.523 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.236e-05/0.1281, allocations: 3.938 kB / 492 MB, free: 7.52 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.072e-05/0.1282, allocations: 7.984 kB / 492 MB, free: 7.512 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.1282, allocations: 4 kB / 492 MB, free: 7.508 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006208/0.1288, allocations: 251.7 kB / 492.3 MB, free: 7.262 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.1289, allocations: 3.984 kB / 492.3 MB, free: 7.258 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.566e-05/0.1289, allocations: 29.7 kB / 492.3 MB, free: 7.223 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.1291, allocations: 83.77 kB / 492.4 MB, free: 7.141 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1291, allocations: 0 / 492.4 MB, free: 7.141 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1292, allocations: 4 kB / 492.4 MB, free: 7.137 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.1292, allocations: 0 / 492.4 MB, free: 7.137 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004249/0.1296, allocations: 331.4 kB / 492.7 MB, free: 6.766 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.1297, allocations: 8.031 kB / 492.7 MB, free: 6.758 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.1297, allocations: 30.56 kB / 492.8 MB, free: 6.719 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.1297, allocations: 11.89 kB / 492.8 MB, free: 6.707 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.1299, allocations: 159.1 kB / 492.9 MB, free: 6.512 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.1299, allocations: 0 / 492.9 MB, free: 6.512 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.1299, allocations: 3.984 kB / 492.9 MB, free: 6.508 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.1301, allocations: 37.69 kB / 493 MB, free: 6.465 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.527e-06/0.1301, allocations: 0 / 493 MB, free: 6.465 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1301, allocations: 0 / 493 MB, free: 6.465 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1301, allocations: 4 kB / 493 MB, free: 6.461 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.131e-05/0.1302, allocations: 7.938 kB / 493 MB, free: 6.453 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.1304, allocations: 149.6 kB / 493.1 MB, free: 6.258 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.278e-05/0.1304, allocations: 22.61 kB / 493.2 MB, free: 6.227 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.1305, allocations: 0 / 493.2 MB, free: 6.227 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.1305, allocations: 30.56 kB / 493.2 MB, free: 6.188 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 3.587e-06/0.1305, allocations: 0 / 493.2 MB, free: 6.188 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001608/0.1307, allocations: 45.64 kB / 493.2 MB, free: 6.137 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.1307, allocations: 55.39 kB / 493.3 MB, free: 6.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.725e-05/0.1308, allocations: 97.86 kB / 493.4 MB, free: 5.965 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.1309, allocations: 25.7 kB / 493.4 MB, free: 5.934 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.494e-05/0.1309, allocations: 150.6 kB / 493.6 MB, free: 5.785 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.131, allocations: 8.125 kB / 493.6 MB, free: 5.777 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.131, allocations: 0 / 493.6 MB, free: 5.777 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.1312, allocations: 319 kB / 493.9 MB, free: 5.457 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.838e-05/0.1312, allocations: 4 kB / 493.9 MB, free: 5.453 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.194e-05/0.1312, allocations: 0 / 493.9 MB, free: 5.453 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.958e-05/0.1312, allocations: 0 / 493.9 MB, free: 5.453 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1313, allocations: 0 / 493.9 MB, free: 5.453 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.962e-05/0.1314, allocations: 41.69 kB / 493.9 MB, free: 5.406 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.1314, allocations: 11.38 kB / 493.9 MB, free: 5.398 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1314, allocations: 3.984 kB / 493.9 MB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1314, allocations: 0 / 493.9 MB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.091e-05/0.1315, allocations: 8.094 kB / 493.9 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1315, allocations: 0 / 493.9 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.985e-05/0.1316, allocations: 0 / 493.9 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1316, allocations: 0 / 493.9 MB, free: 5.387 MB / 330.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 (1): * Single equations (assignments): 1 * 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.0001012/0.1317, allocations: 117.8 kB / 494.1 MB, free: 5.262 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.225e-05/0.1317, allocations: 0 / 494.1 MB, free: 5.262 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/0.1319, allocations: 48.81 kB / 494.1 MB, free: 5.207 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.1319, allocations: 0 / 494.1 MB, free: 5.207 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.1319, allocations: 0 / 494.1 MB, free: 5.207 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1319, allocations: 0 / 494.1 MB, free: 5.207 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.1321, allocations: 157.6 kB / 494.3 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.1321, allocations: 0 / 494.3 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.193e-06/0.1321, allocations: 3.938 kB / 494.3 MB, free: 5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/0.1321, allocations: 4 kB / 494.3 MB, free: 4.996 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.465e-06/0.1321, allocations: 3.938 kB / 494.3 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.1322, allocations: 0 / 494.3 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1322, allocations: 0 / 494.3 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.1323, allocations: 69.14 kB / 494.3 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.594e-05/0.1323, allocations: 77.11 kB / 494.4 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.1324, allocations: 0 / 494.4 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.357e-05/0.1325, allocations: 7.938 kB / 494.4 MB, free: 4.805 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.188e-05/0.1325, allocations: 3.984 kB / 494.4 MB, free: 4.801 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.1325, allocations: 0 / 494.4 MB, free: 4.801 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.9e-05/0.1326, allocations: 83.31 kB / 494.5 MB, free: 4.719 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1326, allocations: 0 / 494.5 MB, free: 4.719 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003707/0.133, allocations: 36 kB / 494.5 MB, free: 4.684 MB / 330.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0007498/0.1337, allocations: 0.6397 MB / 495.2 MB, free: 4.016 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001001/0.1339, allocations: 8.125 kB / 495.2 MB, free: 4.008 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1339, allocations: 0 / 495.2 MB, free: 4.008 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.643e-05/0.1339, allocations: 33.69 kB / 495.2 MB, free: 3.969 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.1341, allocations: 0 / 495.2 MB, free: 3.969 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005107/0.1346, allocations: 150.1 kB / 495.4 MB, free: 3.777 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.135, allocations: 0.6809 MB / 496 MB, free: 3.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/0.135, allocations: 11.44 kB / 496.1 MB, free: 3.059 MB / 330.7 MB Notification: Performance of SimCode: time 1.383e-06/0.135, allocations: 0 / 496.1 MB, free: 3.059 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.48/2.615, allocations: 1.147 MB / 497.2 MB, free: 1.91 MB / 330.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_Test01RegFun3_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat does not exist to compare? outputFormat=mat