Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.001103/0.001103, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001642/0.002745, allocations: 449.7 kB / 10.37 MB, free: 324 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.001159/0.001159, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001468/0.002627, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.039/1.039, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09148/1.131, allocations: 53.87 MB / 243.8 MB, free: 14.91 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.2702/0.2702, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02401/0.2942, allocations: 13.23 MB / 292.6 MB, free: 6.461 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 293.9 MB, free: 5.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.278e-05, allocations: 6.312 kB / 294 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003356/0.003379, allocations: 1.879 MB / 295.8 MB, free: 3.207 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002774/0.006153, allocations: 1.836 MB / 297.7 MB, free: 1.363 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.768e-05/0.00625, allocations: 0 / 297.7 MB, free: 1.363 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000215/0.006465, allocations: 51.62 kB / 297.7 MB, free: 1.312 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002828/0.006748, allocations: 147.2 kB / 297.9 MB, free: 1.168 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.00692, allocations: 111.6 kB / 298 MB, free: 1.059 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.007127, allocations: 203.3 kB / 298.2 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.386e-05/0.007171, allocations: 10.47 kB / 298.2 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.007368, allocations: 161.1 kB / 298.3 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.007509, allocations: 63.8 kB / 298.4 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.007529, allocations: 12 kB / 298.4 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.007722, allocations: 111.8 kB / 298.5 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.959e-05/0.007771, allocations: 27.86 kB / 298.5 MB, free: 496 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.291e-05/0.007814, allocations: 31.88 kB / 298.6 MB, free: 464 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.00806, allocations: 187.3 kB / 298.8 MB, free: 276 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.882e-05/0.008079, allocations: 4 kB / 298.8 MB, free: 272 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.008081, allocations: 0 / 298.8 MB, free: 272 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.008099, allocations: 0 / 298.8 MB, free: 272 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005544/0.008654, allocations: 432.4 kB / 299.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.008686, allocations: 8.031 kB / 299.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.008728, allocations: 16.92 kB / 299.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.008929, allocations: 183.9 kB / 299.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.008945, allocations: 4.375 kB / 299.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.008955, allocations: 4.375 kB / 299.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.009121, allocations: 156.6 kB / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.009129, allocations: 192 / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.009139, allocations: 4.375 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.009148, allocations: 3.938 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.264e-05/0.0092, allocations: 25.56 kB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001057/0.009306, allocations: 86.38 kB / 299.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.009414, allocations: 78.86 kB / 299.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.011e-05/0.009445, allocations: 33.64 kB / 299.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.009455, allocations: 0 / 299.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001182/0.009574, allocations: 103.8 kB / 299.9 MB, free: 15 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 8.01e-07/0.009574, allocations: 0 / 299.9 MB, free: 15 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001474/0.009722, allocations: 91.25 kB / 300 MB, free: 14.9 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.009754, allocations: 81.11 kB / 300.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.009891, allocations: 221 kB / 300.3 MB, free: 14.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.009908, allocations: 33.64 kB / 300.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.048e-05/0.009939, allocations: 100.6 kB / 300.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.009972, allocations: 27.78 kB / 300.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.01002, allocations: 37.69 kB / 300.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.813e-05/0.0101, allocations: 330.8 kB / 300.8 MB, free: 14.03 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.174e-05/0.01012, allocations: 10.83 kB / 300.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.552e-05/0.01018, allocations: 104.5 kB / 300.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.128e-05/0.01024, allocations: 67.83 kB / 301 MB, free: 13.8 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01024, allocations: 0 / 301 MB, free: 13.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.226e-05/0.01033, allocations: 91.81 kB / 301.1 MB, free: 13.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.01034, allocations: 8.094 kB / 301.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.01035, allocations: 0 / 301.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.01036, allocations: 4 kB / 301.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.375e-05/0.01044, allocations: 31.98 kB / 301.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.01044, allocations: 3.938 kB / 301.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.693e-05/0.01049, allocations: 19.83 kB / 301.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.0105, allocations: 7.984 kB / 301.1 MB, free: 13.63 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.01e-05/0.01057, allocations: 124.7 kB / 301.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.847e-05/0.01059, allocations: 11.98 kB / 301.3 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.0107, allocations: 98.73 kB / 301.4 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.01071, allocations: 4 kB / 301.4 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.01071, allocations: 3.984 kB / 301.4 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01071, allocations: 3.938 kB / 301.4 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.922e-05/0.01081, allocations: 97.84 kB / 301.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01081, allocations: 0 / 301.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.094e-05/0.01085, allocations: 15.94 kB / 301.5 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.94e-05/0.01086, allocations: 19.84 kB / 301.5 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.01087, allocations: 0 / 301.5 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.01087, allocations: 8 kB / 301.5 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.01087, allocations: 0 / 301.5 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01088, allocations: 4 kB / 301.5 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.435e-05/0.01097, allocations: 123.4 kB / 301.6 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.01099, allocations: 8 kB / 301.6 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.307e-05/0.01102, allocations: 4 kB / 301.6 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.01107, allocations: 15.92 kB / 301.7 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.01109, allocations: 11.97 kB / 301.7 MB, free: 13.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.503e-05/0.01115, allocations: 78.61 kB / 301.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01115, allocations: 3.938 kB / 301.8 MB, free: 12.94 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001718/0.01132, allocations: 47.88 kB / 301.8 MB, free: 12.89 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001466/0.01279, allocations: 0.6926 MB / 302.5 MB, free: 12.54 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.0129, allocations: 52.72 kB / 302.5 MB, free: 12.49 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/0.01291, allocations: 4 kB / 302.5 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.421e-05/0.01295, allocations: 32.78 kB / 302.6 MB, free: 12.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.01315, allocations: 83.66 kB / 302.7 MB, free: 12.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005357/0.01369, allocations: 280.2 kB / 302.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.319e-05/0.01373, allocations: 80.11 kB / 303 MB, free: 11.97 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.533e-05/0.01379, allocations: 33.91 kB / 303 MB, free: 11.94 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.0139, allocations: 95.33 kB / 303.1 MB, free: 11.85 MB / 298.7 MB Notification: Performance of SimCode: time 7.52e-07/0.0139, allocations: 0 / 303.1 MB, free: 11.85 MB / 298.7 MB Notification: Performance of Templates: time 0.005424/0.01933, allocations: 3.802 MB / 306.9 MB, free: 8.109 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0824763029813766]