Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",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.001553/0.001553, allocations: 183.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.572/1.572, 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.0008774/0.0008774, allocations: 98.83 kB / 270.2 MB, free: 13.36 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.2312/0.2312, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003241/0.0003241, allocations: 8 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.127, allocations: 58.86 MB / 490.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4231/0.5501, allocations: 85.35 MB / 0.5622 GB, free: 14.3 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002051/0.5503, allocations: 73.84 kB / 0.5623 GB, free: 14.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02648/0.5768, allocations: 8.229 MB / 0.5703 GB, free: 7.168 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.332e-06/0.5769, allocations: 3.984 kB / 0.5703 GB, free: 7.164 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.996e-06/0.5769, allocations: 0 / 0.5703 GB, free: 7.164 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004977/0.5774, allocations: 351 kB / 0.5706 GB, free: 6.777 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.5775, allocations: 8.031 kB / 0.5707 GB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.544e-05/0.5775, allocations: 38.56 kB / 0.5707 GB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.776e-05/0.5776, allocations: 0 / 0.5707 GB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.5777, allocations: 167 kB / 0.5709 GB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.5777, allocations: 0 / 0.5709 GB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.968e-06/0.5778, allocations: 0 / 0.5709 GB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.5779, allocations: 37.69 kB / 0.5709 GB, free: 6.477 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.5779, allocations: 0 / 0.5709 GB, free: 6.477 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.5779, allocations: 3.938 kB / 0.5709 GB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.5779, allocations: 0 / 0.5709 GB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.239e-05/0.578, allocations: 4 kB / 0.5709 GB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002068/0.5782, allocations: 151.5 kB / 0.571 GB, free: 6.273 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.994e-05/0.5782, allocations: 19.55 kB / 0.5711 GB, free: 6.246 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.5783, allocations: 4 kB / 0.5711 GB, free: 6.242 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.5783, allocations: 35.5 kB / 0.5711 GB, free: 6.199 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.5783, allocations: 0 / 0.5711 GB, free: 6.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001752/0.5785, allocations: 35.14 kB / 0.5711 GB, free: 6.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.5786, allocations: 55.41 kB / 0.5712 GB, free: 6.094 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.708e-05/0.5787, allocations: 90.11 kB / 0.5713 GB, free: 6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.5787, allocations: 26.45 kB / 0.5713 GB, free: 5.969 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.5787, allocations: 84.39 kB / 0.5714 GB, free: 5.883 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.5788, allocations: 13.16 kB / 0.5714 GB, free: 5.871 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-06/0.5788, allocations: 0 / 0.5714 GB, free: 5.871 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.5789, allocations: 312 kB / 0.5717 GB, free: 5.559 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.125e-05/0.5789, allocations: 0 / 0.5717 GB, free: 5.559 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.124e-05/0.579, allocations: 4.562 kB / 0.5717 GB, free: 5.555 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.837e-05/0.579, allocations: 3.953 kB / 0.5717 GB, free: 5.551 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.579, allocations: 0 / 0.5717 GB, free: 5.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.374e-05/0.5791, allocations: 46.83 kB / 0.5717 GB, free: 5.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.5791, allocations: 7.984 kB / 0.5717 GB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.5791, allocations: 0 / 0.5717 GB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.5791, allocations: 4 kB / 0.5717 GB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.5792, allocations: 0 / 0.5717 GB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.5792, allocations: 0 / 0.5717 GB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.943e-05/0.5792, allocations: 0.5 kB / 0.5717 GB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.5792, allocations: 0 / 0.5717 GB, free: 5.488 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 (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 prepare postOptimizeDAE: time 8.86e-05/0.5793, allocations: 118.5 kB / 0.5719 GB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.818e-06/0.5793, allocations: 0.5938 kB / 0.5719 GB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/0.5795, allocations: 47.62 kB / 0.5719 GB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.5795, allocations: 3.938 kB / 0.5719 GB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5795, allocations: 0 / 0.5719 GB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.5795, allocations: 0 / 0.5719 GB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.5796, allocations: 151 kB / 0.5721 GB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.5796, allocations: 3.953 kB / 0.5721 GB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.873e-06/0.5796, allocations: 0 / 0.5721 GB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.5796, allocations: 4.031 kB / 0.5721 GB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.5797, allocations: 1.25 kB / 0.5721 GB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.5797, allocations: 0 / 0.5721 GB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.5797, allocations: 4 kB / 0.5721 GB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.901e-05/0.5798, allocations: 59.88 kB / 0.5721 GB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.129e-05/0.5798, allocations: 85.06 kB / 0.5722 GB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.5798, allocations: 0 / 0.5722 GB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.896e-05/0.5799, allocations: 8.031 kB / 0.5722 GB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.111e-05/0.5799, allocations: 0 / 0.5722 GB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.5799, allocations: 0 / 0.5722 GB, free: 4.918 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.799e-05/0.58, allocations: 76.91 kB / 0.5723 GB, free: 4.844 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.58, allocations: 4 kB / 0.5723 GB, free: 4.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003338/0.5803, allocations: 52.67 kB / 0.5723 GB, free: 4.789 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.0006804/0.581, allocations: 0.6409 MB / 0.573 GB, free: 4.121 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001066/0.5811, allocations: 34.83 kB / 0.573 GB, free: 4.082 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5812, allocations: 3.938 kB / 0.573 GB, free: 4.078 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.986e-05/0.5812, allocations: 34.39 kB / 0.573 GB, free: 4.039 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.5813, allocations: 4.5 kB / 0.573 GB, free: 4.035 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004751/0.5818, allocations: 134 kB / 0.5732 GB, free: 3.867 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.5821, allocations: 0.677 MB / 0.5738 GB, free: 3.164 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.39e-05/0.5821, allocations: 0 / 0.5738 GB, free: 3.164 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.485e-05/0.5822, allocations: 8 kB / 0.5738 GB, free: 3.156 MB / 378.7 MB Notification: Performance of SimCode: time 7.22e-07/0.5822, allocations: 0 / 0.5738 GB, free: 3.156 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01582/0.598, allocations: 1.424 MB / 0.5752 GB, free: 1.781 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/0.5983, allocations: 184.4 kB / 0.5754 GB, free: 1.535 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.556/2.154, allocations: 4 kB / 0.5754 GB, free: 1.531 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat does not exist to compare? outputFormat=mat