Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001378/0.001378, allocations: 82.67 kB / 20.68 MB, free: 1.023 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.001342/0.001342, allocations: 162.2 kB / 23.95 MB, free: 4.156 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.386/1.386, allocations: 177.2 MB / 204.3 MB, free: 9.188 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.1954/0.1954, allocations: 32.82 MB / 293.5 MB, free: 44 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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 440.1 MB, free: 8.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.751e-05/2.934e-05, allocations: 2.281 kB / 440.1 MB, free: 8.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001615/0.001645, allocations: 0.5003 MB / 440.6 MB, free: 7.703 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002143/0.003788, allocations: 1.342 MB / 441.9 MB, free: 6.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.003822, allocations: 0 / 441.9 MB, free: 6.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.675e-05/0.003839, allocations: 3.938 kB / 441.9 MB, free: 6.336 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.48e-05/0.003874, allocations: 0 / 441.9 MB, free: 6.336 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007259/0.0046, allocations: 218.4 kB / 442.1 MB, free: 6.125 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.3e-05/0.004653, allocations: 11.98 kB / 442.1 MB, free: 6.113 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.702e-05/0.0047, allocations: 4 kB / 442.1 MB, free: 6.109 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.38e-05/0.004733, allocations: 7.938 kB / 442.1 MB, free: 6.102 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.924e-05/0.004793, allocations: 0 / 442.1 MB, free: 6.102 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.004809, allocations: 0 / 442.1 MB, free: 6.102 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004928/0.005302, allocations: 267.6 kB / 442.4 MB, free: 5.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.005321, allocations: 7.969 kB / 442.4 MB, free: 5.832 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.751e-05/0.005339, allocations: 0 / 442.4 MB, free: 5.832 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003373/0.005676, allocations: 191.6 kB / 442.6 MB, free: 5.645 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.005679, allocations: 0 / 442.6 MB, free: 5.645 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.005682, allocations: 3.984 kB / 442.6 MB, free: 5.641 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.005687, allocations: 0 / 442.6 MB, free: 5.641 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003872/0.006075, allocations: 258.3 kB / 442.9 MB, free: 5.359 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.006124, allocations: 12.03 kB / 442.9 MB, free: 5.348 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.00616, allocations: 0.9375 kB / 442.9 MB, free: 5.348 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.222e-05/0.006252, allocations: 101.8 kB / 443 MB, free: 5.223 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.006266, allocations: 8.312 kB / 443 MB, free: 5.215 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.006274, allocations: 8.312 kB / 443 MB, free: 5.207 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.006412, allocations: 71.89 kB / 443.1 MB, free: 5.125 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.006419, allocations: 192 / 443.1 MB, free: 5.125 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.006429, allocations: 384 / 443.1 MB, free: 5.125 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.006438, allocations: 7.938 kB / 443.1 MB, free: 5.117 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.83e-05/0.006476, allocations: 4 kB / 443.1 MB, free: 5.113 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/0.006811, allocations: 192.5 kB / 443.3 MB, free: 4.895 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.884e-05/0.00687, allocations: 22.56 kB / 443.3 MB, free: 4.863 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.472e-05/0.006894, allocations: 12.95 kB / 443.3 MB, free: 4.848 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.006905, allocations: 4 kB / 443.3 MB, free: 4.844 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.006938, allocations: 38.44 kB / 443.3 MB, free: 4.797 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.006939, allocations: 0 / 443.3 MB, free: 4.797 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.00014/0.007079, allocations: 33.7 kB / 443.4 MB, free: 4.758 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.00712, allocations: 51.41 kB / 443.4 MB, free: 4.695 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.357e-05/0.007214, allocations: 101.8 kB / 443.5 MB, free: 4.586 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.007232, allocations: 25.7 kB / 443.5 MB, free: 4.555 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.885e-05/0.007281, allocations: 84.09 kB / 443.6 MB, free: 4.469 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.509e-06/0.007285, allocations: 0 / 443.6 MB, free: 4.469 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.007318, allocations: 21.97 kB / 443.6 MB, free: 4.441 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.007467, allocations: 310.8 kB / 444 MB, free: 4.129 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.025e-05/0.007478, allocations: 4 kB / 444 MB, free: 4.125 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.13e-05/0.007509, allocations: 26.5 kB / 444 MB, free: 4.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.363e-05/0.007552, allocations: 26.58 kB / 444 MB, free: 4.055 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.007554, allocations: 0 / 444 MB, free: 4.055 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.945e-05/0.007633, allocations: 57.52 kB / 444.1 MB, free: 3.992 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.007645, allocations: 8.094 kB / 444.1 MB, free: 3.984 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.007649, allocations: 0 / 444.1 MB, free: 3.984 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.007663, allocations: 4 kB / 444.1 MB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.035e-05/0.007713, allocations: 7.938 kB / 444.1 MB, free: 3.973 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.007718, allocations: 0 / 444.1 MB, free: 3.973 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.731e-05/0.007735, allocations: 4 kB / 444.1 MB, free: 3.969 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.007741, allocations: 0 / 444.1 MB, free: 3.969 MB / 366.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.938e-05/0.00783, allocations: 110.5 kB / 444.2 MB, free: 3.852 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.007856, allocations: 7.922 kB / 444.2 MB, free: 3.844 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.007964, allocations: 44.86 kB / 444.2 MB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.007967, allocations: 3.938 kB / 444.2 MB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.00797, allocations: 0 / 444.2 MB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.007972, allocations: 0 / 444.2 MB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.008104, allocations: 101.3 kB / 444.3 MB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-06/0.008108, allocations: 0 / 444.3 MB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.008109, allocations: 0 / 444.3 MB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.00811, allocations: 0 / 444.3 MB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.00812, allocations: 11.88 kB / 444.4 MB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.008121, allocations: 3.938 kB / 444.4 MB, free: 3.645 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.008124, allocations: 8.031 kB / 444.4 MB, free: 3.637 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.008228, allocations: 131.5 kB / 444.5 MB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-06/0.008233, allocations: 0 / 444.5 MB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.008245, allocations: 3.938 kB / 444.5 MB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.195e-05/0.008297, allocations: 4 kB / 444.5 MB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.029e-05/0.008307, allocations: 0 / 444.5 MB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.008311, allocations: 0 / 444.5 MB, free: 3.484 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.367e-05/0.008364, allocations: 79.28 kB / 444.6 MB, free: 3.406 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.008365, allocations: 0 / 444.6 MB, free: 3.406 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.008645, allocations: 48.05 kB / 444.6 MB, free: 3.359 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.0003078/0.008953, allocations: 153.7 kB / 444.8 MB, free: 3.199 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 6.932e-05/0.009022, allocations: 11.92 kB / 444.8 MB, free: 3.188 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.009024, allocations: 4 kB / 444.8 MB, free: 3.184 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.24e-05/0.009056, allocations: 25.7 kB / 444.8 MB, free: 3.152 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.009258, allocations: 4 kB / 444.8 MB, free: 3.148 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002308/0.009489, allocations: 84.86 kB / 444.9 MB, free: 3.039 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.127e-05/0.00955, allocations: 59.59 kB / 445 MB, free: 2.961 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.064e-05/0.009571, allocations: 8.094 kB / 445 MB, free: 2.953 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.039e-05/0.009591, allocations: 12.48 kB / 445 MB, free: 2.941 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.009592, allocations: 0 / 445 MB, free: 2.941 MB / 366.1 MB Notification: Performance of Templates: time 0.00355/0.01314, allocations: 1.094 MB / 446.1 MB, free: 1.848 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.470320113003254]