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: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009551/0.0009553, allocations: 177.6 kB / 8.002 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.527/1.527, allocations: 205.3 MB / 213.7 MB, free: 1.734 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.0009351/0.000935, allocations: 86.11 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.1912/0.1912, allocations: 43.5 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.382e-05/1.393e-05, allocations: 4 kB / 418.2 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1188, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3497/0.4685, allocations: 84.59 MB / 0.5485 GB, free: 9.051 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001876/0.4688, allocations: 70.83 kB / 0.5486 GB, free: 9.051 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02193/0.4907, allocations: 8.199 MB / 0.5566 GB, free: 3.109 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4908, allocations: 0 / 0.5566 GB, free: 3.109 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.4908, allocations: 0.75 kB / 0.5566 GB, free: 3.109 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002912/0.4911, allocations: 345.5 kB / 0.5569 GB, free: 2.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.4911, allocations: 8.031 kB / 0.557 GB, free: 2.723 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.4912, allocations: 4 kB / 0.557 GB, free: 2.719 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.485e-05/0.4913, allocations: 170.7 kB / 0.5571 GB, free: 2.516 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.4913, allocations: 4 kB / 0.5571 GB, free: 2.512 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-06/0.4913, allocations: 0 / 0.5571 GB, free: 2.512 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.09e-05/0.4914, allocations: 0 / 0.5571 GB, free: 2.512 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.293e-05/0.4914, allocations: 33.64 kB / 0.5572 GB, free: 2.473 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.4914, allocations: 0 / 0.5572 GB, free: 2.473 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.4914, allocations: 0 / 0.5572 GB, free: 2.473 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.4915, allocations: 0 / 0.5572 GB, free: 2.473 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.967e-05/0.4916, allocations: 141.7 kB / 0.5573 GB, free: 2.301 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.306e-05/0.4916, allocations: 18.52 kB / 0.5573 GB, free: 2.273 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.288e-05/0.4916, allocations: 8.953 kB / 0.5573 GB, free: 2.262 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.4916, allocations: 0 / 0.5573 GB, free: 2.262 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.4917, allocations: 30.56 kB / 0.5573 GB, free: 2.223 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.4917, allocations: 0 / 0.5573 GB, free: 2.223 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001568/0.4918, allocations: 37.69 kB / 0.5574 GB, free: 2.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.732e-05/0.4919, allocations: 55.44 kB / 0.5574 GB, free: 2.113 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.698e-05/0.4919, allocations: 88.31 kB / 0.5575 GB, free: 2.023 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.4919, allocations: 29.7 kB / 0.5575 GB, free: 1.988 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.613e-05/0.492, allocations: 80.14 kB / 0.5576 GB, free: 1.906 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.492, allocations: 0 / 0.5576 GB, free: 1.906 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-06/0.492, allocations: 0 / 0.5576 GB, free: 1.906 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.484e-05/0.492, allocations: 310.8 kB / 0.5579 GB, free: 1.594 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.548e-06/0.4921, allocations: 3.938 kB / 0.5579 GB, free: 1.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-06/0.4921, allocations: 8.125 kB / 0.5579 GB, free: 1.582 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.107e-05/0.4921, allocations: 6.875 kB / 0.5579 GB, free: 1.578 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4921, allocations: 0 / 0.5579 GB, free: 1.578 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.453e-05/0.4922, allocations: 45.55 kB / 0.558 GB, free: 1.527 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.4922, allocations: 4 kB / 0.558 GB, free: 1.523 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.4922, allocations: 0 / 0.558 GB, free: 1.523 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.4922, allocations: 0 / 0.558 GB, free: 1.523 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.4922, allocations: 0 / 0.558 GB, free: 1.523 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.4923, allocations: 0 / 0.558 GB, free: 1.523 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.69e-05/0.4923, allocations: 8.094 kB / 0.558 GB, free: 1.516 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.4923, allocations: 3.938 kB / 0.558 GB, free: 1.512 MB / 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 (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 4.269e-05/0.4923, allocations: 101 kB / 0.5581 GB, free: 1.406 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.696e-06/0.4924, allocations: 3.953 kB / 0.5581 GB, free: 1.402 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.4925, allocations: 48.12 kB / 0.5581 GB, free: 1.352 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.4925, allocations: 4 kB / 0.5581 GB, free: 1.348 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4925, allocations: 4 kB / 0.5581 GB, free: 1.344 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.4925, allocations: 4.031 kB / 0.5582 GB, free: 1.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.798e-05/0.4926, allocations: 126.2 kB / 0.5583 GB, free: 1.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.4926, allocations: 4 kB / 0.5583 GB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.51e-07/0.4926, allocations: 0 / 0.5583 GB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.4926, allocations: 0 / 0.5583 GB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.4926, allocations: 3.953 kB / 0.5583 GB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4926, allocations: 0 / 0.5583 GB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4926, allocations: 3.938 kB / 0.5583 GB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.865e-05/0.4927, allocations: 64.75 kB / 0.5583 GB, free: 1.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.481e-05/0.4927, allocations: 81.11 kB / 0.5584 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.4927, allocations: 0 / 0.5584 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.225e-05/0.4928, allocations: 3.953 kB / 0.5584 GB, free: 0.9883 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.937e-05/0.4928, allocations: 7.984 kB / 0.5584 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.4928, allocations: 7.922 kB / 0.5584 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.674e-05/0.4928, allocations: 75.28 kB / 0.5585 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4928, allocations: 0 / 0.5585 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002749/0.4931, allocations: 55.44 kB / 0.5586 GB, free: 0.8477 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.0002458/0.4934, allocations: 143.2 kB / 0.5587 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.261e-05/0.4934, allocations: 29.7 kB / 0.5587 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4934, allocations: 0 / 0.5587 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.232e-05/0.4934, allocations: 29.7 kB / 0.5588 GB, free: 0.625 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001056/0.4936, allocations: 3.5 kB / 0.5588 GB, free: 0.625 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001882/0.4938, allocations: 55.94 kB / 0.5588 GB, free: 0.5469 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/0.4939, allocations: 0.6808 MB / 0.5595 GB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.623e-05/0.494, allocations: 0 / 0.5595 GB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.001e-05/0.494, allocations: 7.438 kB / 0.5595 GB, free: 15.83 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.494, allocations: 0 / 0.5595 GB, free: 15.83 MB / 378.7 MB Notification: Performance of Templates: time 0.002915/0.4969, allocations: 0.8267 MB / 0.5603 GB, free: 15.02 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches