Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.0006719/0.0006719, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001169/0.001841, 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.0007216/0.0007216, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009889/0.00171, 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.099/1.099, allocations: 177.5 MB / 190 MB, free: 4.793 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1015/1.201, allocations: 53.86 MB / 243.9 MB, free: 14.86 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.2945/0.2945, allocations: 34.9 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03084/0.3253, allocations: 13.23 MB / 292.8 MB, free: 6.383 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.Test81,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.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,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.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 294.2 MB, free: 5.008 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.188e-05/2.358e-05, allocations: 5.641 kB / 294.2 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003861/0.003885, allocations: 1.885 MB / 296.1 MB, free: 3.102 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003007/0.006891, allocations: 1.852 MB / 297.9 MB, free: 1.242 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.007044, allocations: 3.938 kB / 297.9 MB, free: 1.238 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.007359, allocations: 59.5 kB / 298 MB, free: 1.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005174/0.007876, allocations: 143.2 kB / 298.1 MB, free: 1.039 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.008212, allocations: 119.5 kB / 298.2 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.008471, allocations: 199.3 kB / 298.4 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.989e-05/0.008521, allocations: 6.469 kB / 298.4 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.008735, allocations: 165.1 kB / 298.6 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.008895, allocations: 67.8 kB / 298.7 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.008917, allocations: 8 kB / 298.7 MB, free: 500 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002266/0.009143, allocations: 111.8 kB / 298.8 MB, free: 388 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.237e-05/0.009206, allocations: 27.86 kB / 298.8 MB, free: 360 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.026e-05/0.009256, allocations: 31.88 kB / 298.8 MB, free: 328 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002798/0.009536, allocations: 187.3 kB / 299 MB, free: 140 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.527e-05/0.009551, allocations: 4 kB / 299 MB, free: 136 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.009552, allocations: 0 / 299 MB, free: 136 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.009564, allocations: 0 / 299 MB, free: 136 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.0005879/0.01015, allocations: 432.4 kB / 299.4 MB, free: 15.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.01018, allocations: 8.031 kB / 299.5 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.763e-05/0.01023, allocations: 16.92 kB / 299.5 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.01044, allocations: 183.9 kB / 299.6 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.01045, allocations: 4.375 kB / 299.7 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.01047, allocations: 4.375 kB / 299.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.01062, allocations: 160.5 kB / 299.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.01063, allocations: 4.188 kB / 299.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.01064, allocations: 384 / 299.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.01065, allocations: 7.938 kB / 299.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.332e-05/0.01068, allocations: 25.56 kB / 299.9 MB, free: 15.22 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001121/0.01079, allocations: 82.38 kB / 299.9 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.0109, allocations: 74.86 kB / 300 MB, free: 15.03 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.897e-05/0.01093, allocations: 25.7 kB / 300 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.01094, allocations: 8 kB / 300 MB, free: 14.99 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001276/0.01107, allocations: 101.6 kB / 300.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.01107, allocations: 4 kB / 300.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.000152/0.01122, allocations: 91.25 kB / 300.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.01126, allocations: 81.11 kB / 300.3 MB, free: 14.67 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.01141, allocations: 225 kB / 300.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.01143, allocations: 25.7 kB / 300.6 MB, free: 14.4 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.586e-05/0.01146, allocations: 100.6 kB / 300.7 MB, free: 14.3 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.0115, allocations: 35.7 kB / 300.7 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.01154, allocations: 33.72 kB / 300.7 MB, free: 14.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.702e-05/0.01162, allocations: 334.8 kB / 301 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.984e-05/0.01164, allocations: 10.83 kB / 301.1 MB, free: 13.88 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.769e-05/0.0117, allocations: 105.2 kB / 301.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.541e-05/0.01177, allocations: 72.31 kB / 301.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01177, allocations: 0 / 301.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.657e-05/0.01186, allocations: 95.25 kB / 301.3 MB, free: 13.56 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.497e-06/0.01187, allocations: 8.094 kB / 301.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.01188, allocations: 0 / 301.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.01189, allocations: 4 kB / 301.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.842e-05/0.01197, allocations: 27.92 kB / 301.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.01197, allocations: 0 / 301.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.786e-05/0.01202, allocations: 19.81 kB / 301.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.01203, allocations: 8 kB / 301.4 MB, free: 13.49 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.432e-05/0.0121, allocations: 120.7 kB / 301.5 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.01212, allocations: 15.98 kB / 301.5 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.01224, allocations: 98.72 kB / 301.6 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.01224, allocations: 4 kB / 301.6 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.01225, allocations: 0 / 301.6 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.01225, allocations: 3.938 kB / 301.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.453e-05/0.01234, allocations: 105.8 kB / 301.7 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01235, allocations: 0 / 301.7 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.246e-05/0.01238, allocations: 15.98 kB / 301.7 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.931e-05/0.0124, allocations: 15.86 kB / 301.8 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.0124, allocations: 0 / 301.8 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.01241, allocations: 11.94 kB / 301.8 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01241, allocations: 0 / 301.8 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01241, allocations: 4 kB / 301.8 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.01252, allocations: 127.2 kB / 301.9 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.01254, allocations: 8 kB / 301.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.455e-05/0.01257, allocations: 4 kB / 301.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.662e-05/0.0126, allocations: 7.984 kB / 301.9 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.01261, allocations: 7.984 kB / 301.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.57e-05/0.01268, allocations: 78.23 kB / 302 MB, free: 12.81 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01268, allocations: 4 kB / 302 MB, free: 12.81 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001845/0.01286, allocations: 51.86 kB / 302.1 MB, free: 12.76 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.001909/0.01477, allocations: 0.6884 MB / 302.7 MB, free: 12.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001441/0.01492, allocations: 60.75 kB / 302.8 MB, free: 12.35 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/0.01493, allocations: 8 kB / 302.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.002e-05/0.01498, allocations: 41.28 kB / 302.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.01527, allocations: 359.7 kB / 303.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005092/0.01578, allocations: 288.4 kB / 303.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.747e-05/0.01582, allocations: 75.98 kB / 303.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.504e-05/0.01589, allocations: 25.47 kB / 303.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.01601, allocations: 99.33 kB / 303.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of SimCode: time 9.01e-07/0.01601, allocations: 0 / 303.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of Templates: time 0.005543/0.02155, allocations: 3.806 MB / 307.5 MB, free: 7.609 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.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: 3.0515991393476725]