Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 205.2 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2228/0.2228, allocations: 46.97 MB / 361.6 MB, free: 4.125 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 67.89 kB / 0.4973 GB, free: 7.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3286, allocations: 66.03 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001659/0.3302, allocations: 0.5032 MB / 0.5623 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.3322, allocations: 1.342 MB / 0.5636 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.409e-05/0.3322, allocations: 4 kB / 0.5636 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.449e-05/0.3322, allocations: 3.938 kB / 0.5636 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.15e-05/0.3323, allocations: 0 / 0.5636 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006899/0.333, allocations: 211.6 kB / 0.5638 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.19e-05/0.333, allocations: 11.94 kB / 0.5638 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.426e-05/0.333, allocations: 8 kB / 0.5638 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.517e-05/0.3331, allocations: 0 / 0.5638 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.534e-05/0.3331, allocations: 7.984 kB / 0.5638 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.3331, allocations: 3.938 kB / 0.5638 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004585/0.3336, allocations: 271.6 kB / 0.5641 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.3336, allocations: 7.922 kB / 0.5641 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.413e-05/0.3336, allocations: 4 kB / 0.5641 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.3338, allocations: 135.4 kB / 0.5642 GB, free: 1.676 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3338, allocations: 3.984 kB / 0.5642 GB, free: 1.672 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3338, allocations: 4 kB / 0.5642 GB, free: 1.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.3338, allocations: 4 kB / 0.5642 GB, free: 1.664 MB / 398.1 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.0003863/0.3342, allocations: 261.1 kB / 0.5645 GB, free: 1.383 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.3343, allocations: 8.031 kB / 0.5645 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.3343, allocations: 4.891 kB / 0.5645 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.3344, allocations: 114.5 kB / 0.5646 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.3344, allocations: 384 / 0.5646 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.3344, allocations: 384 / 0.5646 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.3346, allocations: 75.69 kB / 0.5647 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3346, allocations: 0 / 0.5647 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.3346, allocations: 0 / 0.5647 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.3346, allocations: 3.938 kB / 0.5647 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.335e-05/0.3347, allocations: 8 kB / 0.5647 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003624/0.335, allocations: 188.6 kB / 0.5649 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.885e-05/0.3351, allocations: 30.48 kB / 0.5649 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.751e-05/0.3351, allocations: 4.859 kB / 0.5649 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.3351, allocations: 0 / 0.5649 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.3351, allocations: 34.62 kB / 0.5649 GB, free: 0.832 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.3351, allocations: 0 / 0.5649 GB, free: 0.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.000143/0.3353, allocations: 33.64 kB / 0.565 GB, free: 0.793 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.3353, allocations: 55.41 kB / 0.565 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.393e-05/0.3354, allocations: 102 kB / 0.5651 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.3354, allocations: 25.7 kB / 0.5652 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.479e-05/0.3355, allocations: 92.03 kB / 0.5652 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.646e-06/0.3355, allocations: 3.953 kB / 0.5652 GB, free: 500 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.3355, allocations: 17.72 kB / 0.5653 GB, free: 476 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3357, allocations: 310.8 kB / 0.5656 GB, free: 156 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.436e-05/0.3357, allocations: 3.984 kB / 0.5656 GB, free: 152 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.062e-05/0.3357, allocations: 22.58 kB / 0.5656 GB, free: 120 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.314e-05/0.3358, allocations: 30.64 kB / 0.5656 GB, free: 80 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.3358, allocations: 3.938 kB / 0.5656 GB, free: 76 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.477e-05/0.3359, allocations: 49.62 kB / 0.5657 GB, free: 20 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3359, allocations: 8 kB / 0.5657 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.3359, allocations: 0 / 0.5657 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.3359, allocations: 0 / 0.5657 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.966e-05/0.3359, allocations: 4 kB / 0.5657 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.589e-05/0.336, allocations: 7.938 kB / 0.5657 GB, free: 0 / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.962e-05/0.336, allocations: 4.078 kB / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.336, allocations: 8.094 kB / 0.5657 GB, free: 15.98 MB / 414.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.465e-05/0.3361, allocations: 117.8 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.3361, allocations: 0 / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.3362, allocations: 40.8 kB / 0.5658 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3362, allocations: 0 / 0.5658 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3362, allocations: 4 kB / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3362, allocations: 0 / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.3364, allocations: 105.3 kB / 0.5659 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.862e-06/0.3364, allocations: 8 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.3364, allocations: 3.938 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3364, allocations: 0 / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.3364, allocations: 0 / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.3364, allocations: 0 / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3364, allocations: 0 / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.3365, allocations: 135.4 kB / 0.5661 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.268e-05/0.3365, allocations: 11.95 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.3365, allocations: 96 / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.615e-05/0.3366, allocations: 0 / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.465e-05/0.3366, allocations: 8.016 kB / 0.5661 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.3366, allocations: 4 kB / 0.5661 GB, free: 15.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.074e-05/0.3367, allocations: 75.28 kB / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3367, allocations: 0 / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003221/0.337, allocations: 43.92 kB / 0.5662 GB, free: 15.37 MB / 414.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000273/0.3373, allocations: 131.2 kB / 0.5663 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.8e-05/0.3373, allocations: 15.98 kB / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3373, allocations: 288 / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.473e-05/0.3374, allocations: 37.64 kB / 0.5664 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.3376, allocations: 3.938 kB / 0.5664 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002164/0.3378, allocations: 81.06 kB / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.033e-05/0.3378, allocations: 59.34 kB / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.923e-05/0.3379, allocations: 0 / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.729e-05/0.3379, allocations: 11.44 kB / 0.5665 GB, free: 14.97 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3379, allocations: 0 / 0.5665 GB, free: 14.97 MB / 414.1 MB Notification: Performance of Templates: time 0.003596/0.3415, allocations: 1.096 MB / 0.5676 GB, free: 13.89 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.780132065003272]