Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001332/0.001332, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001452/0.001452, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 177 MB / 204.1 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2332/0.2332, allocations: 34.27 MB / 294.8 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 442.6 MB, free: 5.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.658e-05/2.797e-05, allocations: 10.16 kB / 442.6 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001493/0.001521, allocations: 0.4958 MB / 443.1 MB, free: 4.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.003505, allocations: 1.35 MB / 444.5 MB, free: 3.449 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.696e-05/0.003532, allocations: 4 kB / 444.5 MB, free: 3.445 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.283e-05/0.003545, allocations: 0 / 444.5 MB, free: 3.445 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.03e-05/0.003575, allocations: 0 / 444.5 MB, free: 3.445 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006846/0.00426, allocations: 215.8 kB / 444.7 MB, free: 3.238 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.358e-05/0.004303, allocations: 4 kB / 444.7 MB, free: 3.234 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.485e-05/0.004348, allocations: 12 kB / 444.7 MB, free: 3.223 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.7e-05/0.004375, allocations: 3.938 kB / 444.7 MB, free: 3.219 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.86e-05/0.004424, allocations: 11.98 kB / 444.7 MB, free: 3.207 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.004437, allocations: 0 / 444.7 MB, free: 3.207 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004677/0.004905, allocations: 259.6 kB / 445 MB, free: 2.953 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.004919, allocations: 4 kB / 445 MB, free: 2.949 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.19e-05/0.004941, allocations: 0 / 445 MB, free: 2.949 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.005251, allocations: 195.5 kB / 445.2 MB, free: 2.758 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.005253, allocations: 0 / 445.2 MB, free: 2.758 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.005255, allocations: 0 / 445.2 MB, free: 2.758 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.005258, allocations: 4 kB / 445.2 MB, free: 2.754 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.0003869/0.005645, allocations: 258.3 kB / 445.4 MB, free: 2.473 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.005681, allocations: 8.031 kB / 445.4 MB, free: 2.465 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/0.005719, allocations: 4.891 kB / 445.4 MB, free: 2.461 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.005832, allocations: 109.7 kB / 445.6 MB, free: 2.328 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.005844, allocations: 384 / 445.6 MB, free: 2.328 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.635e-06/0.005852, allocations: 384 / 445.6 MB, free: 2.328 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.005973, allocations: 63.89 kB / 445.6 MB, free: 2.254 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.005982, allocations: 192 / 445.6 MB, free: 2.254 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.005993, allocations: 8.312 kB / 445.6 MB, free: 2.246 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.005999, allocations: 7.938 kB / 445.6 MB, free: 2.238 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.205e-05/0.006021, allocations: 7.938 kB / 445.6 MB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001246/0.006145, allocations: 97.36 kB / 445.7 MB, free: 2.105 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.415e-05/0.00619, allocations: 14.58 kB / 445.8 MB, free: 2.082 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.013e-05/0.00621, allocations: 12.91 kB / 445.8 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.00622, allocations: 0 / 445.8 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.006257, allocations: 42.48 kB / 445.8 MB, free: 2.016 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.006258, allocations: 0 / 445.8 MB, free: 2.016 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001307/0.006388, allocations: 33.7 kB / 445.8 MB, free: 1.977 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.006429, allocations: 55.34 kB / 445.9 MB, free: 1.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.075e-05/0.006509, allocations: 97.98 kB / 446 MB, free: 1.805 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.006529, allocations: 29.69 kB / 446 MB, free: 1.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.924e-05/0.006568, allocations: 84.14 kB / 446.1 MB, free: 1.684 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.006588, allocations: 0 / 446.1 MB, free: 1.684 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.006618, allocations: 13.72 kB / 446.1 MB, free: 1.664 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.006754, allocations: 310.8 kB / 446.4 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.01e-05/0.006764, allocations: 0 / 446.4 MB, free: 1.352 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.089e-05/0.006775, allocations: 7.938 kB / 446.4 MB, free: 1.344 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.196e-05/0.006807, allocations: 12.86 kB / 446.4 MB, free: 1.328 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.006808, allocations: 4.188 kB / 446.4 MB, free: 1.324 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.152e-05/0.00687, allocations: 37.64 kB / 446.5 MB, free: 1.281 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.006885, allocations: 10.34 kB / 446.5 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.006891, allocations: 4 kB / 446.5 MB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.006903, allocations: 0 / 446.5 MB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.423e-05/0.006957, allocations: 0 / 446.5 MB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.006969, allocations: 7.938 kB / 446.5 MB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.298e-05/0.006982, allocations: 0 / 446.5 MB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.006988, allocations: 0 / 446.5 MB, free: 1.262 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.137e-05/0.00706, allocations: 105.8 kB / 446.6 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.052e-05/0.00707, allocations: 8.031 kB / 446.6 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.007191, allocations: 48.78 kB / 446.7 MB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.007193, allocations: 0 / 446.7 MB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.007199, allocations: 3.938 kB / 446.7 MB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.007201, allocations: 0 / 446.7 MB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.168e-05/0.007282, allocations: 101.3 kB / 446.8 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.007287, allocations: 0 / 446.8 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.007288, allocations: 4.031 kB / 446.8 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.007289, allocations: 3.938 kB / 446.8 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.007295, allocations: 0 / 446.8 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.007296, allocations: 0 / 446.8 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.007297, allocations: 4 kB / 446.8 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.877e-05/0.007385, allocations: 72.94 kB / 446.8 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-06/0.00739, allocations: 0 / 446.8 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.0074, allocations: 0 / 446.8 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.374e-05/0.007463, allocations: 4 kB / 446.8 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.093e-05/0.007474, allocations: 0 / 446.8 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.007481, allocations: 3.938 kB / 446.9 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.999e-05/0.007521, allocations: 83.31 kB / 446.9 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.007521, allocations: 0 / 446.9 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000251/0.007772, allocations: 39.92 kB / 447 MB, free: 0.7227 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.0003373/0.00811, allocations: 143.2 kB / 447.1 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.749e-05/0.008187, allocations: 11.98 kB / 447.1 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.008191, allocations: 4 kB / 447.1 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.464e-05/0.008226, allocations: 25.7 kB / 447.2 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.008371, allocations: 4.219 kB / 447.2 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002113/0.008582, allocations: 92.8 kB / 447.2 MB, free: 412 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.204e-05/0.008634, allocations: 59.28 kB / 447.3 MB, free: 332 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.68e-05/0.008651, allocations: 4 kB / 447.3 MB, free: 328 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.657e-05/0.008668, allocations: 8.5 kB / 447.3 MB, free: 320 kB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.008668, allocations: 0 / 447.3 MB, free: 320 kB / 366.1 MB Notification: Performance of Templates: time 0.1726/0.1812, allocations: 1.098 MB / 448.4 MB, free: 19.05 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.762564864009619]