Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",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.002294/0.002294, allocations: 180.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.188/2.188, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001083/0.001082, allocations: 82.66 kB / 267.5 MB, free: 14.04 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.3154/0.3154, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.703e-05/3.709e-05, allocations: 4 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1242, allocations: 58.85 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4967/0.6209, allocations: 84 MB / 0.5549 GB, free: 3.164 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.6212, allocations: 70.59 kB / 0.555 GB, free: 3.129 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003556/0.6248, allocations: 0.9018 MB / 0.5559 GB, free: 2.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.6248, allocations: 4 kB / 0.5559 GB, free: 2.316 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.6248, allocations: 0 / 0.5559 GB, free: 2.316 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000253/0.6251, allocations: 329.8 kB / 0.5562 GB, free: 1.953 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.6252, allocations: 12.03 kB / 0.5562 GB, free: 1.941 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.129e-05/0.6252, allocations: 30.56 kB / 0.5562 GB, free: 1.902 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.836e-05/0.6252, allocations: 4.625 kB / 0.5562 GB, free: 1.898 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.478e-05/0.6253, allocations: 174.8 kB / 0.5564 GB, free: 1.691 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.6254, allocations: 0 / 0.5564 GB, free: 1.691 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.6254, allocations: 7.938 kB / 0.5564 GB, free: 1.684 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.6255, allocations: 57.06 kB / 0.5565 GB, free: 1.629 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.6256, allocations: 0 / 0.5565 GB, free: 1.629 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.6256, allocations: 3.938 kB / 0.5565 GB, free: 1.629 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.6256, allocations: 0 / 0.5565 GB, free: 1.629 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.6257, allocations: 47.53 kB / 0.5565 GB, free: 1.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.6259, allocations: 181 kB / 0.5567 GB, free: 1.371 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.6261, allocations: 69.83 kB / 0.5567 GB, free: 1.312 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.542e-05/0.6262, allocations: 38.47 kB / 0.5568 GB, free: 1.281 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003292/0.6265, allocations: 247.3 kB / 0.557 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.6265, allocations: 34.56 kB / 0.5571 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 2.064e-06/0.6266, allocations: 0 / 0.5571 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002172/0.6268, allocations: 81.53 kB / 0.5571 GB, free: 0.8672 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.6268, allocations: 55.02 kB / 0.5572 GB, free: 0.8047 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.972e-05/0.6269, allocations: 96.88 kB / 0.5573 GB, free: 0.707 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.6269, allocations: 25.7 kB / 0.5573 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.546e-05/0.6269, allocations: 154.5 kB / 0.5574 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.627, allocations: 31.34 kB / 0.5575 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/0.627, allocations: 0 / 0.5575 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.954e-05/0.6271, allocations: 322.7 kB / 0.5578 GB, free: 180 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.47e-05/0.6271, allocations: 15.75 kB / 0.5578 GB, free: 168 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.338e-05/0.6272, allocations: 19.81 kB / 0.5578 GB, free: 152 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.433e-05/0.6273, allocations: 11.88 kB / 0.5578 GB, free: 144 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.6273, allocations: 4.125 kB / 0.5578 GB, free: 140 kB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001592/0.6274, allocations: 85.3 kB / 0.5579 GB, free: 60 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.6275, allocations: 4 kB / 0.5579 GB, free: 56 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.6275, allocations: 0.8594 kB / 0.5579 GB, free: 56 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.6275, allocations: 0 / 0.5579 GB, free: 56 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.6277, allocations: 19.75 kB / 0.5579 GB, free: 40 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.6277, allocations: 0 / 0.5579 GB, free: 40 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.783e-05/0.6277, allocations: 0 / 0.5579 GB, free: 40 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.6277, allocations: 4 kB / 0.5579 GB, free: 36 kB / 362.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 (10): * Single equations (assignments): 10 * 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 0.0001058/0.6279, allocations: 117.2 kB / 0.5581 GB, free: 15.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.6279, allocations: 7.906 kB / 0.5581 GB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002612/0.6282, allocations: 97.08 kB / 0.5582 GB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.6282, allocations: 0 / 0.5582 GB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.6282, allocations: 4 kB / 0.5582 GB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.6282, allocations: 0 / 0.5582 GB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.6284, allocations: 181.2 kB / 0.5583 GB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.6284, allocations: 4 kB / 0.5583 GB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.6286, allocations: 19.94 kB / 0.5584 GB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.6286, allocations: 4 kB / 0.5584 GB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.6286, allocations: 0 / 0.5584 GB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.6286, allocations: 0 / 0.5584 GB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6286, allocations: 0 / 0.5584 GB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.6289, allocations: 108.2 kB / 0.5585 GB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.917e-05/0.6289, allocations: 85.28 kB / 0.5585 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.629, allocations: 3.812 kB / 0.5585 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.632e-05/0.629, allocations: 3.938 kB / 0.5585 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.629, allocations: 11.98 kB / 0.5586 GB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.6291, allocations: 3.984 kB / 0.5586 GB, free: 15.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.039e-05/0.6291, allocations: 82.84 kB / 0.5586 GB, free: 15.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6291, allocations: 0 / 0.5586 GB, free: 15.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002703/0.6294, allocations: 19.94 kB / 0.5587 GB, free: 15.25 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0006098/0.63, allocations: 0.658 MB / 0.5593 GB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.6303, allocations: 59.45 kB / 0.5594 GB, free: 14.53 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6303, allocations: 0 / 0.5594 GB, free: 14.53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.905e-05/0.6303, allocations: 31.31 kB / 0.5594 GB, free: 14.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.6305, allocations: 6.016 kB / 0.5594 GB, free: 14.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005236/0.631, allocations: 159.3 kB / 0.5595 GB, free: 14.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.6314, allocations: 0.6848 MB / 0.5602 GB, free: 13.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.811e-05/0.6314, allocations: 19.31 kB / 0.5602 GB, free: 13.59 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6314, allocations: 0 / 0.5602 GB, free: 13.59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.428/3.06, allocations: 1.038 MB / 0.5613 GB, free: 12.56 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegFunctions_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat does not exist to compare? outputFormat=mat