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.0009301/0.0009302, allocations: 177.6 kB / 8.003 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.761/1.761, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009097/0.0009093, allocations: 91.88 kB / 261.7 MB, free: 1.684 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.2394/0.2394, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.982e-05/2.992e-05, allocations: 4 kB / 418.3 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1632, allocations: 58.86 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4658/0.6291, allocations: 84.6 MB / 0.5486 GB, free: 9.145 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.6294, allocations: 70.03 kB / 0.5487 GB, free: 9.145 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02308/0.6525, allocations: 8.191 MB / 0.5567 GB, free: 3.098 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6526, allocations: 0 / 0.5567 GB, free: 3.098 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.6526, allocations: 0 / 0.5567 GB, free: 3.098 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003679/0.653, allocations: 352.3 kB / 0.557 GB, free: 2.715 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.135e-05/0.653, allocations: 8.031 kB / 0.557 GB, free: 2.707 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.012e-05/0.6531, allocations: 0 / 0.557 GB, free: 2.707 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.6532, allocations: 171 kB / 0.5572 GB, free: 2.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.6532, allocations: 4 kB / 0.5572 GB, free: 2.496 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.6533, allocations: 0 / 0.5572 GB, free: 2.496 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.951e-05/0.6534, allocations: 6.312 kB / 0.5572 GB, free: 2.492 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.448e-05/0.6534, allocations: 33.69 kB / 0.5573 GB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.6535, allocations: 0 / 0.5573 GB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.6535, allocations: 0 / 0.5573 GB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.6535, allocations: 0 / 0.5573 GB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002996/0.6538, allocations: 224 kB / 0.5575 GB, free: 2.203 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.819e-05/0.6539, allocations: 22.58 kB / 0.5575 GB, free: 2.172 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.365e-05/0.6539, allocations: 4.859 kB / 0.5575 GB, free: 2.164 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.6539, allocations: 4.031 kB / 0.5575 GB, free: 2.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.6539, allocations: 34.62 kB / 0.5575 GB, free: 2.117 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.343e-06/0.6539, allocations: 0 / 0.5575 GB, free: 2.117 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001775/0.6541, allocations: 33.14 kB / 0.5576 GB, free: 2.082 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.6541, allocations: 55.34 kB / 0.5576 GB, free: 2.016 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.381e-05/0.6542, allocations: 93.03 kB / 0.5577 GB, free: 1.918 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.6542, allocations: 25.7 kB / 0.5577 GB, free: 1.887 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.383e-05/0.6543, allocations: 88.66 kB / 0.5578 GB, free: 1.797 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.092e-06/0.6543, allocations: 11.41 kB / 0.5578 GB, free: 1.789 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/0.6543, allocations: 0 / 0.5578 GB, free: 1.789 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.467e-05/0.6543, allocations: 314.8 kB / 0.5581 GB, free: 1.473 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-06/0.6544, allocations: 0 / 0.5581 GB, free: 1.473 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.176e-05/0.6544, allocations: 26.69 kB / 0.5582 GB, free: 1.438 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.373e-05/0.6544, allocations: 7.438 kB / 0.5582 GB, free: 1.434 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6544, allocations: 0 / 0.5582 GB, free: 1.434 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.286e-05/0.6545, allocations: 46.38 kB / 0.5582 GB, free: 1.383 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.6545, allocations: 8 kB / 0.5582 GB, free: 1.375 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.6546, allocations: 0 / 0.5582 GB, free: 1.375 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.6546, allocations: 0 / 0.5582 GB, free: 1.375 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.632e-05/0.6546, allocations: 8.094 kB / 0.5582 GB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.6546, allocations: 4 kB / 0.5582 GB, free: 1.363 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.844e-05/0.6547, allocations: 0 / 0.5582 GB, free: 1.363 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.6547, allocations: 3.938 kB / 0.5582 GB, free: 1.359 MB / 362.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 () * 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 5.299e-05/0.6547, allocations: 116.9 kB / 0.5583 GB, free: 1.238 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.602e-05/0.6548, allocations: 40.83 kB / 0.5584 GB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.6548, allocations: 4 kB / 0.5584 GB, free: 1.191 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.6549, allocations: 45.47 kB / 0.5584 GB, free: 1.141 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.6549, allocations: 0 / 0.5584 GB, free: 1.141 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.655, allocations: 0 / 0.5584 GB, free: 1.141 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.655, allocations: 0 / 0.5584 GB, free: 1.141 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.777e-05/0.6551, allocations: 130.2 kB / 0.5585 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.6551, allocations: 3.938 kB / 0.5585 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.122e-06/0.6551, allocations: 3.984 kB / 0.5586 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.6551, allocations: 0 / 0.5586 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.6551, allocations: 0 / 0.5586 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.6551, allocations: 4.781 kB / 0.5586 GB, free: 0.9688 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.6551, allocations: 7.969 kB / 0.5586 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.695e-05/0.6552, allocations: 127.5 kB / 0.5587 GB, free: 0.8203 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.837e-05/0.6552, allocations: 77.11 kB / 0.5588 GB, free: 0.7266 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.6552, allocations: 3.984 kB / 0.5588 GB, free: 0.7227 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.645e-05/0.6553, allocations: 0 / 0.5588 GB, free: 0.7227 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.168e-05/0.6553, allocations: 4 kB / 0.5588 GB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.6553, allocations: 0 / 0.5588 GB, free: 0.7188 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.655e-05/0.6554, allocations: 83.19 kB / 0.5588 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6554, allocations: 0 / 0.5588 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003187/0.6557, allocations: 47.94 kB / 0.5589 GB, free: 0.5938 MB / 362.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.0004789/0.6562, allocations: 0.7187 MB / 0.5596 GB, free: 15.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.402e-05/0.6563, allocations: 41.77 kB / 0.5596 GB, free: 15.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.6563, allocations: 0 / 0.5596 GB, free: 15.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.126e-05/0.6563, allocations: 29.7 kB / 0.5597 GB, free: 15.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.6565, allocations: 3.938 kB / 0.5597 GB, free: 15.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003458/0.6568, allocations: 101.5 kB / 0.5598 GB, free: 15.63 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.6571, allocations: 0.6845 MB / 0.5604 GB, free: 14.92 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.995e-05/0.6571, allocations: 0 / 0.5604 GB, free: 14.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.11e-05/0.6571, allocations: 7.688 kB / 0.5604 GB, free: 14.91 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.6571, allocations: 4 kB / 0.5604 GB, free: 14.91 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01953/0.6766, allocations: 1.13 MB / 0.5615 GB, free: 13.79 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/0.6769, allocations: 148.2 kB / 0.5617 GB, free: 13.59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.491/2.168, allocations: 2.812 kB / 0.5617 GB, free: 13.59 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