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.001145/0.001145, allocations: 93.3 kB / 16.98 MB, free: 5.938 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.00127/0.00127, allocations: 185.8 kB / 17.87 MB, free: 5.594 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.428/1.428, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1986/0.1986, allocations: 44.22 MB / 337.1 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003013/0.0003014, allocations: 15.98 kB / 409.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.109, allocations: 61.91 MB / 471.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0005766/0.1096, allocations: 214.9 kB / 471.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002908/0.1099, allocations: 99.72 kB / 471.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.021e-05/0.11, allocations: 0 / 471.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.947e-06/0.11, allocations: 0 / 471.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002088/0.1102, allocations: 15.91 kB / 471.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.364e-05/0.1102, allocations: 0 / 471.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.911e-05/0.1103, allocations: 8 kB / 471.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.957e-05/0.1103, allocations: 7.984 kB / 471.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.724e-05/0.1103, allocations: 0 / 471.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.384e-05/0.1104, allocations: 7.922 kB / 471.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.1104, allocations: 0 / 471.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.527e-05/0.1105, allocations: 19.98 kB / 471.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.847e-06/0.1105, allocations: 3.984 kB / 471.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.21e-05/0.1105, allocations: 25.7 kB / 471.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.87e-05/0.1106, allocations: 12 kB / 471.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.1106, allocations: 0 / 471.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1106, allocations: 7.984 kB / 471.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1106, allocations: 0 / 471.9 MB, free: 13.2 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.0003208/0.111, allocations: 315.4 kB / 472.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.111, allocations: 8.031 kB / 472.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.284e-05/0.111, allocations: 30.56 kB / 472.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.017e-05/0.1111, allocations: 0 / 472.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.1112, allocations: 171 kB / 472.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.1112, allocations: 0 / 472.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.1112, allocations: 3.953 kB / 472.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.876e-05/0.1114, allocations: 41.64 kB / 472.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1114, allocations: 0 / 472.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-06/0.1114, allocations: 0 / 472.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1114, allocations: 0 / 472.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.146e-05/0.1114, allocations: 7.984 kB / 472.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/0.1116, allocations: 157.9 kB / 472.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.1118, allocations: 34.58 kB / 472.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003633/0.1122, allocations: 129.1 kB / 472.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.1122, allocations: 38.45 kB / 472.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1122, allocations: 3.938 kB / 472.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.001213/0.1134, allocations: 213.4 kB / 473.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.1135, allocations: 55.34 kB / 473.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.188e-05/0.1135, allocations: 97.84 kB / 473.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.1136, allocations: 25.7 kB / 473.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.551e-05/0.1136, allocations: 92.25 kB / 473.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.1136, allocations: 7.812 kB / 473.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-06/0.1137, allocations: 0 / 473.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1138, allocations: 318.8 kB / 473.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.965e-05/0.1139, allocations: 15.98 kB / 473.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.718e-05/0.114, allocations: 31.97 kB / 473.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.577e-05/0.1141, allocations: 23.98 kB / 473.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1141, allocations: 0 / 473.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001947/0.1143, allocations: 81.58 kB / 473.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1143, allocations: 7.953 kB / 473.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1143, allocations: 4.25 kB / 473.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1143, allocations: 3.984 kB / 473.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.1144, allocations: 23.92 kB / 473.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.1145, allocations: 4 kB / 473.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.625e-05/0.1146, allocations: 11.94 kB / 473.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.1146, allocations: 0 / 473.9 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 9.32e-05/0.1147, allocations: 114.4 kB / 474 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-06/0.1147, allocations: 4 kB / 474 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/0.1149, allocations: 93.17 kB / 474.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.115, allocations: 0 / 474.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.115, allocations: 8 kB / 474.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.115, allocations: 3.984 kB / 474.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006942/0.1157, allocations: 375.3 kB / 474.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1157, allocations: 0 / 474.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.354e-05/0.1158, allocations: 19.92 kB / 474.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1158, allocations: 0 / 474.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.1158, allocations: 4.328 kB / 474.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1158, allocations: 0 / 474.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1158, allocations: 0 / 474.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.1161, allocations: 200.2 kB / 474.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.1161, allocations: 89 kB / 474.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.1161, allocations: 3.984 kB / 474.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.753e-05/0.1162, allocations: 8 kB / 474.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.863e-05/0.1163, allocations: 11.98 kB / 474.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.1163, allocations: 0 / 474.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.266e-05/0.1163, allocations: 83.22 kB / 474.9 MB, free: 9.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.1163, allocations: 0 / 474.9 MB, free: 9.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002254/0.1166, allocations: 15.94 kB / 474.9 MB, free: 9.914 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.000536/0.1171, allocations: 0.7995 MB / 475.7 MB, free: 9.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002173/0.1173, allocations: 63.89 kB / 475.7 MB, free: 9.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1173, allocations: 0 / 475.7 MB, free: 9.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.205e-05/0.1174, allocations: 27.98 kB / 475.8 MB, free: 8.992 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.1176, allocations: 7.312 kB / 475.8 MB, free: 8.988 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005299/0.1181, allocations: 181.2 kB / 475.9 MB, free: 8.766 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.1183, allocations: 0.6809 MB / 476.6 MB, free: 8.059 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.632e-05/0.1184, allocations: 8 kB / 476.6 MB, free: 8.051 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/0.1184, allocations: 11.42 kB / 476.6 MB, free: 8.039 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1184, allocations: 0 / 476.6 MB, free: 8.039 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01163/0.1301, allocations: 1.227 MB / 477.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/0.1303, allocations: 184.6 kB / 478.1 MB, free: 6.688 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/1.735, allocations: 4 kB / 478.1 MB, free: 6.684 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