Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.0008924/0.0008924, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.00382/0.00382, allocations: 158.9 kB / 24.7 MB, free: 8.91 MB / 18.57 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 0.9177/0.9177, allocations: 177.1 MB / 205 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.2568/0.2568, allocations: 32.79 MB / 294.2 MB, free: 1.219 MB / 266.7 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 440.9 MB, free: 3.691 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.088e-05/3.299e-05, allocations: 7.969 kB / 440.9 MB, free: 3.684 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002667/0.0027, allocations: 1.712 MB / 442.6 MB, free: 1.953 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.004275, allocations: 0.978 MB / 443.6 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.004382, allocations: 4 kB / 443.6 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000433/0.004815, allocations: 83.62 kB / 443.7 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004145/0.00523, allocations: 119.4 kB / 443.8 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.005486, allocations: 71.67 kB / 443.9 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.005731, allocations: 123.6 kB / 444 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.005867, allocations: 15.92 kB / 444 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.006005, allocations: 63.81 kB / 444.1 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.006128, allocations: 55.88 kB / 444.2 MB, free: 452 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.006147, allocations: 4 kB / 444.2 MB, free: 448 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.006255, allocations: 43.92 kB / 444.2 MB, free: 404 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.698e-05/0.006322, allocations: 35.78 kB / 444.2 MB, free: 368 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.958e-05/0.006372, allocations: 19.92 kB / 444.3 MB, free: 348 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.006611, allocations: 119.6 kB / 444.4 MB, free: 228 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.006616, allocations: 3.938 kB / 444.4 MB, free: 224 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.006617, allocations: 0 / 444.4 MB, free: 224 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.006622, allocations: 4 kB / 444.4 MB, free: 220 kB / 410.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.2/0.2066, allocations: 352.7 kB / 444.7 MB, free: 46.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.2067, allocations: 8.781 kB / 444.7 MB, free: 46.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.2067, allocations: 14.41 kB / 444.7 MB, free: 46.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.207, allocations: 148.6 kB / 444.9 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.207, allocations: 6.25 kB / 444.9 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.207, allocations: 7.062 kB / 444.9 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.2072, allocations: 53 kB / 445 MB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.2072, allocations: 0 / 445 MB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.2072, allocations: 4.344 kB / 445 MB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.2072, allocations: 1.188 kB / 445 MB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.481e-05/0.2073, allocations: 25.66 kB / 445 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003016/0.2076, allocations: 236.4 kB / 445.2 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.2077, allocations: 60.19 kB / 445.3 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.477e-05/0.2077, allocations: 21.12 kB / 445.3 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.2077, allocations: 0 / 445.3 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001233/0.2079, allocations: 71.27 kB / 445.4 MB, free: 46.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.2079, allocations: 0 / 445.4 MB, free: 46.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004353/0.2083, allocations: 188.7 kB / 445.5 MB, free: 46.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.2083, allocations: 52.03 kB / 445.6 MB, free: 46.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.2085, allocations: 225.1 kB / 445.8 MB, free: 46.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.218e-06/0.2085, allocations: 34.61 kB / 445.9 MB, free: 46.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.673e-05/0.2085, allocations: 104.3 kB / 446 MB, free: 45.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.2085, allocations: 34.52 kB / 446 MB, free: 45.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.2086, allocations: 24.48 kB / 446 MB, free: 45.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.735e-05/0.2086, allocations: 324 kB / 446.3 MB, free: 45.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.849e-05/0.2086, allocations: 25.86 kB / 446.4 MB, free: 45.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.738e-05/0.2087, allocations: 36.09 kB / 446.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.704e-05/0.2087, allocations: 68.75 kB / 446.5 MB, free: 45.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2087, allocations: 0 / 446.5 MB, free: 45.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001075/0.2088, allocations: 103.5 kB / 446.6 MB, free: 45.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.2089, allocations: 11 kB / 446.6 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2089, allocations: 3.094 kB / 446.6 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.2089, allocations: 0 / 446.6 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.038e-05/0.2089, allocations: 23.72 kB / 446.6 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.209, allocations: 0 / 446.6 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.067e-05/0.209, allocations: 7.047 kB / 446.6 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.209, allocations: 6.719 kB / 446.6 MB, free: 45.51 MB / 410.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 5.827e-05/0.209, allocations: 130.1 kB / 446.7 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.043e-05/0.2091, allocations: 13.98 kB / 446.7 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/0.2092, allocations: 125.1 kB / 446.9 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.2092, allocations: 0 / 446.9 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.2092, allocations: 4.594 kB / 446.9 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2092, allocations: 0 / 446.9 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.2095, allocations: 357.7 kB / 447.2 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2095, allocations: 0.5938 kB / 447.2 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.435e-05/0.2095, allocations: 8.75 kB / 447.2 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.2095, allocations: 6.438 kB / 447.2 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.2095, allocations: 3.047 kB / 447.2 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.2095, allocations: 2.844 kB / 447.2 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2095, allocations: 3.938 kB / 447.2 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.2096, allocations: 216.7 kB / 447.5 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.205e-05/0.2096, allocations: 10.83 kB / 447.5 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.2097, allocations: 6.75 kB / 447.5 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.936e-05/0.2097, allocations: 6.297 kB / 447.5 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.2097, allocations: 16.67 kB / 447.5 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.2097, allocations: 3 kB / 447.5 MB, free: 44.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.961e-05/0.2098, allocations: 171.7 kB / 447.7 MB, free: 44.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2098, allocations: 0.6562 kB / 447.7 MB, free: 44.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001721/0.21, allocations: 25.33 kB / 447.7 MB, free: 44.75 MB / 410.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.0007934/0.2108, allocations: 494 kB / 448.2 MB, free: 44.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000136/0.2109, allocations: 64.55 kB / 448.2 MB, free: 44.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2109, allocations: 0 / 448.2 MB, free: 44.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.062e-05/0.211, allocations: 34.73 kB / 448.3 MB, free: 44.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.2112, allocations: 35.86 kB / 448.3 MB, free: 44.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003932/0.2116, allocations: 274.3 kB / 448.6 MB, free: 44.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.205e-05/0.2117, allocations: 108.4 kB / 448.7 MB, free: 44.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.2117, allocations: 16.62 kB / 448.7 MB, free: 44.29 MB / 410.7 MB Notification: Performance of SimCode: time 9.21e-07/0.2117, allocations: 0 / 448.7 MB, free: 44.29 MB / 410.7 MB Notification: Performance of Templates: time 0.00276/0.2144, allocations: 2.069 MB / 450.8 MB, free: 44.05 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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: 5.0324922148138285]