Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001443/0.001443, allocations: 97.47 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001682/0.001682, allocations: 208.8 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.3 MB / 245.9 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2138/0.2138, allocations: 45.92 MB / 344 MB, free: 12.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002476/0.0002476, allocations: 8 kB / 418.1 MB, free: 20.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1091, allocations: 63.46 MB / 481.5 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0004879/0.1096, allocations: 222.9 kB / 481.7 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000235/0.1099, allocations: 94.39 kB / 481.8 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.813e-05/0.1099, allocations: 0 / 481.8 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.648e-06/0.1099, allocations: 7.938 kB / 481.8 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.1101, allocations: 11.98 kB / 481.8 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.356e-05/0.1101, allocations: 3.984 kB / 481.9 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 2.938e-05/0.1101, allocations: 0 / 481.9 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.532e-05/0.1102, allocations: 7.938 kB / 481.9 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.384e-05/0.1102, allocations: 0 / 481.9 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.463e-05/0.1102, allocations: 3.938 kB / 481.9 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.887e-06/0.1102, allocations: 0 / 481.9 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.455e-05/0.1103, allocations: 23.97 kB / 481.9 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.115e-06/0.1103, allocations: 3.984 kB / 481.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.792e-05/0.1104, allocations: 37.64 kB / 481.9 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.057e-05/0.1104, allocations: 11.98 kB / 481.9 MB, free: 4.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.1104, allocations: 4 kB / 481.9 MB, free: 4.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1104, allocations: 0 / 481.9 MB, free: 4.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.645e-06/0.1104, allocations: 0 / 481.9 MB, free: 4.875 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.0002108/0.1106, allocations: 307.4 kB / 482.2 MB, free: 4.527 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.1107, allocations: 12.03 kB / 482.3 MB, free: 4.516 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.712e-05/0.1107, allocations: 30.56 kB / 482.3 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.586e-05/0.1107, allocations: 0 / 482.3 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.937e-05/0.1108, allocations: 171 kB / 482.5 MB, free: 4.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.1108, allocations: 4 kB / 482.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.1109, allocations: 3.984 kB / 482.5 MB, free: 4.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.234e-05/0.1109, allocations: 37.62 kB / 482.5 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.111, allocations: 0 / 482.5 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.651e-06/0.111, allocations: 0 / 482.5 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.111, allocations: 0 / 482.5 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.125e-05/0.111, allocations: 12 kB / 482.5 MB, free: 4.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001263/0.1111, allocations: 161.8 kB / 482.7 MB, free: 4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.1113, allocations: 42.55 kB / 482.7 MB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003359/0.1117, allocations: 121.2 kB / 482.8 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.1117, allocations: 42.55 kB / 482.9 MB, free: 3.762 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1117, allocations: 0 / 482.9 MB, free: 3.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.001193/0.1129, allocations: 209.4 kB / 483.1 MB, free: 3.551 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.1129, allocations: 51.41 kB / 483.1 MB, free: 3.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.799e-05/0.113, allocations: 97.86 kB / 483.2 MB, free: 3.383 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.113, allocations: 29.7 kB / 483.2 MB, free: 3.348 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.488e-05/0.113, allocations: 80.14 kB / 483.3 MB, free: 3.266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.1131, allocations: 15.8 kB / 483.3 MB, free: 3.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-06/0.1131, allocations: 0 / 483.3 MB, free: 3.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.845e-05/0.1132, allocations: 318.8 kB / 483.7 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.243e-05/0.1133, allocations: 24.11 kB / 483.7 MB, free: 2.906 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.961e-05/0.1133, allocations: 19.98 kB / 483.7 MB, free: 2.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.034e-05/0.1134, allocations: 23.98 kB / 483.7 MB, free: 2.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1134, allocations: 0 / 483.7 MB, free: 2.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001961/0.1136, allocations: 101.4 kB / 483.8 MB, free: 2.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.1137, allocations: 4 kB / 483.8 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.1137, allocations: 3.938 kB / 483.8 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-06/0.1137, allocations: 0 / 483.8 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.1138, allocations: 15.98 kB / 483.8 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1138, allocations: 4 kB / 483.8 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.607e-05/0.1139, allocations: 7.984 kB / 483.9 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.1139, allocations: 4 kB / 483.9 MB, free: 2.719 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 7.144e-05/0.114, allocations: 117.8 kB / 484 MB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-06/0.114, allocations: 0 / 484 MB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.1143, allocations: 101.1 kB / 484.1 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1143, allocations: 0 / 484.1 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1143, allocations: 0 / 484.1 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1143, allocations: 4 kB / 484.1 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006606/0.115, allocations: 379.3 kB / 484.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.115, allocations: 320 / 484.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.301e-05/0.1151, allocations: 15.98 kB / 484.5 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1151, allocations: 0 / 484.5 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.1151, allocations: 8 kB / 484.5 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1151, allocations: 4.031 kB / 484.5 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1151, allocations: 0 / 484.5 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.1154, allocations: 198.4 kB / 484.7 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.011e-05/0.1154, allocations: 85.02 kB / 484.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.1154, allocations: 4 kB / 484.8 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.1155, allocations: 11.97 kB / 484.8 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.1156, allocations: 7.938 kB / 484.8 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.1156, allocations: 3.953 kB / 484.8 MB, free: 1.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.759e-05/0.1156, allocations: 79.28 kB / 484.9 MB, free: 1.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1156, allocations: 0 / 484.9 MB, free: 1.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002222/0.1158, allocations: 16.09 kB / 484.9 MB, free: 1.59 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.0004843/0.1163, allocations: 0.7999 MB / 485.7 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.1165, allocations: 47.91 kB / 485.7 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1165, allocations: 0 / 485.7 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.197e-05/0.1166, allocations: 36.03 kB / 485.7 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/0.1168, allocations: 11.89 kB / 485.8 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004896/0.1173, allocations: 165.2 kB / 485.9 MB, free: 468 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.1175, allocations: 0.6848 MB / 486.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.39e-05/0.1175, allocations: 3.984 kB / 486.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.728e-05/0.1176, allocations: 15.44 kB / 486.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1176, allocations: 4 kB / 486.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009256/0.1268, allocations: 1.242 MB / 487.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001531/0.127, allocations: 184.4 kB / 488.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/1.742, allocations: 4.062 kB / 488.1 MB, free: 14.36 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat does not exist to compare? outputFormat=mat