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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 221.3 MB / 236 MB, free: 2.992 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008327/0.0008323, allocations: 91.67 kB / 287 MB, free: 260 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1965/0.1965, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.8e-05/2.802e-05, allocations: 4.203 kB / 451.9 MB, free: 9.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1358, allocations: 61.92 MB / 0.5018 GB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4115/0.5473, allocations: 84.97 MB / 0.5848 GB, free: 4.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.5476, allocations: 63.97 kB / 0.5848 GB, free: 4.258 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001675/0.5493, allocations: 0.6187 MB / 0.5854 GB, free: 3.645 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.5493, allocations: 0 / 0.5854 GB, free: 3.645 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.5493, allocations: 4 kB / 0.5854 GB, free: 3.641 MB / 394.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.0002096/0.5495, allocations: 316 kB / 0.5857 GB, free: 3.289 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.5496, allocations: 8.031 kB / 0.5857 GB, free: 3.281 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.042e-05/0.5496, allocations: 34.56 kB / 0.5858 GB, free: 3.238 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.073e-05/0.5497, allocations: 0 / 0.5858 GB, free: 3.238 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.5498, allocations: 171 kB / 0.5859 GB, free: 3.031 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.084e-06/0.5498, allocations: 0 / 0.5859 GB, free: 3.031 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.5498, allocations: 7.953 kB / 0.586 GB, free: 3.023 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.528e-05/0.5499, allocations: 41.62 kB / 0.586 GB, free: 2.977 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.5499, allocations: 0 / 0.586 GB, free: 2.977 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-06/0.5499, allocations: 0 / 0.586 GB, free: 2.977 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.5499, allocations: 0 / 0.586 GB, free: 2.977 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.206e-05/0.55, allocations: 7.938 kB / 0.586 GB, free: 2.969 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.5501, allocations: 153.7 kB / 0.5861 GB, free: 2.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.5503, allocations: 41.97 kB / 0.5862 GB, free: 2.723 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.501e-05/0.5503, allocations: 8.859 kB / 0.5862 GB, free: 2.711 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000286/0.5506, allocations: 117.2 kB / 0.5863 GB, free: 2.578 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.5507, allocations: 46.5 kB / 0.5863 GB, free: 2.523 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.5507, allocations: 0 / 0.5863 GB, free: 2.523 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009919/0.5517, allocations: 161.4 kB / 0.5865 GB, free: 2.359 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.5517, allocations: 55.41 kB / 0.5866 GB, free: 2.293 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.855e-05/0.5518, allocations: 85 kB / 0.5866 GB, free: 2.203 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.5518, allocations: 25.7 kB / 0.5867 GB, free: 2.172 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.663e-05/0.5518, allocations: 80.14 kB / 0.5867 GB, free: 2.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.5519, allocations: 18.77 kB / 0.5868 GB, free: 2.074 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/0.5519, allocations: 4.125 kB / 0.5868 GB, free: 2.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.338e-05/0.552, allocations: 314.8 kB / 0.5871 GB, free: 1.754 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.847e-05/0.552, allocations: 12 kB / 0.5871 GB, free: 1.742 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.786e-05/0.552, allocations: 11.94 kB / 0.5871 GB, free: 1.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.14e-05/0.5521, allocations: 8.5 kB / 0.5871 GB, free: 1.723 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.5521, allocations: 0 / 0.5871 GB, free: 1.723 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.632e-05/0.5522, allocations: 59.12 kB / 0.5871 GB, free: 1.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.5522, allocations: 9.516 kB / 0.5872 GB, free: 1.652 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.633e-05/0.5523, allocations: 0 / 0.5872 GB, free: 1.652 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.5523, allocations: 0 / 0.5872 GB, free: 1.652 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.5524, allocations: 20.12 kB / 0.5872 GB, free: 1.633 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.5524, allocations: 4 kB / 0.5872 GB, free: 1.629 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.426e-05/0.5525, allocations: 7.984 kB / 0.5872 GB, free: 1.621 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.5525, allocations: 4 kB / 0.5872 GB, free: 1.617 MB / 394.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 () * 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.176e-05/0.5526, allocations: 108.9 kB / 0.5873 GB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.5526, allocations: 3.984 kB / 0.5873 GB, free: 1.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001751/0.5528, allocations: 86.16 kB / 0.5874 GB, free: 1.406 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.5528, allocations: 0 / 0.5874 GB, free: 1.406 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5528, allocations: 0 / 0.5874 GB, free: 1.406 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.5529, allocations: 3.984 kB / 0.5874 GB, free: 1.402 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005494/0.5534, allocations: 335.3 kB / 0.5877 GB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5534, allocations: 3.984 kB / 0.5877 GB, free: 1.012 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.5535, allocations: 19.92 kB / 0.5877 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.5535, allocations: 0 / 0.5877 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.5536, allocations: 4 kB / 0.5877 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.5536, allocations: 7.766 kB / 0.5877 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5536, allocations: 0 / 0.5877 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.5537, allocations: 178 kB / 0.5879 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.49e-05/0.5537, allocations: 81.11 kB / 0.588 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.5538, allocations: 0 / 0.588 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.5539, allocations: 7.984 kB / 0.588 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.813e-05/0.5539, allocations: 4 kB / 0.588 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.5539, allocations: 0 / 0.588 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.452e-05/0.5539, allocations: 87.27 kB / 0.5881 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.554, allocations: 0 / 0.5881 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002097/0.5542, allocations: 16 kB / 0.5881 GB, free: 0.5781 MB / 394.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 () * 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.0004405/0.5546, allocations: 0.7759 MB / 0.5889 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001008/0.5547, allocations: 23.98 kB / 0.5889 GB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.5547, allocations: 8 kB / 0.5889 GB, free: 15.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.957e-05/0.5548, allocations: 11.94 kB / 0.5889 GB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.5549, allocations: 4 kB / 0.5889 GB, free: 15.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004723/0.5554, allocations: 124 kB / 0.589 GB, free: 15.56 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.5556, allocations: 0.6809 MB / 0.5897 GB, free: 14.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.034e-05/0.5557, allocations: 4 kB / 0.5897 GB, free: 14.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.204e-05/0.5557, allocations: 15.44 kB / 0.5897 GB, free: 14.84 MB / 410.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5557, allocations: 4 kB / 0.5897 GB, free: 14.83 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01103/0.5668, allocations: 1.23 MB / 0.5909 GB, free: 13.71 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001598/0.567, allocations: 158.7 kB / 0.5911 GB, free: 13.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.493/2.06, allocations: 3.938 kB / 0.5911 GB, free: 13.48 MB / 410.7 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