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.001205/0.001205, allocations: 183.9 kB / 13.19 MB, free: 2.129 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.697/1.697, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.001006/0.001006, allocations: 82.62 kB / 267 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4208/0.4208, allocations: 43.47 MB / 358.6 MB, free: 51.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.939e-05/3.943e-05, allocations: 4 kB / 425.4 MB, free: 8.109 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1406, allocations: 58.85 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4529/0.5936, allocations: 85.26 MB / 0.5562 GB, free: 18.24 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.5939, allocations: 72.72 kB / 0.5562 GB, free: 18.21 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.024/0.6179, allocations: 8.233 MB / 0.5643 GB, free: 13.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.6179, allocations: 0 / 0.5643 GB, free: 13.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.618, allocations: 0 / 0.5643 GB, free: 13.2 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002789/0.6182, allocations: 343.7 kB / 0.5646 GB, free: 12.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.6183, allocations: 8.031 kB / 0.5646 GB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.309e-05/0.6183, allocations: 34.19 kB / 0.5646 GB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.874e-05/0.6184, allocations: 7.438 kB / 0.5646 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.723e-05/0.6185, allocations: 163.9 kB / 0.5648 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.6185, allocations: 4 kB / 0.5648 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.6185, allocations: 0 / 0.5648 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.354e-05/0.6186, allocations: 37.62 kB / 0.5648 GB, free: 12.53 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.6186, allocations: 0 / 0.5648 GB, free: 12.53 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.6186, allocations: 0 / 0.5648 GB, free: 12.53 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.6186, allocations: 1.375 kB / 0.5648 GB, free: 12.53 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.933e-05/0.6187, allocations: 4 kB / 0.5648 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.6188, allocations: 149.3 kB / 0.565 GB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.593e-05/0.6188, allocations: 22.61 kB / 0.565 GB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.376e-05/0.6189, allocations: 4.859 kB / 0.565 GB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.6189, allocations: 4.062 kB / 0.565 GB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.6189, allocations: 42.48 kB / 0.5651 GB, free: 12.24 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.6189, allocations: 0 / 0.5651 GB, free: 12.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001271/0.6191, allocations: 34.05 kB / 0.5651 GB, free: 12.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.6191, allocations: 55.41 kB / 0.5651 GB, free: 12.14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.108e-05/0.6192, allocations: 89.03 kB / 0.5652 GB, free: 12.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.6192, allocations: 25.7 kB / 0.5653 GB, free: 12.01 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.354e-05/0.6192, allocations: 80.14 kB / 0.5653 GB, free: 11.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.6193, allocations: 5.719 kB / 0.5653 GB, free: 11.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-06/0.6193, allocations: 0 / 0.5653 GB, free: 11.93 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.265e-05/0.6193, allocations: 322.5 kB / 0.5656 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.001e-05/0.6194, allocations: 0 / 0.5656 GB, free: 11.61 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.166e-06/0.6194, allocations: 8.125 kB / 0.5657 GB, free: 11.6 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.564e-05/0.6194, allocations: 2.25 kB / 0.5657 GB, free: 11.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.6194, allocations: 0 / 0.5657 GB, free: 11.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.15e-05/0.6195, allocations: 37.64 kB / 0.5657 GB, free: 11.55 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.6195, allocations: 4 kB / 0.5657 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.6195, allocations: 4 kB / 0.5657 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.6195, allocations: 3.938 kB / 0.5657 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.484e-06/0.6195, allocations: 3.984 kB / 0.5657 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.6196, allocations: 0 / 0.5657 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.729e-05/0.6196, allocations: 4 kB / 0.5657 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.6196, allocations: 4 kB / 0.5657 GB, free: 11.53 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 (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 6.958e-05/0.6197, allocations: 114.1 kB / 0.5658 GB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.114e-06/0.6197, allocations: 0 / 0.5658 GB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.6198, allocations: 44.45 kB / 0.5659 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.6198, allocations: 0 / 0.5659 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.6198, allocations: 0 / 0.5659 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.6198, allocations: 8.016 kB / 0.5659 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.063e-05/0.6199, allocations: 153.3 kB / 0.566 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.6199, allocations: 0 / 0.566 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.6199, allocations: 0 / 0.566 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.6199, allocations: 0 / 0.566 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.6199, allocations: 0 / 0.566 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.6199, allocations: 3.984 kB / 0.566 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.6199, allocations: 4 kB / 0.566 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.902e-05/0.62, allocations: 57.14 kB / 0.5661 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.15e-05/0.62, allocations: 82.47 kB / 0.5662 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.6201, allocations: 3.688 kB / 0.5662 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.569e-05/0.6201, allocations: 7.984 kB / 0.5662 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.6201, allocations: 0 / 0.5662 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.6201, allocations: 3.938 kB / 0.5662 GB, free: 10.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.722e-05/0.6202, allocations: 79.28 kB / 0.5663 GB, free: 10.9 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6202, allocations: 0 / 0.5663 GB, free: 10.9 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002914/0.6205, allocations: 47.94 kB / 0.5663 GB, free: 10.85 MB / 394.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 () * 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.0004372/0.6209, allocations: 0.6518 MB / 0.5669 GB, free: 10.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.917e-05/0.621, allocations: 29.7 kB / 0.567 GB, free: 10.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.621, allocations: 0 / 0.567 GB, free: 10.14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.627e-05/0.621, allocations: 33.64 kB / 0.567 GB, free: 10.11 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001099/0.6212, allocations: 4.156 kB / 0.567 GB, free: 10.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000358/0.6215, allocations: 102.2 kB / 0.5671 GB, free: 9.969 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/0.6217, allocations: 0.6783 MB / 0.5678 GB, free: 9.266 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.404e-05/0.6217, allocations: 0 / 0.5678 GB, free: 9.266 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.237e-05/0.6217, allocations: 7.438 kB / 0.5678 GB, free: 9.258 MB / 394.7 MB Notification: Performance of SimCode: time 2.11e-07/0.6217, allocations: 0 / 0.5678 GB, free: 9.258 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01176/0.6335, allocations: 1.429 MB / 0.5692 GB, free: 7.906 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/0.6338, allocations: 157.5 kB / 0.5693 GB, free: 7.68 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.527/2.161, allocations: 0 / 0.5693 GB, free: 7.68 MB / 394.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