Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.0008054/0.0008054, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001051/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.0006768/0.0006768, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001437/0.002114, 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 1.138/1.138, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09063/1.228, allocations: 53.88 MB / 243.9 MB, free: 14.84 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.2642/0.2642, allocations: 34.88 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02668/0.2908, allocations: 13.24 MB / 292.8 MB, free: 6.395 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.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 294.2 MB, free: 4.992 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.227e-05/2.356e-05, allocations: 2.969 kB / 294.2 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.00235/0.002373, allocations: 1.838 MB / 296 MB, free: 3.133 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.003869, allocations: 1.033 MB / 297.1 MB, free: 2.094 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.389e-05/0.003963, allocations: 0 / 297.1 MB, free: 2.094 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.004206, allocations: 107.5 kB / 297.2 MB, free: 1.988 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.004471, allocations: 135.3 kB / 297.3 MB, free: 1.855 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.004674, allocations: 83.55 kB / 297.4 MB, free: 1.773 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.004877, allocations: 147.5 kB / 297.5 MB, free: 1.629 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.004978, allocations: 10.23 kB / 297.5 MB, free: 1.617 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.00514, allocations: 107.8 kB / 297.7 MB, free: 1.512 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.005253, allocations: 59.86 kB / 297.7 MB, free: 1.453 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.00527, allocations: 4 kB / 297.7 MB, free: 1.449 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.005381, allocations: 67.84 kB / 297.8 MB, free: 1.383 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.538e-05/0.005437, allocations: 27.88 kB / 297.8 MB, free: 1.355 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.505e-05/0.005472, allocations: 19.94 kB / 297.8 MB, free: 1.336 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.005696, allocations: 135.4 kB / 298 MB, free: 1.203 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.309e-05/0.005709, allocations: 0 / 298 MB, free: 1.203 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.00571, allocations: 4 kB / 298 MB, free: 1.199 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.00572, allocations: 0 / 298 MB, free: 1.199 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005763/0.006296, allocations: 384.7 kB / 298.3 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.006337, allocations: 12.91 kB / 298.4 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.006382, allocations: 16.94 kB / 298.4 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.006574, allocations: 162.4 kB / 298.5 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.006595, allocations: 8.312 kB / 298.5 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.006619, allocations: 4.375 kB / 298.5 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.006751, allocations: 73.75 kB / 298.6 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.006759, allocations: 192 / 298.6 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.006766, allocations: 4.375 kB / 298.6 MB, free: 500 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.006772, allocations: 7.938 kB / 298.6 MB, free: 492 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.723e-05/0.006809, allocations: 20.52 kB / 298.6 MB, free: 472 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002572/0.007066, allocations: 193.8 kB / 298.8 MB, free: 260 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.007232, allocations: 109.2 kB / 298.9 MB, free: 140 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.27e-05/0.007255, allocations: 12.86 kB / 299 MB, free: 124 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.007267, allocations: 0 / 299 MB, free: 124 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001034/0.007371, allocations: 79.22 kB / 299 MB, free: 32 kB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.007372, allocations: 0 / 299 MB, free: 32 kB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005125/0.007884, allocations: 213.8 kB / 299.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.007913, allocations: 51.41 kB / 299.3 MB, free: 15.76 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.008047, allocations: 213.8 kB / 299.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.008068, allocations: 29.7 kB / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.798e-05/0.008106, allocations: 111.9 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.008144, allocations: 47.62 kB / 299.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.008179, allocations: 25.7 kB / 299.7 MB, free: 15.31 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.502e-05/0.008264, allocations: 330.8 kB / 300 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.449e-05/0.008289, allocations: 18.83 kB / 300.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.512e-05/0.008324, allocations: 40.08 kB / 300.1 MB, free: 14.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.417e-05/0.008388, allocations: 68.5 kB / 300.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.008391, allocations: 3.938 kB / 300.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001014/0.008492, allocations: 90.17 kB / 300.2 MB, free: 14.74 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.008505, allocations: 10.81 kB / 300.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.008511, allocations: 3.984 kB / 300.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.008523, allocations: 3.984 kB / 300.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.781e-05/0.008601, allocations: 35.92 kB / 300.3 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.008605, allocations: 0 / 300.3 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.993e-05/0.008635, allocations: 8.031 kB / 300.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.008643, allocations: 4 kB / 300.3 MB, free: 14.68 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.079e-05/0.008714, allocations: 116.6 kB / 300.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.971e-05/0.008734, allocations: 19.98 kB / 300.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.008883, allocations: 115 kB / 300.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.008887, allocations: 4 kB / 300.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.008889, allocations: 0 / 300.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.008893, allocations: 0 / 300.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.009202, allocations: 364.2 kB / 300.9 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.009206, allocations: 4 kB / 300.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.211e-05/0.009258, allocations: 27.92 kB / 301 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.805e-05/0.009276, allocations: 15.91 kB / 301 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.009279, allocations: 0 / 301 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.009289, allocations: 8 kB / 301 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.009293, allocations: 0 / 301 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.009297, allocations: 7.922 kB / 301 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.009445, allocations: 245.6 kB / 301.2 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.009465, allocations: 4 kB / 301.2 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.508e-05/0.00951, allocations: 4 kB / 301.2 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.009547, allocations: 23.88 kB / 301.3 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.009561, allocations: 8 kB / 301.3 MB, free: 13.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.432e-05/0.009626, allocations: 73.92 kB / 301.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009626, allocations: 0 / 301.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001795/0.009805, allocations: 31.94 kB / 301.4 MB, free: 13.56 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001679/0.01148, allocations: 0.7074 MB / 302.1 MB, free: 13.21 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001437/0.01163, allocations: 75.52 kB / 302.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.507e-05/0.01164, allocations: 4 kB / 302.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.972e-05/0.0117, allocations: 44.83 kB / 302.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.01196, allocations: 184.4 kB / 302.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005331/0.01249, allocations: 315.4 kB / 302.7 MB, free: 12.54 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.337e-05/0.01253, allocations: 75.83 kB / 302.8 MB, free: 12.44 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.798e-05/0.01258, allocations: 29.73 kB / 302.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.051e-05/0.01266, allocations: 75.36 kB / 302.9 MB, free: 12.34 MB / 298.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01266, allocations: 0 / 302.9 MB, free: 12.34 MB / 298.7 MB Notification: Performance of Templates: time 0.004136/0.0168, allocations: 2.6 MB / 305.5 MB, free: 9.773 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.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.991813186556101]