Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.0008811/0.0008811, allocations: 87.62 kB / 21.43 MB, free: 3.129 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.004867/0.004867, allocations: 163.6 kB / 24.7 MB, free: 9.426 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.9058/0.9058, allocations: 177.1 MB / 205 MB, free: 5.738 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.269/0.269, allocations: 32.78 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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 440.9 MB, free: 3.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.301e-05/3.501e-05, allocations: 4.109 kB / 440.9 MB, free: 3.656 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.00429/0.004325, allocations: 2.179 MB / 443.1 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002458/0.006782, allocations: 1.265 MB / 444.4 MB, free: 192 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002448/0.007027, allocations: 7.938 kB / 444.4 MB, free: 184 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004793/0.007507, allocations: 131.3 kB / 444.5 MB, free: 52 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.2052/0.2127, allocations: 246.3 kB / 444.8 MB, free: 43.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004409/0.2132, allocations: 189.1 kB / 444.9 MB, free: 43.8 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003446/0.2135, allocations: 479.2 kB / 445.4 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.2137, allocations: 36.38 kB / 445.4 MB, free: 43.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002634/0.2139, allocations: 356 kB / 445.8 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.214, allocations: 133.1 kB / 445.9 MB, free: 43.69 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.2141, allocations: 20.25 kB / 445.9 MB, free: 43.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.2142, allocations: 72.78 kB / 446 MB, free: 43.69 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.112e-05/0.2143, allocations: 140.4 kB / 446.2 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.705e-05/0.2143, allocations: 94.72 kB / 446.2 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003252/0.2147, allocations: 429.8 kB / 446.7 MB, free: 43.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2147, allocations: 0 / 446.7 MB, free: 43.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.2147, allocations: 3.656 kB / 446.7 MB, free: 43.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.2147, allocations: 0 / 446.7 MB, free: 43.58 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006117/0.2153, allocations: 0.7608 MB / 447.4 MB, free: 43.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.2153, allocations: 16.03 kB / 447.4 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.155e-05/0.2154, allocations: 64.08 kB / 447.5 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.2157, allocations: 347.2 kB / 447.8 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.2157, allocations: 12.47 kB / 447.9 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.2157, allocations: 15.81 kB / 447.9 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.216, allocations: 203.1 kB / 448.1 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.216, allocations: 6.609 kB / 448.1 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.216, allocations: 7.312 kB / 448.1 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.216, allocations: 12.17 kB / 448.1 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.2161, allocations: 99.38 kB / 448.2 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000478/0.2166, allocations: 0.7187 MB / 448.9 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003547/0.217, allocations: 240.2 kB / 449.2 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.309e-05/0.2171, allocations: 91.58 kB / 449.2 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.2171, allocations: 2.938 kB / 449.2 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/0.2173, allocations: 210.1 kB / 449.4 MB, free: 42.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.262e-06/0.2173, allocations: 0 / 449.4 MB, free: 42.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.001257/0.2185, allocations: 1.171 MB / 450.6 MB, free: 41.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.2186, allocations: 134.2 kB / 450.8 MB, free: 41.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004611/0.219, allocations: 0.8057 MB / 451.6 MB, free: 41.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.219, allocations: 39.39 kB / 451.6 MB, free: 41.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.453e-05/0.2191, allocations: 253.1 kB / 451.8 MB, free: 40.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.792e-05/0.2192, allocations: 150.1 kB / 452 MB, free: 40.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.095e-05/0.2193, allocations: 76.22 kB / 452.1 MB, free: 40.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.627e-05/0.2193, allocations: 378.3 kB / 452.4 MB, free: 40.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.2194, allocations: 117.6 kB / 452.5 MB, free: 40.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.2196, allocations: 198.8 kB / 452.7 MB, free: 40.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.2199, allocations: 323.4 kB / 453.1 MB, free: 40.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2199, allocations: 6.781 kB / 453.1 MB, free: 40.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003951/0.2203, allocations: 463.5 kB / 453.5 MB, free: 39.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.2203, allocations: 6.438 kB / 453.5 MB, free: 39.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2203, allocations: 0 / 453.5 MB, free: 39.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.2203, allocations: 6.031 kB / 453.5 MB, free: 39.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.2204, allocations: 83.03 kB / 453.6 MB, free: 39.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.2205, allocations: 6.375 kB / 453.6 MB, free: 39.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.254e-05/0.2205, allocations: 20.33 kB / 453.6 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.2206, allocations: 19.42 kB / 453.7 MB, free: 39.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0001397/0.2207, allocations: 237.1 kB / 453.9 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/0.2207, allocations: 73.95 kB / 454 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005011/0.2212, allocations: 0.523 MB / 454.5 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.2212, allocations: 9.781 kB / 454.5 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2212, allocations: 0 / 454.5 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.2213, allocations: 0 / 454.5 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008277/0.2221, allocations: 1.248 MB / 455.7 MB, free: 38.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.2221, allocations: 7.062 kB / 455.7 MB, free: 38.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.091e-05/0.2222, allocations: 64.66 kB / 455.8 MB, free: 38.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.2222, allocations: 3.188 kB / 455.8 MB, free: 38.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.2222, allocations: 20.67 kB / 455.8 MB, free: 38.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.2222, allocations: 3.062 kB / 455.8 MB, free: 38.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2222, allocations: 6.531 kB / 455.8 MB, free: 38.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000454/0.2227, allocations: 0.8186 MB / 456.7 MB, free: 38.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.411e-05/0.2228, allocations: 108.9 kB / 456.8 MB, free: 38.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.895e-05/0.2228, allocations: 14.59 kB / 456.8 MB, free: 38.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.2229, allocations: 17.69 kB / 456.8 MB, free: 38.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/0.223, allocations: 50.53 kB / 456.8 MB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.223, allocations: 23.2 kB / 456.9 MB, free: 38.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003405/0.2234, allocations: 0.5915 MB / 457.5 MB, free: 37.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2234, allocations: 0 / 457.5 MB, free: 37.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003241/0.2237, allocations: 101.8 kB / 457.6 MB, free: 37.86 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.000917/0.2246, allocations: 0.5773 MB / 458.1 MB, free: 37.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003467/0.225, allocations: 312.7 kB / 458.4 MB, free: 37.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.225, allocations: 3.938 kB / 458.4 MB, free: 37.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.2251, allocations: 164.3 kB / 458.6 MB, free: 37.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005577/0.2257, allocations: 122 kB / 458.7 MB, free: 37.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009421/0.2266, allocations: 1.127 MB / 459.9 MB, free: 36.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/0.2268, allocations: 286.7 kB / 460.1 MB, free: 36.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.85e-05/0.2269, allocations: 59.52 kB / 460.2 MB, free: 36.75 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2269, allocations: 4 kB / 460.2 MB, free: 36.75 MB / 410.7 MB Notification: Performance of Templates: time 0.005177/0.232, allocations: 6.724 MB / 466.9 MB, free: 35.88 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.622357236221433]