Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001097/0.001097, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.267/1.267, allocations: 225.6 MB / 234.8 MB, free: 3.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007356/0.0007357, allocations: 93.03 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1801/0.1801, allocations: 45.14 MB / 383.8 MB, free: 268 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.069e-05/1.07e-05, allocations: 3.938 kB / 453.2 MB, free: 75.86 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1006, allocations: 63.25 MB / 0.5044 GB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3912/0.4919, allocations: 86.76 MB / 0.5891 GB, free: 15.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/0.4922, allocations: 73.83 kB / 0.5892 GB, free: 15.86 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02527/0.5175, allocations: 8.33 MB / 0.5973 GB, free: 8.797 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5175, allocations: 0 / 0.5973 GB, free: 8.797 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.5176, allocations: 0 / 0.5973 GB, free: 8.797 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.0003904/0.518, allocations: 350.1 kB / 0.5976 GB, free: 8.414 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.518, allocations: 12.03 kB / 0.5976 GB, free: 8.402 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.956e-05/0.518, allocations: 0 / 0.5976 GB, free: 8.402 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.5182, allocations: 163 kB / 0.5978 GB, free: 8.203 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.5182, allocations: 0 / 0.5978 GB, free: 8.203 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.5182, allocations: 0 / 0.5978 GB, free: 8.203 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.434e-05/0.5183, allocations: 8.594 kB / 0.5978 GB, free: 8.195 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.311e-05/0.5183, allocations: 29.7 kB / 0.5978 GB, free: 8.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.5183, allocations: 0 / 0.5978 GB, free: 8.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.5184, allocations: 3.984 kB / 0.5978 GB, free: 8.156 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.5184, allocations: 7.984 kB / 0.5978 GB, free: 8.148 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001291/0.5185, allocations: 129.9 kB / 0.598 GB, free: 7.988 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.408e-05/0.5186, allocations: 18.61 kB / 0.598 GB, free: 7.961 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.375e-05/0.5186, allocations: 8.797 kB / 0.598 GB, free: 7.949 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.5186, allocations: 4.062 kB / 0.598 GB, free: 7.945 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.5186, allocations: 30.56 kB / 0.598 GB, free: 7.906 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.5186, allocations: 4 kB / 0.598 GB, free: 7.902 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001564/0.5188, allocations: 41.25 kB / 0.5981 GB, free: 7.859 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.5188, allocations: 55.41 kB / 0.5981 GB, free: 7.793 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.067e-05/0.5189, allocations: 85 kB / 0.5982 GB, free: 7.703 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.5189, allocations: 25.7 kB / 0.5982 GB, free: 7.672 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.608e-05/0.519, allocations: 84.08 kB / 0.5983 GB, free: 7.586 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.519, allocations: 4 kB / 0.5983 GB, free: 7.582 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-06/0.519, allocations: 0 / 0.5983 GB, free: 7.582 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.5191, allocations: 318.7 kB / 0.5986 GB, free: 7.266 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.907e-06/0.5191, allocations: 0 / 0.5986 GB, free: 7.266 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.806e-06/0.5191, allocations: 4 kB / 0.5986 GB, free: 7.262 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.882e-05/0.5192, allocations: 3.984 kB / 0.5986 GB, free: 7.258 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5192, allocations: 0 / 0.5986 GB, free: 7.258 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.485e-05/0.5193, allocations: 45.5 kB / 0.5987 GB, free: 7.207 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.5193, allocations: 4 kB / 0.5987 GB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.5193, allocations: 4 kB / 0.5987 GB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.5193, allocations: 0 / 0.5987 GB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.343e-06/0.5193, allocations: 4.094 kB / 0.5987 GB, free: 7.195 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.5194, allocations: 0 / 0.5987 GB, free: 7.195 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.597e-05/0.5194, allocations: 0 / 0.5987 GB, free: 7.195 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.5194, allocations: 0 / 0.5987 GB, free: 7.195 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 5.9e-05/0.5195, allocations: 105 kB / 0.5988 GB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/0.5195, allocations: 3.953 kB / 0.5988 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.5196, allocations: 53.2 kB / 0.5988 GB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.5196, allocations: 0 / 0.5988 GB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.5196, allocations: 0 / 0.5988 GB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.5196, allocations: 0 / 0.5988 GB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.434e-05/0.5197, allocations: 130.2 kB / 0.599 GB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.5197, allocations: 0 / 0.599 GB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.01e-07/0.5197, allocations: 0 / 0.599 GB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.5197, allocations: 0 / 0.599 GB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.5197, allocations: 7.953 kB / 0.599 GB, free: 6.859 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.5198, allocations: 4 kB / 0.599 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5198, allocations: 3.938 kB / 0.599 GB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.295e-05/0.5199, allocations: 64.72 kB / 0.599 GB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.054e-05/0.5199, allocations: 77.11 kB / 0.5991 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.5199, allocations: 0 / 0.5991 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.757e-05/0.52, allocations: 7.953 kB / 0.5991 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.632e-05/0.52, allocations: 3.984 kB / 0.5991 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.52, allocations: 3.938 kB / 0.5991 GB, free: 6.664 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.199e-05/0.52, allocations: 83.31 kB / 0.5992 GB, free: 6.582 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.52, allocations: 3.938 kB / 0.5992 GB, free: 6.578 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002561/0.5203, allocations: 47.94 kB / 0.5993 GB, free: 6.531 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.000271/0.5206, allocations: 142.7 kB / 0.5994 GB, free: 6.383 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.466e-05/0.5207, allocations: 37.64 kB / 0.5994 GB, free: 6.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5207, allocations: 0 / 0.5994 GB, free: 6.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.413e-05/0.5207, allocations: 25.7 kB / 0.5994 GB, free: 6.309 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001081/0.5208, allocations: 4 kB / 0.5995 GB, free: 6.305 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000202/0.521, allocations: 59.72 kB / 0.5995 GB, free: 6.227 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.5213, allocations: 0.6729 MB / 0.6002 GB, free: 5.527 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.273e-05/0.5213, allocations: 0 / 0.6002 GB, free: 5.527 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.138e-05/0.5213, allocations: 11.44 kB / 0.6002 GB, free: 5.516 MB / 394.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5213, allocations: 0 / 0.6002 GB, free: 5.516 MB / 394.7 MB Notification: Performance of Templates: time 0.002792/0.5241, allocations: 0.8233 MB / 0.601 GB, free: 4.699 MB / 394.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches