Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 182.9 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008829/0.0008829, allocations: 94.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2203/0.2203, allocations: 43.55 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003346, allocations: 8 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1378, allocations: 58.85 MB / 490.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4047/0.5425, allocations: 84 MB / 0.5609 GB, free: 15.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/0.5428, allocations: 72.89 kB / 0.5609 GB, free: 15.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001775/0.5446, allocations: 0.6196 MB / 0.5615 GB, free: 15.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.787e-06/0.5446, allocations: 0 / 0.5615 GB, free: 15.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.5446, allocations: 4 kB / 0.5616 GB, free: 15.03 MB / 378.7 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.0003344/0.545, allocations: 319.9 kB / 0.5619 GB, free: 14.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.014e-05/0.545, allocations: 8.031 kB / 0.5619 GB, free: 14.67 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.785e-05/0.5451, allocations: 30.56 kB / 0.5619 GB, free: 14.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.5451, allocations: 4 kB / 0.5619 GB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.5453, allocations: 174.9 kB / 0.5621 GB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.5453, allocations: 3.312 kB / 0.5621 GB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.5454, allocations: 0 / 0.5621 GB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.5455, allocations: 29.7 kB / 0.5621 GB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.5455, allocations: 4 kB / 0.5621 GB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.5455, allocations: 4 kB / 0.5621 GB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.5455, allocations: 0.9844 kB / 0.5621 GB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.374e-05/0.5456, allocations: 11.61 kB / 0.5621 GB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002064/0.5458, allocations: 157.2 kB / 0.5623 GB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.546, allocations: 33.77 kB / 0.5623 GB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003125/0.5463, allocations: 121.2 kB / 0.5624 GB, free: 13.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.5463, allocations: 34.55 kB / 0.5624 GB, free: 13.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.5463, allocations: 0 / 0.5624 GB, free: 13.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.00131/0.5477, allocations: 207.4 kB / 0.5626 GB, free: 13.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.5477, allocations: 54.09 kB / 0.5627 GB, free: 13.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.722e-05/0.5478, allocations: 88.5 kB / 0.5628 GB, free: 13.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.5478, allocations: 29.69 kB / 0.5628 GB, free: 13.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/0.5478, allocations: 84.14 kB / 0.5629 GB, free: 13.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.5479, allocations: 19.11 kB / 0.5629 GB, free: 13.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.5479, allocations: 4.125 kB / 0.5629 GB, free: 13.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.5481, allocations: 318.2 kB / 0.5632 GB, free: 13.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.888e-05/0.5482, allocations: 19.98 kB / 0.5632 GB, free: 13.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.174e-05/0.5482, allocations: 27.41 kB / 0.5633 GB, free: 13.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.53e-05/0.5483, allocations: 23.3 kB / 0.5633 GB, free: 13.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.5483, allocations: 4 kB / 0.5633 GB, free: 13.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001933/0.5485, allocations: 84.23 kB / 0.5634 GB, free: 13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.5486, allocations: 4 kB / 0.5634 GB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.5486, allocations: 0 / 0.5634 GB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.5486, allocations: 0 / 0.5634 GB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.5487, allocations: 23.92 kB / 0.5634 GB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.5487, allocations: 3.984 kB / 0.5634 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.063e-05/0.5488, allocations: 8 kB / 0.5634 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.5489, allocations: 2.625 kB / 0.5634 GB, free: 12.96 MB / 378.7 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.143e-05/0.5489, allocations: 121 kB / 0.5635 GB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.108e-05/0.549, allocations: 4.266 kB / 0.5635 GB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.5492, allocations: 103.5 kB / 0.5636 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.5492, allocations: 3.984 kB / 0.5636 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.5493, allocations: 0 / 0.5636 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.5493, allocations: 0 / 0.5636 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006696/0.5499, allocations: 364.9 kB / 0.564 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.55, allocations: 0 / 0.564 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.5501, allocations: 24.02 kB / 0.564 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5501, allocations: 0 / 0.564 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.5501, allocations: 0 / 0.564 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.5501, allocations: 0 / 0.564 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5501, allocations: 0 / 0.564 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.5504, allocations: 209.2 kB / 0.5642 GB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.066e-05/0.5504, allocations: 81.09 kB / 0.5643 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.5504, allocations: 3.625 kB / 0.5643 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.5506, allocations: 8 kB / 0.5643 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.892e-05/0.5506, allocations: 3.984 kB / 0.5643 GB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-06/0.5506, allocations: 4 kB / 0.5643 GB, free: 11.97 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.942e-05/0.5506, allocations: 83.23 kB / 0.5644 GB, free: 11.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5506, allocations: 0 / 0.5644 GB, free: 11.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002133/0.5509, allocations: 8 kB / 0.5644 GB, free: 11.88 MB / 378.7 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.0005811/0.5514, allocations: 0.8047 MB / 0.5652 GB, free: 11.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.5517, allocations: 55.64 kB / 0.5652 GB, free: 11.01 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.5517, allocations: 2.625 kB / 0.5652 GB, free: 11.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.427e-05/0.5518, allocations: 35.59 kB / 0.5653 GB, free: 10.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.5519, allocations: 11.39 kB / 0.5653 GB, free: 10.97 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005787/0.5525, allocations: 171.8 kB / 0.5654 GB, free: 10.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.5528, allocations: 0.6809 MB / 0.5661 GB, free: 10.06 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.192e-05/0.5529, allocations: 4.562 kB / 0.5661 GB, free: 10.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/0.5529, allocations: 15.42 kB / 0.5661 GB, free: 10.04 MB / 378.7 MB Notification: Performance of SimCode: time 4.81e-07/0.5529, allocations: 0 / 0.5661 GB, free: 10.04 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01165/0.5646, allocations: 1.221 MB / 0.5673 GB, free: 8.863 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001601/0.5648, allocations: 178.1 kB / 0.5675 GB, free: 8.621 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/2.147, allocations: 0 / 0.5675 GB, free: 8.621 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat does not exist to compare? outputFormat=mat