Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.Test02RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",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.001114/0.001114, allocations: 182.2 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.608/1.608, 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.000865/0.000865, allocations: 86.88 kB / 270.2 MB, free: 13.38 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.2159/0.2159, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003324, allocations: 8 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1333, allocations: 58.86 MB / 490.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3844/0.5177, allocations: 85.36 MB / 0.5622 GB, free: 14.36 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/0.518, allocations: 67.81 kB / 0.5623 GB, free: 14.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02651/0.5445, allocations: 8.228 MB / 0.5703 GB, free: 7.238 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.5446, allocations: 4 kB / 0.5703 GB, free: 7.234 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.5446, allocations: 0 / 0.5703 GB, free: 7.234 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.0004999/0.5451, allocations: 349.9 kB / 0.5706 GB, free: 6.848 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.5452, allocations: 8.031 kB / 0.5706 GB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.648e-05/0.5452, allocations: 31.75 kB / 0.5707 GB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.5453, allocations: 4 kB / 0.5707 GB, free: 6.797 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.5454, allocations: 167.6 kB / 0.5708 GB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.5454, allocations: 0 / 0.5708 GB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.5455, allocations: 0.6875 kB / 0.5708 GB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.5456, allocations: 48.38 kB / 0.5709 GB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.5456, allocations: 0 / 0.5709 GB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.5456, allocations: 0.75 kB / 0.5709 GB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.5456, allocations: 4 kB / 0.5709 GB, free: 6.539 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.433e-05/0.5457, allocations: 8.484 kB / 0.5709 GB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.5461, allocations: 242.7 kB / 0.5711 GB, free: 6.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.717e-05/0.5461, allocations: 15.83 kB / 0.5711 GB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.5462, allocations: 8 kB / 0.5712 GB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.5462, allocations: 35.19 kB / 0.5712 GB, free: 6.176 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.643e-06/0.5462, allocations: 0 / 0.5712 GB, free: 6.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.000161/0.5464, allocations: 38.75 kB / 0.5712 GB, free: 6.133 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.5464, allocations: 51.91 kB / 0.5713 GB, free: 6.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.086e-05/0.5465, allocations: 94.7 kB / 0.5714 GB, free: 5.973 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.5466, allocations: 25.7 kB / 0.5714 GB, free: 5.941 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.103e-05/0.5466, allocations: 89.92 kB / 0.5715 GB, free: 5.852 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.538e-06/0.5466, allocations: 4.469 kB / 0.5715 GB, free: 5.848 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.5467, allocations: 0.5 kB / 0.5715 GB, free: 5.848 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.5468, allocations: 318.5 kB / 0.5718 GB, free: 5.531 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.317e-05/0.5468, allocations: 4 kB / 0.5718 GB, free: 5.527 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.708e-05/0.5468, allocations: 22.52 kB / 0.5718 GB, free: 5.496 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.565e-05/0.5469, allocations: 8 kB / 0.5718 GB, free: 5.488 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.5469, allocations: 0 / 0.5718 GB, free: 5.488 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.04e-05/0.547, allocations: 53.44 kB / 0.5719 GB, free: 5.434 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.547, allocations: 6.656 kB / 0.5719 GB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.547, allocations: 4 kB / 0.5719 GB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.547, allocations: 0 / 0.5719 GB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.307e-05/0.5471, allocations: 4 kB / 0.5719 GB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.5471, allocations: 0 / 0.5719 GB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.087e-05/0.5471, allocations: 0 / 0.5719 GB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.5471, allocations: 12.05 kB / 0.5719 GB, free: 5.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 8.978e-05/0.5472, allocations: 117.8 kB / 0.572 GB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.15e-05/0.5473, allocations: 4 kB / 0.572 GB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.5474, allocations: 40.7 kB / 0.5721 GB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.5474, allocations: 4 kB / 0.5721 GB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5474, allocations: 0 / 0.5721 GB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.5474, allocations: 7.922 kB / 0.5721 GB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.5476, allocations: 149.7 kB / 0.5722 GB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.5476, allocations: 4 kB / 0.5722 GB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.82e-07/0.5476, allocations: 0 / 0.5722 GB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.5476, allocations: 0 / 0.5722 GB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.5476, allocations: 0 / 0.5722 GB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.5476, allocations: 0 / 0.5722 GB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.5476, allocations: 3.984 kB / 0.5722 GB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.5478, allocations: 135.3 kB / 0.5723 GB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.5478, allocations: 81.14 kB / 0.5724 GB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.5479, allocations: 4 kB / 0.5724 GB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.732e-05/0.5479, allocations: 0 / 0.5724 GB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.844e-05/0.548, allocations: 3.984 kB / 0.5724 GB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.548, allocations: 0 / 0.5724 GB, free: 4.777 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.302e-05/0.548, allocations: 79.28 kB / 0.5725 GB, free: 4.699 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.548, allocations: 0 / 0.5725 GB, free: 4.699 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003692/0.5484, allocations: 51.75 kB / 0.5726 GB, free: 4.652 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0005943/0.549, allocations: 0.7124 MB / 0.5732 GB, free: 3.914 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.5491, allocations: 41.62 kB / 0.5733 GB, free: 3.867 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5491, allocations: 3.938 kB / 0.5733 GB, free: 3.863 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.822e-05/0.5491, allocations: 29.52 kB / 0.5733 GB, free: 3.832 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.5493, allocations: 12.22 kB / 0.5733 GB, free: 3.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004327/0.5497, allocations: 124.8 kB / 0.5734 GB, free: 3.656 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.55, allocations: 0.677 MB / 0.5741 GB, free: 2.953 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.258e-05/0.55, allocations: 0 / 0.5741 GB, free: 2.953 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.629e-05/0.55, allocations: 15.12 kB / 0.5741 GB, free: 2.941 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5501, allocations: 0 / 0.5741 GB, free: 2.941 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01453/0.5646, allocations: 1.415 MB / 0.5755 GB, free: 1.57 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002269/0.5649, allocations: 188.5 kB / 0.5757 GB, free: 1.32 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.453/2.018, allocations: 3.938 kB / 0.5757 GB, free: 1.316 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test02RegFun3_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test02RegFun3.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat does not exist to compare? outputFormat=mat