Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.TestRegStep,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegStep",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.0008572/0.0008571, allocations: 98.58 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.0008062/0.0008062, allocations: 176.6 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.319/1.319, allocations: 223.2 MB / 241.9 MB, free: 312 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.1859/0.1859, allocations: 44.22 MB / 337.2 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003054/0.0003054, allocations: 8 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1061, allocations: 61.92 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0005574/0.1067, allocations: 218.9 kB / 471.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002696/0.107, allocations: 99.72 kB / 472 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.116e-05/0.107, allocations: 0 / 472 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.208e-05/0.107, allocations: 0 / 472 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.1072, allocations: 11.97 kB / 472 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.619e-05/0.1072, allocations: 4 kB / 472 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.632e-05/0.1073, allocations: 3.938 kB / 472 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.276e-05/0.1073, allocations: 4 kB / 472 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.669e-05/0.1073, allocations: 3.984 kB / 472 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.03e-05/0.1074, allocations: 7.938 kB / 472 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.1074, allocations: 4 kB / 472 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.242e-05/0.1075, allocations: 15.98 kB / 472 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.174e-06/0.1075, allocations: 0 / 472 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.1075, allocations: 25.7 kB / 472 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.095e-05/0.1076, allocations: 19.97 kB / 472.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1076, allocations: 3.938 kB / 472.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1076, allocations: 0 / 472.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.1076, allocations: 0 / 472.1 MB, free: 13.21 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.0002649/0.1079, allocations: 317.7 kB / 472.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.1079, allocations: 12.03 kB / 472.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.003e-05/0.108, allocations: 30.56 kB / 472.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.91e-05/0.108, allocations: 4 kB / 472.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.1081, allocations: 159.1 kB / 472.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.1081, allocations: 0 / 472.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.1081, allocations: 11.94 kB / 472.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.065e-05/0.1082, allocations: 33.64 kB / 472.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.1083, allocations: 0 / 472.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1083, allocations: 4 kB / 472.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1083, allocations: 4 kB / 472.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.202e-05/0.1083, allocations: 7.984 kB / 472.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.1085, allocations: 153.9 kB / 472.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.1086, allocations: 34.61 kB / 472.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.708e-05/0.1087, allocations: 16.8 kB / 472.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003632/0.1091, allocations: 129.1 kB / 473 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.1091, allocations: 34.52 kB / 473 MB, free: 12.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.1091, allocations: 0 / 473 MB, free: 12.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.001145/0.1102, allocations: 217.4 kB / 473.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.1103, allocations: 55.41 kB / 473.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.924e-05/0.1104, allocations: 93.84 kB / 473.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.1104, allocations: 25.7 kB / 473.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.499e-05/0.1104, allocations: 80.27 kB / 473.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.1104, allocations: 19.81 kB / 473.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-06/0.1104, allocations: 0 / 473.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1106, allocations: 314.8 kB / 473.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.013e-05/0.1106, allocations: 27.97 kB / 473.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.84e-05/0.1107, allocations: 23.98 kB / 473.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.447e-05/0.1108, allocations: 32.17 kB / 473.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1108, allocations: 0 / 473.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001977/0.111, allocations: 89.47 kB / 474 MB, free: 11.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.111, allocations: 8 kB / 474 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.111, allocations: 7.922 kB / 474 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.1111, allocations: 4 kB / 474 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.1112, allocations: 15.98 kB / 474 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1112, allocations: 0 / 474 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.721e-05/0.1113, allocations: 4 kB / 474 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.1113, allocations: 4 kB / 474 MB, free: 11.04 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 (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 6.878e-05/0.1114, allocations: 114.4 kB / 474.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.1114, allocations: 7.953 kB / 474.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.1116, allocations: 97.16 kB / 474.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.1117, allocations: 0 / 474.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1117, allocations: 0 / 474.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1117, allocations: 8.266 kB / 474.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006552/0.1123, allocations: 371.3 kB / 474.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1123, allocations: 4 kB / 474.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.711e-05/0.1125, allocations: 19.98 kB / 474.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1125, allocations: 0 / 474.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.1125, allocations: 0 / 474.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1125, allocations: 0 / 474.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1125, allocations: 4 kB / 474.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.1127, allocations: 180.6 kB / 474.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.1128, allocations: 92.95 kB / 474.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.1128, allocations: 4 kB / 474.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.924e-05/0.1129, allocations: 8 kB / 474.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.713e-05/0.113, allocations: 11.92 kB / 474.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.113, allocations: 4 kB / 474.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.012e-05/0.113, allocations: 75.28 kB / 475 MB, free: 9.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.113, allocations: 0 / 475 MB, free: 9.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002281/0.1132, allocations: 8 kB / 475 MB, free: 9.934 MB / 350.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 () * Number of clocked 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.0005608/0.1138, allocations: 0.725 MB / 475.7 MB, free: 9.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002057/0.114, allocations: 59.89 kB / 475.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.114, allocations: 0 / 475.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.043e-05/0.1141, allocations: 27.98 kB / 475.8 MB, free: 9.094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.1143, allocations: 3.938 kB / 475.8 MB, free: 9.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005391/0.1149, allocations: 185.2 kB / 476 MB, free: 8.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.1151, allocations: 0.677 MB / 476.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.268e-05/0.1152, allocations: 8 kB / 476.7 MB, free: 8.152 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.295e-05/0.1153, allocations: 15.44 kB / 476.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1153, allocations: 0 / 476.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01074/0.126, allocations: 1.267 MB / 477.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/0.1262, allocations: 186.3 kB / 478.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.606/1.732, allocations: 0 / 478.1 MB, free: 6.754 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat does not exist to compare? outputFormat=mat