Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009889/0.0009889, allocations: 95.47 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 177.7 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 223.3 MB / 241.9 MB, free: 308 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1955/0.1955, allocations: 44.23 MB / 337.2 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003019/0.000302, allocations: 8.219 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1021, allocations: 61.92 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.0005124/0.1026, allocations: 211 kB / 471.9 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.1042, allocations: 1.309 MB / 473.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.802e-05/0.1042, allocations: 0 / 473.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.836e-06/0.1042, allocations: 3.938 kB / 473.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.711e-05/0.1043, allocations: 0 / 473.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005343/0.1048, allocations: 159.2 kB / 473.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.707e-05/0.1049, allocations: 8 kB / 473.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.967e-05/0.1049, allocations: 0 / 473.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.717e-05/0.1049, allocations: 3.984 kB / 473.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.744e-05/0.105, allocations: 7.984 kB / 473.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.105, allocations: 0 / 473.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003964/0.1054, allocations: 259.6 kB / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.215e-06/0.1054, allocations: 0 / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.735e-05/0.1054, allocations: 25.7 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.1056, allocations: 87.81 kB / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1056, allocations: 3.938 kB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1056, allocations: 4 kB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.1056, allocations: 0 / 473.7 MB, free: 11.52 MB / 350.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.0003295/0.1059, allocations: 335.4 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.106, allocations: 8.031 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.194e-05/0.106, allocations: 30.56 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.197e-05/0.1061, allocations: 0 / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.951e-05/0.1062, allocations: 167 kB / 474.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.775e-06/0.1062, allocations: 0 / 474.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.1062, allocations: 3.953 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.1063, allocations: 41.69 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1063, allocations: 0 / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1063, allocations: 4 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.1064, allocations: 0 / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.136e-05/0.1064, allocations: 7.938 kB / 474.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/0.1068, allocations: 244.9 kB / 474.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.905e-05/0.1068, allocations: 22.52 kB / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.655e-05/0.1068, allocations: 12.92 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.1069, allocations: 0 / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.1069, allocations: 30.56 kB / 474.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.1069, allocations: 0 / 474.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001536/0.107, allocations: 45.59 kB / 474.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.1071, allocations: 55.34 kB / 474.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.457e-05/0.1072, allocations: 90.08 kB / 474.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.1072, allocations: 33.73 kB / 474.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.723e-05/0.1072, allocations: 92.27 kB / 474.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.899e-06/0.1072, allocations: 0 / 474.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.1072, allocations: 0 / 474.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1074, allocations: 318.8 kB / 475.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.124e-05/0.1074, allocations: 4 kB / 475.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.634e-05/0.1074, allocations: 22.58 kB / 475.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.686e-05/0.1074, allocations: 4 kB / 475.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1074, allocations: 0 / 475.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.088e-05/0.1075, allocations: 53.62 kB / 475.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.1075, allocations: 4 kB / 475.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1075, allocations: 0 / 475.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.1076, allocations: 0 / 475.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.895e-05/0.1076, allocations: 8 kB / 475.3 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.1076, allocations: 3.938 kB / 475.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.739e-05/0.1076, allocations: 8.094 kB / 475.3 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.1077, allocations: 7.984 kB / 475.3 MB, free: 9.66 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 7.128e-05/0.1077, allocations: 110.3 kB / 475.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.1078, allocations: 8.016 kB / 475.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.1079, allocations: 44.78 kB / 475.5 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1079, allocations: 7.984 kB / 475.5 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1079, allocations: 4.031 kB / 475.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1079, allocations: 0 / 475.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.1081, allocations: 149.5 kB / 475.7 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.1081, allocations: 4 kB / 475.7 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.504e-06/0.1081, allocations: 0 / 475.7 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.1081, allocations: 3.938 kB / 475.7 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.92e-06/0.1081, allocations: 0 / 475.7 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.1081, allocations: 3.984 kB / 475.7 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1081, allocations: 3.938 kB / 475.7 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.1083, allocations: 131.6 kB / 475.8 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.1083, allocations: 81.06 kB / 475.9 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.846e-05/0.1084, allocations: 4 kB / 475.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.832e-05/0.1085, allocations: 3.984 kB / 475.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.147e-05/0.1085, allocations: 0 / 475.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.1085, allocations: 0 / 475.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.26e-05/0.1085, allocations: 79.28 kB / 476 MB, free: 8.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1085, allocations: 128 / 476 MB, free: 8.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.1088, allocations: 40 kB / 476 MB, free: 8.895 MB / 350.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 () * 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.0005004/0.1093, allocations: 0.7085 MB / 476.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.375e-05/0.1094, allocations: 15.98 kB / 476.7 MB, free: 8.145 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1094, allocations: 4.219 kB / 476.7 MB, free: 8.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.502e-05/0.1094, allocations: 29.64 kB / 476.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.1097, allocations: 6.234 kB / 476.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003626/0.11, allocations: 120.7 kB / 476.9 MB, free: 7.941 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.1103, allocations: 0.677 MB / 477.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.181e-05/0.1103, allocations: 0 / 477.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.014e-05/0.1103, allocations: 7.438 kB / 477.6 MB, free: 7.23 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1103, allocations: 8 kB / 477.6 MB, free: 7.223 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01302/0.1234, allocations: 1.642 MB / 479.2 MB, free: 5.707 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000223/0.1236, allocations: 198.7 kB / 479.4 MB, free: 5.461 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.716/1.84, allocations: 0 / 479.4 MB, free: 5.461 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test02RegFun3_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test02RegFun3.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat does not exist to compare? outputFormat=mat