Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.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.0009098/0.0009098, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.0009068/0.0009068, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8452/0.8452, allocations: 158.6 MB / 186 MB, free: 2.762 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1336/0.1336, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 299.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.119e-05/3.304e-05, allocations: 2.312 kB / 299.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.00351/0.003544, allocations: 1.739 MB / 300.9 MB, free: 384 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.2004/0.204, allocations: 0.7911 MB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.98e-05/0.2041, allocations: 1.062 kB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.2044, allocations: 37.5 kB / 301.7 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002409/0.2046, allocations: 65.03 kB / 301.8 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.2049, allocations: 86.44 kB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.205, allocations: 91.23 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.768e-05/0.2051, allocations: 10.92 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.2052, allocations: 55.47 kB / 302 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.72e-05/0.2053, allocations: 28.06 kB / 302 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.2053, allocations: 4.344 kB / 302 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.2054, allocations: 43.12 kB / 302.1 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.874e-05/0.2055, allocations: 21.55 kB / 302.1 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.657e-05/0.2055, allocations: 20.31 kB / 302.1 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.2057, allocations: 96.22 kB / 302.2 MB, free: 19.13 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.2057, allocations: 1.219 kB / 302.2 MB, free: 19.13 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2057, allocations: 0 / 302.2 MB, free: 19.13 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.2057, allocations: 3.938 kB / 302.2 MB, free: 19.13 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.0003532/0.2061, allocations: 317.9 kB / 302.5 MB, free: 18.86 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.2061, allocations: 10.62 kB / 302.6 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.2061, allocations: 8.391 kB / 302.6 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.2063, allocations: 142.7 kB / 302.7 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.2063, allocations: 1.438 kB / 302.7 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.2063, allocations: 4.031 kB / 302.7 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.2064, allocations: 68.14 kB / 302.8 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.2064, allocations: 5.156 kB / 302.8 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.2064, allocations: 0.9688 kB / 302.8 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.2064, allocations: 2.188 kB / 302.8 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.862e-05/0.2065, allocations: 7.375 kB / 302.8 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00025/0.2067, allocations: 162.5 kB / 302.9 MB, free: 18.51 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.855e-05/0.2068, allocations: 88.44 kB / 303 MB, free: 18.44 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.157e-05/0.2068, allocations: 13.69 kB / 303 MB, free: 18.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.2068, allocations: 1.125 kB / 303 MB, free: 18.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.41e-05/0.2069, allocations: 74.52 kB / 303.1 MB, free: 18.37 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.803e-06/0.2069, allocations: 0.6875 kB / 303.1 MB, free: 18.37 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003006/0.2072, allocations: 111.9 kB / 303.2 MB, free: 18.33 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/0.2073, allocations: 53.77 kB / 303.3 MB, free: 18.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.2074, allocations: 166.8 kB / 303.4 MB, free: 18.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.2074, allocations: 26.83 kB / 303.5 MB, free: 18.12 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.021e-05/0.2074, allocations: 90.97 kB / 303.6 MB, free: 18.04 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.2074, allocations: 31.72 kB / 303.6 MB, free: 18.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.2075, allocations: 28.41 kB / 303.6 MB, free: 18.01 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.356e-05/0.2075, allocations: 326.6 kB / 303.9 MB, free: 17.69 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.946e-05/0.2075, allocations: 11.03 kB / 303.9 MB, free: 17.69 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.329e-05/0.2075, allocations: 24.88 kB / 304 MB, free: 17.67 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.926e-05/0.2076, allocations: 45.25 kB / 304 MB, free: 17.65 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2076, allocations: 0.75 kB / 304 MB, free: 17.65 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.532e-05/0.2077, allocations: 74.66 kB / 304.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.2077, allocations: 6.938 kB / 304.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.2077, allocations: 1.344 kB / 304.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.2077, allocations: 4.75 kB / 304.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.155e-05/0.2078, allocations: 14.2 kB / 304.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.2078, allocations: 1.25 kB / 304.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.129e-05/0.2078, allocations: 3.391 kB / 304.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.2078, allocations: 2.281 kB / 304.1 MB, free: 17.61 MB / 282.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.543e-05/0.2079, allocations: 116.8 kB / 304.2 MB, free: 17.49 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.755e-05/0.2079, allocations: 15.77 kB / 304.3 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.208, allocations: 77.52 kB / 304.3 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.208, allocations: 3.016 kB / 304.3 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.208, allocations: 0.5625 kB / 304.3 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.208, allocations: 3.516 kB / 304.3 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.2082, allocations: 292.8 kB / 304.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2083, allocations: 0 / 304.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.306e-05/0.2083, allocations: 13.75 kB / 304.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.2083, allocations: 6.031 kB / 304.6 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.2083, allocations: 5 kB / 304.6 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2083, allocations: 1.062 kB / 304.6 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2083, allocations: 1.25 kB / 304.6 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.2084, allocations: 220.2 kB / 304.9 MB, free: 17.01 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.573e-05/0.2084, allocations: 8.281 kB / 304.9 MB, free: 17.01 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.2084, allocations: 2.719 kB / 304.9 MB, free: 17.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.189e-05/0.2085, allocations: 3.641 kB / 304.9 MB, free: 17.01 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.2085, allocations: 8.734 kB / 304.9 MB, free: 17.01 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.2085, allocations: 3.75 kB / 304.9 MB, free: 17.01 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.286e-05/0.2086, allocations: 48.8 kB / 304.9 MB, free: 16.99 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2086, allocations: 0 / 304.9 MB, free: 16.99 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001713/0.2088, allocations: 27.28 kB / 305 MB, free: 16.99 MB / 282.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.001225/0.21, allocations: 0.5689 MB / 305.5 MB, free: 16.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001172/0.2101, allocations: 44.92 kB / 305.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.2101, allocations: 1.125 kB / 305.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.699e-05/0.2101, allocations: 29.52 kB / 305.6 MB, free: 16.65 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.2103, allocations: 36.28 kB / 305.6 MB, free: 16.64 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003164/0.2107, allocations: 208.4 kB / 305.8 MB, free: 16.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.537e-05/0.2107, allocations: 67.38 kB / 305.9 MB, free: 16.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.233e-05/0.2107, allocations: 17.38 kB / 305.9 MB, free: 16.4 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.365e-05/0.2108, allocations: 66.55 kB / 306 MB, free: 16.36 MB / 282.7 MB Notification: Performance of SimCode: time 1.162e-06/0.2108, allocations: 1.219 kB / 306 MB, free: 16.36 MB / 282.7 MB Notification: Performance of Templates: time 0.004708/0.2155, allocations: 2.003 MB / 308 MB, free: 16.11 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.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: 3.0576071520335972]