Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.001316/0.001316, allocations: 81.72 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001555/0.001555, allocations: 164.4 kB / 23.95 MB, free: 4.168 MB / 14.72 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.408/1.408, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1976/0.1976, allocations: 32.8 MB / 293.5 MB, free: 44 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 440.2 MB, free: 8.082 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.127e-05/2.246e-05, allocations: 2.281 kB / 440.2 MB, free: 8.078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002912/0.002934, allocations: 1.716 MB / 441.9 MB, free: 6.348 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001751/0.004686, allocations: 0.9664 MB / 442.9 MB, free: 5.375 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.073e-05/0.004746, allocations: 7.938 kB / 442.9 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002412/0.004988, allocations: 35.83 kB / 442.9 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003054/0.005293, allocations: 95.48 kB / 443 MB, free: 5.238 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.005493, allocations: 83.53 kB / 443.1 MB, free: 5.156 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.005679, allocations: 111.6 kB / 443.2 MB, free: 5.047 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.75e-05/0.005767, allocations: 7.984 kB / 443.2 MB, free: 5.039 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.005869, allocations: 51.84 kB / 443.2 MB, free: 4.988 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.558e-05/0.005955, allocations: 27.89 kB / 443.3 MB, free: 4.961 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.005976, allocations: 4 kB / 443.3 MB, free: 4.957 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.495e-05/0.006071, allocations: 39.98 kB / 443.3 MB, free: 4.918 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.784e-05/0.006129, allocations: 27.86 kB / 443.3 MB, free: 4.891 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.853e-05/0.006177, allocations: 23.92 kB / 443.4 MB, free: 4.867 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.006383, allocations: 115.6 kB / 443.5 MB, free: 4.754 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.006386, allocations: 0 / 443.5 MB, free: 4.754 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.006387, allocations: 0 / 443.5 MB, free: 4.754 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.287e-06/0.00639, allocations: 0 / 443.5 MB, free: 4.754 MB / 366.1 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.0005666/0.006957, allocations: 341.6 kB / 443.8 MB, free: 4.391 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.006993, allocations: 15.97 kB / 443.8 MB, free: 4.375 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.007039, allocations: 16.84 kB / 443.8 MB, free: 4.359 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.007278, allocations: 158.3 kB / 444 MB, free: 4.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.00729, allocations: 4.375 kB / 444 MB, free: 4.176 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.007315, allocations: 4.375 kB / 444 MB, free: 4.172 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.007468, allocations: 58.17 kB / 444.1 MB, free: 4.109 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.007481, allocations: 3.938 kB / 444.1 MB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.00749, allocations: 0 / 444.1 MB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.007498, allocations: 4 kB / 444.1 MB, free: 4.102 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.893e-05/0.007577, allocations: 19.98 kB / 444.1 MB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.007923, allocations: 228.6 kB / 444.3 MB, free: 3.828 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.008123, allocations: 62.61 kB / 444.4 MB, free: 3.758 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.299e-05/0.008186, allocations: 32.72 kB / 444.4 MB, free: 3.723 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.008203, allocations: 4 kB / 444.4 MB, free: 3.719 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001477/0.008351, allocations: 63.39 kB / 444.5 MB, free: 3.645 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.008353, allocations: 0 / 444.5 MB, free: 3.645 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005752/0.008928, allocations: 189.3 kB / 444.7 MB, free: 3.453 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.008973, allocations: 55.41 kB / 444.7 MB, free: 3.387 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.009184, allocations: 202.2 kB / 444.9 MB, free: 3.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.009204, allocations: 25.7 kB / 444.9 MB, free: 3.148 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.676e-05/0.009281, allocations: 104.1 kB / 445 MB, free: 3.043 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.009313, allocations: 35.77 kB / 445.1 MB, free: 3.008 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.009358, allocations: 21.72 kB / 445.1 MB, free: 2.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.009508, allocations: 322.8 kB / 445.4 MB, free: 2.656 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.625e-05/0.009575, allocations: 23.98 kB / 445.4 MB, free: 2.633 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.446e-05/0.009659, allocations: 41.64 kB / 445.5 MB, free: 2.586 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.009793, allocations: 61.64 kB / 445.5 MB, free: 2.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.009794, allocations: 4 kB / 445.5 MB, free: 2.516 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002054/0.009999, allocations: 97.53 kB / 445.6 MB, free: 2.414 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.01002, allocations: 12.03 kB / 445.6 MB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.01002, allocations: 0 / 445.6 MB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.01004, allocations: 7.969 kB / 445.6 MB, free: 2.395 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.665e-05/0.01014, allocations: 16 kB / 445.7 MB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.01015, allocations: 4 kB / 445.7 MB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.467e-05/0.01019, allocations: 384 / 445.7 MB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.0102, allocations: 7.938 kB / 445.7 MB, free: 2.367 MB / 366.1 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.0001279/0.01033, allocations: 137.5 kB / 445.8 MB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.01035, allocations: 11.95 kB / 445.8 MB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002818/0.01064, allocations: 119.1 kB / 445.9 MB, free: 2.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01064, allocations: 4 kB / 445.9 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.01064, allocations: 0 / 445.9 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.01065, allocations: 7.984 kB / 445.9 MB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004752/0.01112, allocations: 347.2 kB / 446.3 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01112, allocations: 0 / 446.3 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.376e-05/0.01118, allocations: 15.92 kB / 446.3 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.01118, allocations: 7.938 kB / 446.3 MB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.01119, allocations: 0 / 446.3 MB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.01119, allocations: 0 / 446.3 MB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.0112, allocations: 32 / 446.3 MB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.01148, allocations: 220.2 kB / 446.5 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.515e-05/0.01151, allocations: 15.89 kB / 446.5 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.01153, allocations: 4 kB / 446.5 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-05/0.0116, allocations: 0 / 446.5 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.01165, allocations: 11.98 kB / 446.6 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.01167, allocations: 4 kB / 446.6 MB, free: 1.406 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001439/0.01181, allocations: 156.2 kB / 446.7 MB, free: 1.254 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01181, allocations: 0 / 446.7 MB, free: 1.254 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.01208, allocations: 23.94 kB / 446.7 MB, free: 1.23 MB / 366.1 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.001863/0.01394, allocations: 0.4892 MB / 447.2 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.01414, allocations: 55.92 kB / 447.3 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.01414, allocations: 0 / 447.3 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.914e-05/0.01423, allocations: 35.98 kB / 447.3 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.01459, allocations: 35.09 kB / 447.3 MB, free: 0.832 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004957/0.01509, allocations: 230.1 kB / 447.6 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.0152, allocations: 100.3 kB / 447.7 MB, free: 472 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.883e-05/0.01525, allocations: 8.984 kB / 447.7 MB, free: 456 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.679e-05/0.0153, allocations: 24.55 kB / 447.7 MB, free: 432 kB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.0153, allocations: 0 / 447.7 MB, free: 432 kB / 366.1 MB Notification: Performance of Templates: time 0.1699/0.1852, allocations: 1.856 MB / 449.6 MB, free: 21.16 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.515870310366154]