Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.001058/0.001058, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.000993/0.000993, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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 0.992/0.992, allocations: 177.1 MB / 205 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] 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.2491/0.2491, allocations: 34.26 MB / 295.7 MB, free: 0.75 MB / 266.7 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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 378 MB, free: 2.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.251e-05/2.407e-05, allocations: 2.312 kB / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001141/0.001165, allocations: 0.5009 MB / 378.5 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.002603, allocations: 1.401 MB / 379.9 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.314e-05/0.002626, allocations: 3.938 kB / 379.9 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.739e-05/0.002643, allocations: 0 / 379.9 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.583e-05/0.002669, allocations: 0 / 379.9 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005536/0.003223, allocations: 219.9 kB / 380.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.864e-05/0.003271, allocations: 4 kB / 380.1 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.676e-05/0.003308, allocations: 0 / 380.1 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.829e-05/0.003336, allocations: 7.984 kB / 380.1 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.672e-05/0.003383, allocations: 7.984 kB / 380.2 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.003398, allocations: 0 / 380.2 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003254/0.003724, allocations: 259.6 kB / 380.4 MB, free: 260 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.239e-05/0.003736, allocations: 0 / 380.4 MB, free: 260 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.746e-05/0.003753, allocations: 4 kB / 380.4 MB, free: 256 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.003969, allocations: 195.5 kB / 380.6 MB, free: 60 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.003971, allocations: 4 kB / 380.6 MB, free: 56 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.003972, allocations: 0 / 380.6 MB, free: 56 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.003977, allocations: 4 kB / 380.6 MB, free: 52 kB / 346.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.0003092/0.004286, allocations: 360.2 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.004324, allocations: 12.03 kB / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.004363, allocations: 5.234 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.628e-05/0.00444, allocations: 108.6 kB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.004451, allocations: 8.25 kB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-06/0.004461, allocations: 384 / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.937e-05/0.004551, allocations: 55.97 kB / 381.1 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.004558, allocations: 4.188 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.004568, allocations: 384 / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.004575, allocations: 3.938 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.34e-05/0.004589, allocations: 4 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.883e-05/0.004687, allocations: 112.6 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.806e-05/0.004726, allocations: 31.03 kB / 381.3 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.691e-05/0.004742, allocations: 7.688 kB / 381.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.101e-06/0.004749, allocations: 0 / 381.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.004771, allocations: 37.45 kB / 381.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 7.12e-07/0.004772, allocations: 0 / 381.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001142/0.004886, allocations: 37.7 kB / 381.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.004911, allocations: 59.28 kB / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.796e-05/0.004979, allocations: 157.9 kB / 381.6 MB, free: 14.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.004988, allocations: 25.7 kB / 381.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.181e-05/0.00502, allocations: 126.9 kB / 381.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.005041, allocations: 0 / 381.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.386e-05/0.005065, allocations: 27.31 kB / 381.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.005171, allocations: 492.1 kB / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.06e-05/0.005182, allocations: 4 kB / 382.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.781e-06/0.005188, allocations: 256 / 382.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.797e-05/0.005216, allocations: 19.73 kB / 382.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005217, allocations: 0 / 382.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.432e-05/0.005262, allocations: 29.7 kB / 382.3 MB, free: 14.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.005276, allocations: 10.03 kB / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.00528, allocations: 0 / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.005295, allocations: 3.984 kB / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.056e-05/0.005356, allocations: 4 kB / 382.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.005362, allocations: 7.875 kB / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.268e-05/0.005374, allocations: 11.95 kB / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.005381, allocations: 4.031 kB / 382.3 MB, free: 14.11 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.807e-05/0.005439, allocations: 156.6 kB / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.645e-06/0.005446, allocations: 4 kB / 382.5 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.677e-05/0.005543, allocations: 36.86 kB / 382.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.005545, allocations: 4 kB / 382.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.00555, allocations: 3.938 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.005553, allocations: 3.984 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.554e-05/0.005608, allocations: 108.7 kB / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.005612, allocations: 4 kB / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.005613, allocations: 0 / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-06/0.005614, allocations: 0 / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.005619, allocations: 0 / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.00562, allocations: 0 / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-07/0.005621, allocations: 0 / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.119e-05/0.005682, allocations: 80.31 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-06/0.005688, allocations: 4 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.406e-06/0.005697, allocations: 0 / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.355e-05/0.00576, allocations: 8.031 kB / 382.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.287e-05/0.005773, allocations: 3.938 kB / 382.8 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.005778, allocations: 3.938 kB / 382.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.287e-05/0.005811, allocations: 127.2 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005811, allocations: 0 / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001728/0.005984, allocations: 35.94 kB / 382.9 MB, free: 13.46 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 () * 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.000208/0.006192, allocations: 147.1 kB / 383.1 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.044e-05/0.006262, allocations: 15.62 kB / 383.1 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.006265, allocations: 4.156 kB / 383.1 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.735e-05/0.006292, allocations: 37.39 kB / 383.1 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001095/0.006402, allocations: 4 kB / 383.1 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001919/0.006593, allocations: 98.41 kB / 383.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.077e-05/0.006624, allocations: 59.3 kB / 383.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.804e-05/0.006642, allocations: 0 / 383.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.447e-05/0.006657, allocations: 8.5 kB / 383.3 MB, free: 13.03 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.006657, allocations: 0 / 383.3 MB, free: 13.03 MB / 362.7 MB Notification: Performance of Templates: time 0.002683/0.00934, allocations: 1.13 MB / 384.4 MB, free: 11.89 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1151053733192384]