Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.TestRegFunctions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",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.0009023/0.0009025, allocations: 98.14 kB / 17.01 MB, free: 6.398 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.001321/0.001321, allocations: 177 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.429/1.429, allocations: 223.3 MB / 241.9 MB, free: 352 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.2018/0.2018, allocations: 44.23 MB / 337.2 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.0003129, allocations: 8 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.101, allocations: 61.91 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0005547/0.1015, allocations: 246.9 kB / 471.9 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003792/0.1019, allocations: 151.5 kB / 472 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.969e-05/0.102, allocations: 4 kB / 472 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.201e-05/0.102, allocations: 3.938 kB / 472 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.1022, allocations: 27.91 kB / 472.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.315e-06/0.1022, allocations: 0 / 472.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.959e-05/0.1023, allocations: 19.92 kB / 472.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.315e-05/0.1023, allocations: 0 / 472.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.074e-05/0.1024, allocations: 15.91 kB / 472.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.732e-05/0.1024, allocations: 15.92 kB / 472.1 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.1024, allocations: 0 / 472.1 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.1026, allocations: 47.95 kB / 472.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.083e-06/0.1026, allocations: 3.938 kB / 472.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.018e-05/0.1026, allocations: 33.7 kB / 472.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.489e-05/0.1027, allocations: 31.94 kB / 472.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1027, allocations: 0 / 472.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1027, allocations: 0 / 472.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.1027, allocations: 4 kB / 472.2 MB, free: 13.04 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002852/0.103, allocations: 327.6 kB / 472.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.103, allocations: 12.03 kB / 472.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.043e-05/0.1031, allocations: 34.56 kB / 472.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.511e-05/0.1031, allocations: 7.906 kB / 472.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.1032, allocations: 171 kB / 472.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.675e-06/0.1032, allocations: 0 / 472.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.1033, allocations: 11.94 kB / 472.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.1034, allocations: 61.67 kB / 472.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.1034, allocations: 0 / 472.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.1034, allocations: 0 / 472.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1034, allocations: 0 / 472.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.869e-05/0.1035, allocations: 59.89 kB / 472.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002067/0.1037, allocations: 165.7 kB / 473.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.1039, allocations: 82.5 kB / 473.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.755e-05/0.1039, allocations: 32.84 kB / 473.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000298/0.1042, allocations: 251.3 kB / 473.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.1043, allocations: 42.52 kB / 473.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.1043, allocations: 288 / 473.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002123/0.1045, allocations: 105.5 kB / 473.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.1045, allocations: 59.34 kB / 473.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.32e-05/0.1046, allocations: 89.86 kB / 473.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.1046, allocations: 25.7 kB / 473.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.539e-05/0.1046, allocations: 80.14 kB / 473.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.1047, allocations: 35.55 kB / 473.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.1047, allocations: 4 kB / 473.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1048, allocations: 310.8 kB / 474.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.961e-05/0.1049, allocations: 24.11 kB / 474.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.932e-05/0.1049, allocations: 16 kB / 474.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.293e-05/0.1049, allocations: 20 kB / 474.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1049, allocations: 0 / 474.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001165/0.1051, allocations: 86.17 kB / 474.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1051, allocations: 7.953 kB / 474.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1051, allocations: 96 / 474.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.1051, allocations: 7.938 kB / 474.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.26e-05/0.1052, allocations: 12 kB / 474.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1052, allocations: 0 / 474.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.762e-05/0.1053, allocations: 11.84 kB / 474.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.1053, allocations: 4 kB / 474.4 MB, free: 10.65 MB / 350.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 () * Number of clocked 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 9.808e-05/0.1054, allocations: 122.3 kB / 474.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.01e-05/0.1054, allocations: 0 / 474.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.1056, allocations: 109.4 kB / 474.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1056, allocations: 4 kB / 474.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1056, allocations: 0 / 474.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1056, allocations: 0 / 474.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.1057, allocations: 177.6 kB / 474.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1058, allocations: 0 / 474.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.315e-05/0.1058, allocations: 16 kB / 474.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1058, allocations: 0 / 474.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.1058, allocations: 4 kB / 474.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.1059, allocations: 7.938 kB / 474.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1059, allocations: 0 / 474.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.106, allocations: 105.1 kB / 474.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.685e-05/0.1061, allocations: 88.95 kB / 475 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.1061, allocations: 4 kB / 475 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.383e-05/0.1061, allocations: 4 kB / 475 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.406e-05/0.1061, allocations: 11.94 kB / 475 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.1061, allocations: 4 kB / 475 MB, free: 9.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.427e-05/0.1062, allocations: 75.28 kB / 475.1 MB, free: 9.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1062, allocations: 0 / 475.1 MB, free: 9.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001991/0.1064, allocations: 16 kB / 475.1 MB, free: 9.812 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 (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.0007045/0.1071, allocations: 0.6594 MB / 475.7 MB, free: 9.121 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001131/0.1072, allocations: 51.98 kB / 475.8 MB, free: 9.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.1072, allocations: 3.938 kB / 475.8 MB, free: 9.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.226e-05/0.1073, allocations: 31.98 kB / 475.8 MB, free: 9.035 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.1074, allocations: 6.188 kB / 475.8 MB, free: 9.031 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003962/0.1078, allocations: 192.2 kB / 476 MB, free: 8.801 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.1081, allocations: 0.6809 MB / 476.7 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.848e-05/0.1081, allocations: 11.97 kB / 476.7 MB, free: 8.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.194e-05/0.1082, allocations: 15.44 kB / 476.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1082, allocations: 0 / 476.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01121/0.1194, allocations: 1.343 MB / 478.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/0.1196, allocations: 192.3 kB / 478.3 MB, free: 6.613 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.65/1.769, allocations: 0 / 478.3 MB, free: 6.613 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat does not exist to compare? outputFormat=mat