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.0009855/0.0009855, allocations: 172.2 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.302/1.302, allocations: 205.4 MB / 222.9 MB, free: 8.949 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.0007328/0.0007323, allocations: 93.48 kB / 271.3 MB, free: 8.242 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.3307/0.3307, allocations: 43.56 MB / 363.1 MB, free: 52.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000498/0.000498, allocations: 16 kB / 432.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1502, allocations: 58.84 MB / 491.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.38/0.5303, allocations: 85.39 MB / 0.5633 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/0.5305, allocations: 67.97 kB / 0.5634 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02473/0.5553, allocations: 8.234 MB / 0.5714 GB, free: 8.348 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5553, allocations: 0 / 0.5714 GB, free: 8.348 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.5553, allocations: 4 kB / 0.5714 GB, free: 8.344 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.0003529/0.5557, allocations: 344 kB / 0.5718 GB, free: 7.957 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.5557, allocations: 8.031 kB / 0.5718 GB, free: 7.949 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.871e-05/0.5558, allocations: 1.875 kB / 0.5718 GB, free: 7.949 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.5559, allocations: 168.4 kB / 0.5719 GB, free: 7.746 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.5559, allocations: 4.375 kB / 0.5719 GB, free: 7.742 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.5559, allocations: 384 / 0.5719 GB, free: 7.742 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.356e-05/0.556, allocations: 30.27 kB / 0.572 GB, free: 7.707 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.556, allocations: 4.188 kB / 0.572 GB, free: 7.703 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.556, allocations: 3.938 kB / 0.572 GB, free: 7.699 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.556, allocations: 0 / 0.572 GB, free: 7.699 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.751e-05/0.5561, allocations: 3.938 kB / 0.572 GB, free: 7.695 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001496/0.5562, allocations: 159.3 kB / 0.5721 GB, free: 7.496 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.482e-05/0.5563, allocations: 18.61 kB / 0.5722 GB, free: 7.469 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.349e-05/0.5563, allocations: 4.859 kB / 0.5722 GB, free: 7.461 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.5563, allocations: 0 / 0.5722 GB, free: 7.461 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.5563, allocations: 34.56 kB / 0.5722 GB, free: 7.418 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.5563, allocations: 4.062 kB / 0.5722 GB, free: 7.414 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001261/0.5565, allocations: 45.55 kB / 0.5722 GB, free: 7.363 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.5565, allocations: 55.41 kB / 0.5723 GB, free: 7.297 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.826e-05/0.5566, allocations: 93.86 kB / 0.5724 GB, free: 7.195 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.5566, allocations: 25.7 kB / 0.5724 GB, free: 7.164 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/0.5566, allocations: 84.39 kB / 0.5725 GB, free: 7.078 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.5567, allocations: 7.906 kB / 0.5725 GB, free: 7.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-06/0.5567, allocations: 0 / 0.5725 GB, free: 7.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.9e-05/0.5568, allocations: 314.8 kB / 0.5728 GB, free: 6.754 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.092e-05/0.5568, allocations: 4 kB / 0.5728 GB, free: 6.75 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.326e-06/0.5568, allocations: 4 kB / 0.5728 GB, free: 6.746 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.893e-05/0.5569, allocations: 8.859 kB / 0.5728 GB, free: 6.734 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5569, allocations: 3.938 kB / 0.5728 GB, free: 6.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.935e-05/0.5569, allocations: 37.7 kB / 0.5729 GB, free: 6.688 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.557, allocations: 11.94 kB / 0.5729 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.557, allocations: 0 / 0.5729 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.557, allocations: 0 / 0.5729 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.292e-06/0.557, allocations: 0 / 0.5729 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.557, allocations: 0 / 0.5729 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.59e-05/0.557, allocations: 0 / 0.5729 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.557, allocations: 7.984 kB / 0.5729 GB, free: 6.668 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 () * Number of clocked 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 6.342e-05/0.5571, allocations: 105.8 kB / 0.573 GB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.5571, allocations: 11.97 kB / 0.573 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.5572, allocations: 36.83 kB / 0.573 GB, free: 6.504 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.5572, allocations: 3.984 kB / 0.573 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5573, allocations: 3.938 kB / 0.573 GB, free: 6.496 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.5573, allocations: 0 / 0.573 GB, free: 6.496 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.5574, allocations: 153.7 kB / 0.5732 GB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.5574, allocations: 0 / 0.5732 GB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-07/0.5574, allocations: 0 / 0.5732 GB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.5574, allocations: 19.95 kB / 0.5732 GB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-06/0.5574, allocations: 0 / 0.5732 GB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.5574, allocations: 0 / 0.5732 GB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5574, allocations: 0.75 kB / 0.5732 GB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.485e-05/0.5575, allocations: 53.14 kB / 0.5732 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.263e-05/0.5576, allocations: 77.11 kB / 0.5733 GB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.5576, allocations: 11.92 kB / 0.5733 GB, free: 6.102 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.798e-05/0.5576, allocations: 8.031 kB / 0.5733 GB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.562e-05/0.5576, allocations: 0 / 0.5733 GB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.5577, allocations: 0 / 0.5733 GB, free: 6.094 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.418e-05/0.5577, allocations: 79.28 kB / 0.5734 GB, free: 6.016 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5577, allocations: 3.938 kB / 0.5734 GB, free: 6.012 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002703/0.558, allocations: 47.94 kB / 0.5735 GB, free: 5.965 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 () * Number of clocked 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.0002466/0.5582, allocations: 155.6 kB / 0.5736 GB, free: 5.805 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.158e-05/0.5583, allocations: 33.73 kB / 0.5736 GB, free: 5.766 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5583, allocations: 4.062 kB / 0.5736 GB, free: 5.762 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.472e-05/0.5583, allocations: 29.7 kB / 0.5737 GB, free: 5.727 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.5585, allocations: 3.984 kB / 0.5737 GB, free: 5.723 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002096/0.5587, allocations: 81.67 kB / 0.5738 GB, free: 5.621 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.559, allocations: 0.6731 MB / 0.5744 GB, free: 4.922 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.278e-05/0.559, allocations: 3.984 kB / 0.5744 GB, free: 4.918 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.907e-06/0.559, allocations: 7.438 kB / 0.5744 GB, free: 4.91 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.559, allocations: 4.062 kB / 0.5744 GB, free: 4.906 MB / 394.7 MB Notification: Performance of Templates: time 0.002659/0.5617, allocations: 0.9836 MB / 0.5754 GB, free: 3.934 MB / 394.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/jenkins1/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