Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001281/0.001281, allocations: 82.75 kB / 20.68 MB, free: 1.02 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.001381/0.001381, allocations: 162.7 kB / 23.95 MB, free: 4.16 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.377/1.377, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2032/0.2032, allocations: 32.82 MB / 293.5 MB, free: 24 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 440.1 MB, free: 8.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.205e-05, allocations: 5.516 kB / 440.1 MB, free: 8.176 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001303/0.001325, allocations: 0.4973 MB / 440.6 MB, free: 7.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.003186, allocations: 1.35 MB / 441.9 MB, free: 6.309 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.2e-05/0.003208, allocations: 4 kB / 441.9 MB, free: 6.305 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.467e-05/0.003223, allocations: 0 / 441.9 MB, free: 6.305 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 1.888e-05/0.003242, allocations: 0 / 441.9 MB, free: 6.305 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006496/0.003891, allocations: 213.5 kB / 442.1 MB, free: 6.102 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.456e-05/0.003936, allocations: 7.984 kB / 442.1 MB, free: 6.094 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.567e-05/0.003981, allocations: 8 kB / 442.1 MB, free: 6.086 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.754e-05/0.004009, allocations: 11.88 kB / 442.2 MB, free: 6.074 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.705e-05/0.004056, allocations: 7.984 kB / 442.2 MB, free: 6.066 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.004071, allocations: 0 / 442.2 MB, free: 6.066 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004379/0.004509, allocations: 259.6 kB / 442.4 MB, free: 5.812 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.004524, allocations: 8 kB / 442.4 MB, free: 5.805 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.489e-05/0.004539, allocations: 0 / 442.4 MB, free: 5.805 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002966/0.004835, allocations: 195.5 kB / 442.6 MB, free: 5.613 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.004837, allocations: 0 / 442.6 MB, free: 5.613 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.82e-07/0.004838, allocations: 0 / 442.6 MB, free: 5.613 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.004845, allocations: 0 / 442.6 MB, free: 5.613 MB / 366.1 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.0003612/0.005207, allocations: 254.3 kB / 442.9 MB, free: 5.336 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.00524, allocations: 8.031 kB / 442.9 MB, free: 5.328 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/0.005269, allocations: 4.891 kB / 442.9 MB, free: 5.324 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.005389, allocations: 117.7 kB / 443 MB, free: 5.184 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.005403, allocations: 4.375 kB / 443 MB, free: 5.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.005414, allocations: 4.312 kB / 443 MB, free: 5.176 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.005524, allocations: 67.89 kB / 443.1 MB, free: 5.098 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.005531, allocations: 192 / 443.1 MB, free: 5.098 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.00554, allocations: 384 / 443.1 MB, free: 5.098 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.005545, allocations: 3.938 kB / 443.1 MB, free: 5.094 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.944e-05/0.005565, allocations: 4 kB / 443.1 MB, free: 5.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001272/0.005692, allocations: 97.36 kB / 443.2 MB, free: 4.965 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.607e-05/0.005738, allocations: 18.58 kB / 443.2 MB, free: 4.938 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.975e-05/0.005758, allocations: 12.92 kB / 443.2 MB, free: 4.922 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.005768, allocations: 0 / 443.2 MB, free: 4.922 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.005795, allocations: 38.48 kB / 443.2 MB, free: 4.875 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 7.32e-07/0.005795, allocations: 0 / 443.2 MB, free: 4.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001163/0.005912, allocations: 33.7 kB / 443.3 MB, free: 4.836 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.005954, allocations: 55.34 kB / 443.3 MB, free: 4.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.578e-05/0.006029, allocations: 97.86 kB / 443.4 MB, free: 4.664 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.006046, allocations: 25.7 kB / 443.4 MB, free: 4.633 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.223e-05/0.006089, allocations: 80.14 kB / 443.5 MB, free: 4.551 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.006107, allocations: 4.234 kB / 443.5 MB, free: 4.547 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.006146, allocations: 17.72 kB / 443.5 MB, free: 4.523 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.006282, allocations: 314.8 kB / 443.9 MB, free: 4.207 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/0.006292, allocations: 0 / 443.9 MB, free: 4.207 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.108e-05/0.006303, allocations: 7.938 kB / 443.9 MB, free: 4.199 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.551e-05/0.006329, allocations: 8.859 kB / 443.9 MB, free: 4.188 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.00633, allocations: 0 / 443.9 MB, free: 4.188 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.151e-05/0.006391, allocations: 41.62 kB / 443.9 MB, free: 4.141 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.006405, allocations: 8 kB / 443.9 MB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-06/0.006408, allocations: 0 / 443.9 MB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.00642, allocations: 4.094 kB / 443.9 MB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.648e-05/0.006466, allocations: 0 / 443.9 MB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.006474, allocations: 7.938 kB / 443.9 MB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.157e-05/0.006485, allocations: 0 / 443.9 MB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.006491, allocations: 0 / 443.9 MB, free: 4.121 MB / 366.1 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 7.83e-05/0.00657, allocations: 106.5 kB / 444 MB, free: 4.008 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.222e-05/0.006582, allocations: 8 kB / 444 MB, free: 4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.006691, allocations: 52.72 kB / 444.1 MB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.006693, allocations: 0 / 444.1 MB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.006698, allocations: 3.938 kB / 444.1 MB, free: 3.938 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.0067, allocations: 0 / 444.1 MB, free: 3.938 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.697e-05/0.006787, allocations: 105.3 kB / 444.2 MB, free: 3.805 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.006792, allocations: 0 / 444.2 MB, free: 3.805 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.006792, allocations: 0 / 444.2 MB, free: 3.805 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.006793, allocations: 0 / 444.2 MB, free: 3.805 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.006798, allocations: 3.938 kB / 444.2 MB, free: 3.801 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.006799, allocations: 0 / 444.2 MB, free: 3.801 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.006803, allocations: 8 kB / 444.2 MB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.832e-05/0.006882, allocations: 65.05 kB / 444.3 MB, free: 3.711 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-06/0.006888, allocations: 3.984 kB / 444.3 MB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-06/0.006896, allocations: 0 / 444.3 MB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.787e-05/0.006954, allocations: 4 kB / 444.3 MB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.425e-05/0.006969, allocations: 0 / 444.3 MB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-06/0.006975, allocations: 3.938 kB / 444.3 MB, free: 3.699 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.135e-05/0.007016, allocations: 83.28 kB / 444.4 MB, free: 3.617 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.007016, allocations: 0 / 444.4 MB, free: 3.617 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00024/0.007256, allocations: 39.92 kB / 444.4 MB, free: 3.578 MB / 366.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.0002823/0.007539, allocations: 151.3 kB / 444.6 MB, free: 3.418 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 6.204e-05/0.007601, allocations: 7.984 kB / 444.6 MB, free: 3.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.007602, allocations: 0 / 444.6 MB, free: 3.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.508e-05/0.007637, allocations: 29.7 kB / 444.6 MB, free: 3.375 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.007766, allocations: 0 / 444.6 MB, free: 3.375 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000201/0.007967, allocations: 92.8 kB / 444.7 MB, free: 3.258 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.949e-05/0.008016, allocations: 63.28 kB / 444.7 MB, free: 3.176 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.245e-05/0.008029, allocations: 128 / 444.7 MB, free: 3.176 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.492e-05/0.008044, allocations: 12.5 kB / 444.8 MB, free: 3.164 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.008044, allocations: 0 / 444.8 MB, free: 3.164 MB / 366.1 MB Notification: Performance of Templates: time 0.003416/0.01146, allocations: 1.091 MB / 445.8 MB, free: 2.07 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.431808967143297]