Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002017/0.002017, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.065/2.065, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00118/0.00118, allocations: 89.34 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2921/0.2921, allocations: 43.48 MB / 353.6 MB, free: 2.285 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.271e-05/2.269e-05, allocations: 0 / 418.3 MB, free: 40.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.4228, allocations: 58.86 MB / 477.2 MB, free: 5.195 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1585/0.5813, allocations: 84.61 MB / 0.5486 GB, free: 14.62 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.5816, allocations: 71.91 kB / 0.5487 GB, free: 14.55 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04542/0.6271, allocations: 8.192 MB / 0.5567 GB, free: 6.359 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6271, allocations: 0 / 0.5567 GB, free: 6.359 MB / 395.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.6271, allocations: 0 / 0.5567 GB, free: 6.359 MB / 395.1 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.0004063/0.6276, allocations: 350.4 kB / 0.557 GB, free: 5.973 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.6276, allocations: 8.031 kB / 0.557 GB, free: 5.965 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.6277, allocations: 3.984 kB / 0.557 GB, free: 5.961 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.6278, allocations: 171 kB / 0.5572 GB, free: 5.754 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.6278, allocations: 0 / 0.5572 GB, free: 5.754 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.6279, allocations: 8 kB / 0.5572 GB, free: 5.746 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.499e-05/0.6279, allocations: 0 / 0.5572 GB, free: 5.746 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.093e-05/0.628, allocations: 29.7 kB / 0.5572 GB, free: 5.711 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.628, allocations: 0 / 0.5572 GB, free: 5.711 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.628, allocations: 4 kB / 0.5572 GB, free: 5.707 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.6281, allocations: 0 / 0.5572 GB, free: 5.707 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.6282, allocations: 134.2 kB / 0.5574 GB, free: 5.539 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.308e-05/0.6283, allocations: 22.52 kB / 0.5574 GB, free: 5.508 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.866e-05/0.6283, allocations: 8.922 kB / 0.5574 GB, free: 5.496 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.6284, allocations: 4 kB / 0.5574 GB, free: 5.492 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.815e-05/0.6284, allocations: 30.56 kB / 0.5574 GB, free: 5.453 MB / 395.1 MB Notification: Performance of pre-optimization done (n=1): time 2.184e-06/0.6285, allocations: 0 / 0.5574 GB, free: 5.453 MB / 395.1 MB Notification: Performance of matching and sorting (n=1): time 0.000195/0.6287, allocations: 33.7 kB / 0.5575 GB, free: 5.414 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.6287, allocations: 51.41 kB / 0.5575 GB, free: 5.352 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.145e-05/0.6288, allocations: 89.11 kB / 0.5576 GB, free: 5.258 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.6289, allocations: 33.73 kB / 0.5576 GB, free: 5.219 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.817e-05/0.6289, allocations: 154.6 kB / 0.5578 GB, free: 5.066 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.629, allocations: 0.625 kB / 0.5578 GB, free: 5.066 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.629, allocations: 0 / 0.5578 GB, free: 5.066 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.6291, allocations: 310.8 kB / 0.5581 GB, free: 4.754 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.47e-05/0.6292, allocations: 3.938 kB / 0.5581 GB, free: 4.75 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.316e-05/0.6292, allocations: 4 kB / 0.5581 GB, free: 4.746 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.595e-05/0.6292, allocations: 0 / 0.5581 GB, free: 4.746 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6293, allocations: 4.062 kB / 0.5581 GB, free: 4.742 MB / 395.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.959e-05/0.6294, allocations: 37.66 kB / 0.5581 GB, free: 4.699 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.6294, allocations: 8 kB / 0.5581 GB, free: 4.691 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.6294, allocations: 3.984 kB / 0.5581 GB, free: 4.688 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.6295, allocations: 0 / 0.5581 GB, free: 4.688 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.673e-06/0.6295, allocations: 0 / 0.5581 GB, free: 4.688 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.6295, allocations: 0 / 0.5581 GB, free: 4.688 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.821e-05/0.6295, allocations: 3.938 kB / 0.5581 GB, free: 4.684 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.6295, allocations: 4 kB / 0.5581 GB, free: 4.68 MB / 395.1 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 8.563e-05/0.6296, allocations: 105 kB / 0.5582 GB, free: 4.57 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001006/0.6297, allocations: 53.44 kB / 0.5583 GB, free: 4.512 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-06/0.6298, allocations: 0 / 0.5583 GB, free: 4.512 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/0.6299, allocations: 41.44 kB / 0.5583 GB, free: 4.465 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.63, allocations: 0 / 0.5583 GB, free: 4.465 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.63, allocations: 0 / 0.5583 GB, free: 4.465 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.63, allocations: 0 / 0.5583 GB, free: 4.465 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.6301, allocations: 130.2 kB / 0.5584 GB, free: 4.301 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.6302, allocations: 8.016 kB / 0.5585 GB, free: 4.293 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-06/0.6302, allocations: 0 / 0.5585 GB, free: 4.293 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.6302, allocations: 0 / 0.5585 GB, free: 4.293 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.6302, allocations: 4 kB / 0.5585 GB, free: 4.289 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.6302, allocations: 0 / 0.5585 GB, free: 4.289 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6302, allocations: 0 / 0.5585 GB, free: 4.289 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.6303, allocations: 65.06 kB / 0.5585 GB, free: 4.207 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.072e-05/0.6304, allocations: 81.09 kB / 0.5586 GB, free: 4.109 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.6304, allocations: 4 kB / 0.5586 GB, free: 4.105 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.738e-05/0.6305, allocations: 4 kB / 0.5586 GB, free: 4.102 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.829e-05/0.6305, allocations: 0 / 0.5586 GB, free: 4.102 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.6306, allocations: 8 kB / 0.5586 GB, free: 4.094 MB / 395.1 MB Notification: Performance of sorting global known variables: time 4.866e-05/0.6306, allocations: 79.27 kB / 0.5587 GB, free: 4.016 MB / 395.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6306, allocations: 0 / 0.5587 GB, free: 4.016 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.000414/0.6311, allocations: 51.94 kB / 0.5587 GB, free: 3.965 MB / 395.1 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.0007451/0.6318, allocations: 0.6437 MB / 0.5594 GB, free: 3.289 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001106/0.6319, allocations: 33.64 kB / 0.5594 GB, free: 3.25 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.632, allocations: 0 / 0.5594 GB, free: 3.25 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 3.251e-05/0.632, allocations: 29.7 kB / 0.5594 GB, free: 3.215 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.6321, allocations: 0 / 0.5594 GB, free: 3.215 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005307/0.6327, allocations: 139.4 kB / 0.5596 GB, free: 3.035 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.633, allocations: 0.6768 MB / 0.5602 GB, free: 2.332 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.357e-05/0.633, allocations: 7.438 kB / 0.5602 GB, free: 2.324 MB / 395.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6331, allocations: 0 / 0.5602 GB, free: 2.324 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.571/3.204, allocations: 1.166 MB / 0.5614 GB, free: 1.16 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_Test01RegFun3_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat does not exist to compare? outputFormat=mat