Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009161/0.0009161, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006606/0.007522, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008798/0.0008798, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003842/0.004722, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.017/1.017, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09235/1.109, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.295/0.295, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02986/0.3249, allocations: 13.1 MB / 291.5 MB, free: 7.336 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 292.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.581e-05/3.798e-05, allocations: 4.281 kB / 292.9 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002794/0.002832, allocations: 1.982 MB / 294.9 MB, free: 4.113 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.004306, allocations: 1.123 MB / 296 MB, free: 2.984 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.004417, allocations: 3.938 kB / 296 MB, free: 2.98 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003859/0.004802, allocations: 307 kB / 296.3 MB, free: 2.68 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003376/0.00514, allocations: 262.9 kB / 296.6 MB, free: 2.422 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.005339, allocations: 123.5 kB / 296.7 MB, free: 2.301 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002686/0.005608, allocations: 263.2 kB / 297 MB, free: 2.043 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.502e-05/0.005703, allocations: 18.61 kB / 297 MB, free: 2.027 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000219/0.005922, allocations: 216.8 kB / 297.2 MB, free: 1.812 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.006078, allocations: 155.6 kB / 297.4 MB, free: 1.66 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.006101, allocations: 8 kB / 297.4 MB, free: 1.652 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.006204, allocations: 67.86 kB / 297.4 MB, free: 1.586 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.685e-05/0.006271, allocations: 55.8 kB / 297.5 MB, free: 1.531 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.54e-05/0.006316, allocations: 39.81 kB / 297.5 MB, free: 1.492 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.006547, allocations: 207.1 kB / 297.7 MB, free: 1.289 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.212e-05/0.00656, allocations: 0 / 297.7 MB, free: 1.289 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.006561, allocations: 0 / 297.7 MB, free: 1.289 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.006571, allocations: 4 kB / 297.7 MB, free: 1.285 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005603/0.007132, allocations: 0.523 MB / 298.3 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.007163, allocations: 11.97 kB / 298.3 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/0.007209, allocations: 24.92 kB / 298.3 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.007432, allocations: 224.1 kB / 298.5 MB, free: 468 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.007451, allocations: 4.375 kB / 298.5 MB, free: 464 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.007476, allocations: 16.38 kB / 298.5 MB, free: 448 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.007622, allocations: 108.3 kB / 298.6 MB, free: 324 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.007634, allocations: 7.875 kB / 298.7 MB, free: 316 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.007642, allocations: 0 / 298.7 MB, free: 316 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.007648, allocations: 4 kB / 298.7 MB, free: 312 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.159e-05/0.00769, allocations: 29.62 kB / 298.7 MB, free: 280 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002921/0.007982, allocations: 308.8 kB / 299 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.00818, allocations: 182.6 kB / 299.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.334e-05/0.008213, allocations: 37.89 kB / 299.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.008225, allocations: 4 kB / 299.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001323/0.008358, allocations: 112.4 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 9.72e-07/0.008358, allocations: 0 / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005946/0.008953, allocations: 332.2 kB / 299.6 MB, free: 15.24 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.00899, allocations: 81.11 kB / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.009193, allocations: 361 kB / 300.1 MB, free: 14.78 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.009213, allocations: 33.7 kB / 300.1 MB, free: 14.74 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.395e-05/0.009267, allocations: 125.5 kB / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.945e-05/0.009317, allocations: 75.39 kB / 300.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.009359, allocations: 41.69 kB / 300.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.68e-05/0.009446, allocations: 354.7 kB / 300.7 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.943e-05/0.009475, allocations: 22.83 kB / 300.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.559e-05/0.009521, allocations: 58.02 kB / 300.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.048e-05/0.009611, allocations: 102.9 kB / 300.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.009613, allocations: 4 kB / 300.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001328/0.009746, allocations: 138.2 kB / 301 MB, free: 13.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.009758, allocations: 8 kB / 301 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.009761, allocations: 0 / 301 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.009773, allocations: 0 / 301 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.404e-05/0.009867, allocations: 55.91 kB / 301.1 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.009874, allocations: 4 kB / 301.1 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.487e-05/0.009919, allocations: 11.92 kB / 301.1 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.009929, allocations: 12.88 kB / 301.1 MB, free: 13.7 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.531e-05/0.01, allocations: 125.3 kB / 301.2 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.01003, allocations: 23.97 kB / 301.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001802/0.01021, allocations: 160.5 kB / 301.4 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.01021, allocations: 0 / 301.4 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.01022, allocations: 7.984 kB / 301.4 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01022, allocations: 0 / 301.4 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00038/0.0106, allocations: 0.5633 MB / 302 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.0106, allocations: 4.125 kB / 302 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.067e-05/0.01066, allocations: 35.98 kB / 302 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.01069, allocations: 39.62 kB / 302 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.01069, allocations: 4 kB / 302.1 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.0107, allocations: 8 kB / 302.1 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.0107, allocations: 3.938 kB / 302.1 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.01071, allocations: 4 kB / 302.1 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.01089, allocations: 415 kB / 302.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.01093, allocations: 15.94 kB / 302.5 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.15e-05/0.011, allocations: 11.98 kB / 302.5 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.01104, allocations: 23.97 kB / 302.5 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.01106, allocations: 8 kB / 302.5 MB, free: 12.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001129/0.01117, allocations: 163.5 kB / 302.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01117, allocations: 0 / 302.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001954/0.01137, allocations: 51.92 kB / 302.7 MB, free: 11.96 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (24): * Single equations (assignments): 20 * 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.001561/0.01293, allocations: 0.7294 MB / 303.5 MB, free: 11.63 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001404/0.01307, allocations: 97.03 kB / 303.6 MB, free: 11.53 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/0.01308, allocations: 8 kB / 303.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.678e-05/0.01316, allocations: 72.69 kB / 303.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.01353, allocations: 367 kB / 304 MB, free: 11.03 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006582/0.01418, allocations: 0.5235 MB / 304.5 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.45e-05/0.01425, allocations: 108.3 kB / 304.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.432e-05/0.01431, allocations: 33.94 kB / 304.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.01441, allocations: 99.28 kB / 304.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01442, allocations: 0 / 304.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of Templates: time 0.005325/0.01974, allocations: 3.713 MB / 308.5 MB, free: 6.562 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.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.9520674236118793]