Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.0007826/0.0007826, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001258/0.00204, 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.001062/0.001062, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001414/0.002476, 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.037/1.037, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09638/1.134, allocations: 53.86 MB / 243.7 MB, free: 14.92 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.2664/0.2664, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0386/0.305, allocations: 13.24 MB / 292.6 MB, free: 6.48 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 294 MB, free: 5.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.043e-05/3.271e-05, allocations: 4.281 kB / 294 MB, free: 5.117 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003402/0.003435, allocations: 1.802 MB / 295.8 MB, free: 3.301 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.005221, allocations: 1.025 MB / 296.8 MB, free: 2.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.894e-05/0.00532, allocations: 4 kB / 296.8 MB, free: 2.266 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002581/0.005578, allocations: 47.69 kB / 296.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003058/0.005883, allocations: 87.55 kB / 296.9 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.006123, allocations: 79.61 kB / 297 MB, free: 2.055 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000236/0.006359, allocations: 107.6 kB / 297.1 MB, free: 1.949 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.64e-05/0.006446, allocations: 11.98 kB / 297.1 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.006586, allocations: 82.27 kB / 297.2 MB, free: 1.859 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.125e-05/0.006667, allocations: 27.89 kB / 297.2 MB, free: 1.832 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.006681, allocations: 8 kB / 297.2 MB, free: 1.824 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.439e-05/0.006766, allocations: 43.92 kB / 297.3 MB, free: 1.781 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.116e-05/0.006807, allocations: 11.94 kB / 297.3 MB, free: 1.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.582e-05/0.006843, allocations: 19.88 kB / 297.3 MB, free: 1.75 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.006997, allocations: 103.7 kB / 297.4 MB, free: 1.648 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.525e-05/0.007012, allocations: 0 / 297.4 MB, free: 1.648 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.007014, allocations: 0 / 297.4 MB, free: 1.648 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.00703, allocations: 0 / 297.4 MB, free: 1.648 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004287/0.007459, allocations: 345 kB / 297.7 MB, free: 1.289 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.00749, allocations: 8.922 kB / 297.8 MB, free: 1.281 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.00752, allocations: 12.92 kB / 297.8 MB, free: 1.27 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.007665, allocations: 146 kB / 297.9 MB, free: 1.102 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.007682, allocations: 8.375 kB / 297.9 MB, free: 1.094 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.007697, allocations: 384 / 297.9 MB, free: 1.094 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.007801, allocations: 65.77 kB / 298 MB, free: 1.02 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.00781, allocations: 8.172 kB / 298 MB, free: 1.012 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.007817, allocations: 384 / 298 MB, free: 1.012 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.007823, allocations: 3.938 kB / 298 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.782e-05/0.00785, allocations: 15.92 kB / 298 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001918/0.008042, allocations: 165.8 kB / 298.2 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.956e-05/0.008132, allocations: 89.34 kB / 298.3 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.826e-05/0.00815, allocations: 12.86 kB / 298.3 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.008161, allocations: 0 / 298.3 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.888e-05/0.00826, allocations: 70.16 kB / 298.3 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.008261, allocations: 0 / 298.3 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002726/0.008533, allocations: 109.5 kB / 298.4 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.008562, allocations: 55.41 kB / 298.5 MB, free: 448 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.799e-05/0.00866, allocations: 180.2 kB / 298.7 MB, free: 252 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.008674, allocations: 29.7 kB / 298.7 MB, free: 216 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.913e-05/0.008703, allocations: 96.09 kB / 298.8 MB, free: 116 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.008728, allocations: 27.75 kB / 298.8 MB, free: 88 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.008761, allocations: 29.69 kB / 298.9 MB, free: 52 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.203e-05/0.008843, allocations: 322.8 kB / 299.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.687e-05/0.00886, allocations: 11.2 kB / 299.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.334e-05/0.008883, allocations: 30.62 kB / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.927e-05/0.008922, allocations: 40.53 kB / 299.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.008925, allocations: 4 kB / 299.3 MB, free: 15.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.286e-05/0.008998, allocations: 68.48 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.009011, allocations: 11.94 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.009015, allocations: 0 / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.064e-06/0.009022, allocations: 0 / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.643e-05/0.009088, allocations: 27.92 kB / 299.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-06/0.009091, allocations: 4.031 kB / 299.4 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.553e-05/0.009116, allocations: 4 kB / 299.4 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.00912, allocations: 0 / 299.4 MB, free: 15.51 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 (10): * Single equations (assignments): 10 * 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 0.001119/0.01024, allocations: 118.9 kB / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.01026, allocations: 11.92 kB / 299.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000154/0.01042, allocations: 87.56 kB / 299.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.01042, allocations: 0 / 299.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.01042, allocations: 0 / 299.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.01043, allocations: 0 / 299.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.01071, allocations: 291.5 kB / 299.9 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.01072, allocations: 3.938 kB / 299.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.766e-05/0.01077, allocations: 15.98 kB / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.742e-05/0.01078, allocations: 11.91 kB / 299.9 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.01079, allocations: 0 / 299.9 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.0108, allocations: 4 kB / 299.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.0108, allocations: 4 kB / 299.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.0108, allocations: 0 / 299.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.01095, allocations: 222.6 kB / 300.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.01097, allocations: 4 kB / 300.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.965e-05/0.01104, allocations: 4 kB / 300.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.01108, allocations: 12.02 kB / 300.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.01109, allocations: 0 / 300.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.659e-05/0.01116, allocations: 59.58 kB / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01116, allocations: 0 / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002472/0.01141, allocations: 23.94 kB / 300.2 MB, free: 14.59 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: 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 (9): * Single equations (assignments): 7 * 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.00203/0.01344, allocations: 0.6206 MB / 300.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001167/0.01356, allocations: 44.77 kB / 300.9 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/0.01356, allocations: 4 kB / 300.9 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.728e-05/0.0136, allocations: 20.8 kB / 300.9 MB, free: 14.22 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.01386, allocations: 39.91 kB / 300.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006094/0.01447, allocations: 252 kB / 301.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.987e-05/0.01452, allocations: 67.34 kB / 301.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.097e-05/0.01457, allocations: 12.97 kB / 301.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.684e-05/0.01466, allocations: 75.3 kB / 301.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01466, allocations: 0 / 301.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of Templates: time 0.005119/0.01978, allocations: 2.063 MB / 303.4 MB, free: 11.69 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.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: 2.9427244067192078]