Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.0007683/0.0007683, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001088/0.001856, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001157/0.001157, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001545/0.002702, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9108/0.9108, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07792/0.9887, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] 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.2935/0.2935, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02636/0.3198, allocations: 13.23 MB / 292.8 MB, free: 6.398 MB / 282.7 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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 294.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.13e-05, allocations: 4.344 kB / 294.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001732/0.001753, allocations: 0.5506 MB / 294.6 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.003623, allocations: 1.397 MB / 296 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.809e-05/0.003641, allocations: 0 / 296 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.169e-06/0.003646, allocations: 0 / 296 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.873e-06/0.003653, allocations: 4 kB / 296 MB, free: 3.156 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005152/0.004169, allocations: 171.4 kB / 296.2 MB, free: 2.988 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.359e-05/0.004222, allocations: 7.938 kB / 296.2 MB, free: 2.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.193e-05/0.004264, allocations: 15.98 kB / 296.2 MB, free: 2.965 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.307e-05/0.004307, allocations: 8 kB / 296.2 MB, free: 2.957 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.915e-05/0.004366, allocations: 0 / 296.2 MB, free: 2.957 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.004381, allocations: 0 / 296.2 MB, free: 2.957 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005763/0.004957, allocations: 304.1 kB / 296.5 MB, free: 2.66 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.004973, allocations: 0 / 296.5 MB, free: 2.66 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.387e-05/0.004987, allocations: 7.938 kB / 296.5 MB, free: 2.652 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.005223, allocations: 131.7 kB / 296.7 MB, free: 2.523 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.229e-05/0.005235, allocations: 0 / 296.7 MB, free: 2.523 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.005236, allocations: 0 / 296.7 MB, free: 2.523 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.719e-06/0.005246, allocations: 0 / 296.7 MB, free: 2.523 MB / 282.7 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.0003511/0.005597, allocations: 260.5 kB / 296.9 MB, free: 2.246 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.005638, allocations: 8.922 kB / 296.9 MB, free: 2.238 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.005676, allocations: 0.9375 kB / 296.9 MB, free: 2.238 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.941e-05/0.005755, allocations: 105.8 kB / 297 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.005769, allocations: 8.312 kB / 297 MB, free: 2.102 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.005782, allocations: 384 / 297 MB, free: 2.102 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.81e-05/0.00588, allocations: 59.95 kB / 297.1 MB, free: 2.031 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.005889, allocations: 4.188 kB / 297.1 MB, free: 2.027 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.005895, allocations: 384 / 297.1 MB, free: 2.027 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.005902, allocations: 3.938 kB / 297.1 MB, free: 2.023 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.752e-05/0.005919, allocations: 11.98 kB / 297.1 MB, free: 2.012 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002646/0.006184, allocations: 149 kB / 297.3 MB, free: 1.852 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.657e-05/0.006221, allocations: 18.52 kB / 297.3 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.435e-05/0.006235, allocations: 8.922 kB / 297.3 MB, free: 1.812 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.982e-06/0.006241, allocations: 0 / 297.3 MB, free: 1.812 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.006263, allocations: 30.56 kB / 297.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.006264, allocations: 0 / 297.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001085/0.006373, allocations: 37.58 kB / 297.4 MB, free: 1.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.0064, allocations: 51.41 kB / 297.4 MB, free: 1.668 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.235e-05/0.006473, allocations: 119.3 kB / 297.5 MB, free: 1.539 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.006485, allocations: 25.7 kB / 297.5 MB, free: 1.508 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.025e-05/0.006536, allocations: 88.09 kB / 297.6 MB, free: 1.418 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.628e-06/0.006545, allocations: 7.891 kB / 297.6 MB, free: 1.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.006576, allocations: 13.72 kB / 297.7 MB, free: 1.391 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.905e-05/0.006675, allocations: 318.8 kB / 298 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-06/0.006684, allocations: 0 / 298 MB, free: 1.07 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.01e-05/0.006704, allocations: 18.58 kB / 298 MB, free: 1.043 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.509e-05/0.006739, allocations: 30.64 kB / 298 MB, free: 1.004 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.006741, allocations: 4 kB / 298 MB, free: 1 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.696e-05/0.006808, allocations: 45.62 kB / 298.1 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.006821, allocations: 4 kB / 298.1 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.006827, allocations: 3.938 kB / 298.1 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.00684, allocations: 4 kB / 298.1 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.07e-05/0.006891, allocations: 7.984 kB / 298.1 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.006894, allocations: 0 / 298.1 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.797e-05/0.006912, allocations: 0 / 298.1 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.006918, allocations: 4 kB / 298.1 MB, free: 0.9258 MB / 282.7 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 5.713e-05/0.006976, allocations: 109.9 kB / 298.2 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.006997, allocations: 4 kB / 298.2 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.007103, allocations: 52.8 kB / 298.2 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.007105, allocations: 0 / 298.2 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.007107, allocations: 0 / 298.2 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.00711, allocations: 0 / 298.2 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.007213, allocations: 61.91 kB / 298.3 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.007219, allocations: 4.031 kB / 298.3 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-06/0.00722, allocations: 0 / 298.3 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.408e-06/0.007229, allocations: 7.984 kB / 298.3 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.007231, allocations: 4 kB / 298.3 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-06/0.007235, allocations: 0 / 298.3 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.007237, allocations: 3.938 kB / 298.3 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.007238, allocations: 0 / 298.3 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.366e-05/0.007312, allocations: 127.5 kB / 298.5 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.007324, allocations: 7.984 kB / 298.5 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.834e-05/0.007382, allocations: 3.938 kB / 298.5 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.085e-05/0.007393, allocations: 7.875 kB / 298.5 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.007396, allocations: 4.031 kB / 298.5 MB, free: 500 kB / 282.7 MB Notification: Performance of sorting global known variables: time 9.458e-06/0.007406, allocations: 8.859 kB / 298.5 MB, free: 488 kB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007406, allocations: 0 / 298.5 MB, free: 488 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001674/0.007573, allocations: 43.94 kB / 298.5 MB, free: 444 kB / 282.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.0002004/0.007774, allocations: 124.3 kB / 298.6 MB, free: 308 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.333e-05/0.007827, allocations: 16.84 kB / 298.7 MB, free: 288 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.007832, allocations: 4 kB / 298.7 MB, free: 284 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.954e-05/0.007862, allocations: 34.94 kB / 298.7 MB, free: 240 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001008/0.007963, allocations: 8.641 kB / 298.7 MB, free: 232 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001622/0.008125, allocations: 97.5 kB / 298.8 MB, free: 108 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.921e-05/0.008154, allocations: 55.36 kB / 298.9 MB, free: 32 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.96e-05/0.008174, allocations: 0 / 298.9 MB, free: 32 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/0.008223, allocations: 55.38 kB / 298.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.008223, allocations: 3.938 kB / 298.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of Templates: time 0.002709/0.01093, allocations: 1.285 MB / 300.2 MB, free: 14.7 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6818938134238124]