Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.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.001454/0.001454, allocations: 91.31 kB / 20.42 MB, free: 4.152 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.001681/0.001681, allocations: 161 kB / 23.79 MB, free: 0.7891 MB / 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.9174/0.9174, allocations: 158.6 MB / 185.7 MB, free: 2.934 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.12/0.12, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.CombiTable1D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31") translateModel(ModelicaTest.Tables.CombiTable1D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.034e-05, allocations: 2.312 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test31): time 0.001947/0.001967, allocations: 1.606 MB / 349.3 MB, free: 7.828 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004755/0.002442, allocations: 331.4 kB / 349.6 MB, free: 7.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.572e-05/0.002498, allocations: 4 kB / 349.6 MB, free: 7.496 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000295/0.002793, allocations: 119.6 kB / 349.7 MB, free: 7.379 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.00296, allocations: 87.64 kB / 349.8 MB, free: 7.293 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.003162, allocations: 87.75 kB / 349.9 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.003315, allocations: 95.73 kB / 350 MB, free: 7.113 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.709e-05/0.003412, allocations: 7.984 kB / 350 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.016e-05/0.003472, allocations: 51.88 kB / 350 MB, free: 7.055 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.003577, allocations: 83.83 kB / 350.1 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.003593, allocations: 4 kB / 350.1 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.096e-05/0.003654, allocations: 27.92 kB / 350.2 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.651e-05/0.003701, allocations: 27.91 kB / 350.2 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.816e-05/0.003729, allocations: 15.94 kB / 350.2 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.00387, allocations: 83.67 kB / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.003873, allocations: 4 kB / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.003874, allocations: 0 / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.003878, allocations: 0 / 350.3 MB, free: 6.812 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003584/0.004236, allocations: 451.8 kB / 350.7 MB, free: 6.336 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.004275, allocations: 8.031 kB / 350.7 MB, free: 6.328 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.00432, allocations: 20.84 kB / 350.8 MB, free: 6.309 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.004437, allocations: 148.2 kB / 350.9 MB, free: 6.137 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.004447, allocations: 4.375 kB / 350.9 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.00447, allocations: 384 / 350.9 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.004594, allocations: 58.94 kB / 351 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.004604, allocations: 4.188 kB / 351 MB, free: 6.062 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.004616, allocations: 4.125 kB / 351 MB, free: 6.059 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.004625, allocations: 4 kB / 351 MB, free: 6.055 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.108e-05/0.004657, allocations: 7.938 kB / 351 MB, free: 6.047 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002953/0.004952, allocations: 299.8 kB / 351.3 MB, free: 5.719 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.00513, allocations: 46.98 kB / 351.3 MB, free: 5.66 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.158e-05/0.005151, allocations: 11.69 kB / 351.3 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.005181, allocations: 7.922 kB / 351.3 MB, free: 5.637 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.005198, allocations: 41.33 kB / 351.4 MB, free: 5.586 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.005199, allocations: 0 / 351.4 MB, free: 5.586 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003243/0.005524, allocations: 109.5 kB / 351.5 MB, free: 5.473 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.005546, allocations: 55.41 kB / 351.5 MB, free: 5.406 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.005667, allocations: 265.7 kB / 351.8 MB, free: 5.129 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.111e-06/0.005673, allocations: 25.7 kB / 351.8 MB, free: 5.098 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.605e-05/0.005719, allocations: 162.9 kB / 352 MB, free: 4.934 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.005739, allocations: 19.8 kB / 352 MB, free: 4.914 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/0.005766, allocations: 23.38 kB / 352 MB, free: 4.883 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.569e-05/0.005832, allocations: 0.5001 MB / 352.5 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.847e-05/0.00585, allocations: 7.984 kB / 352.5 MB, free: 4.363 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.317e-05/0.005863, allocations: 4 kB / 352.5 MB, free: 4.359 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.543e-05/0.005899, allocations: 31.88 kB / 352.6 MB, free: 4.324 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.0059, allocations: 4 kB / 352.6 MB, free: 4.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.62e-05/0.005966, allocations: 73.47 kB / 352.6 MB, free: 4.242 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.005977, allocations: 4 kB / 352.6 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.005983, allocations: 0 / 352.6 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.006002, allocations: 0 / 352.6 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.244e-05/0.006045, allocations: 12 kB / 352.7 MB, free: 4.227 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.006051, allocations: 3.984 kB / 352.7 MB, free: 4.223 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.659e-05/0.006068, allocations: 0 / 352.7 MB, free: 4.223 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.006074, allocations: 4 kB / 352.7 MB, free: 4.219 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.81e-05/0.006132, allocations: 160.6 kB / 352.8 MB, free: 4.051 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.006152, allocations: 15.89 kB / 352.8 MB, free: 4.035 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.006264, allocations: 78.72 kB / 352.9 MB, free: 3.949 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.006267, allocations: 0 / 352.9 MB, free: 3.949 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.006271, allocations: 0 / 352.9 MB, free: 3.949 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.006275, allocations: 0 / 352.9 MB, free: 3.949 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.006487, allocations: 337.4 kB / 353.2 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.006488, allocations: 0 / 353.2 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.506e-05/0.006513, allocations: 11.98 kB / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.006515, allocations: 0 / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.006523, allocations: 11.94 kB / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.006525, allocations: 3.938 kB / 353.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.006526, allocations: 192 / 353.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.769e-05/0.006604, allocations: 219.8 kB / 353.5 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.157e-06/0.006613, allocations: 7.953 kB / 353.5 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.006624, allocations: 0 / 353.5 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.873e-05/0.006653, allocations: 0 / 353.5 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.006693, allocations: 11.98 kB / 353.5 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.006696, allocations: 0 / 353.5 MB, free: 3.297 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.268e-05/0.006758, allocations: 192.2 kB / 353.7 MB, free: 3.109 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006758, allocations: 0 / 353.7 MB, free: 3.109 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000159/0.006917, allocations: 19.94 kB / 353.7 MB, free: 3.09 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0007772/0.007694, allocations: 377.6 kB / 354.1 MB, free: 2.812 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.007805, allocations: 39.61 kB / 354.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.007807, allocations: 0 / 354.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.004e-05/0.007827, allocations: 15.69 kB / 354.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.008047, allocations: 25.17 kB / 354.2 MB, free: 2.727 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/0.008404, allocations: 222.8 kB / 354.4 MB, free: 2.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.153e-05/0.008435, allocations: 75.27 kB / 354.5 MB, free: 2.387 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.051e-05/0.008466, allocations: 15.97 kB / 354.5 MB, free: 2.371 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.853e-05/0.008495, allocations: 16.5 kB / 354.5 MB, free: 2.355 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.008495, allocations: 0 / 354.5 MB, free: 2.355 MB / 282.7 MB Notification: Performance of Templates: time 0.002907/0.0114, allocations: 1.183 MB / 355.7 MB, free: 1.184 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test31/Test31.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.293767074123025]