Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.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.0009048/0.0009048, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.0009791/0.0009791, allocations: 169 kB / 24.25 MB, free: 312 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 1.033/1.033, allocations: 158.6 MB / 186 MB, free: 2.898 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.1308/0.1308, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.CombiTable1Ds.Test21,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.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 347.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.003e-05/3.167e-05, allocations: 4.281 kB / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002641/0.002673, allocations: 1.607 MB / 349.3 MB, free: 8.152 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009899/0.003663, allocations: 1.048 MB / 350.3 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.799e-05/0.003721, allocations: 0 / 350.3 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.003962, allocations: 23.8 kB / 350.3 MB, free: 7.074 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.004152, allocations: 47.72 kB / 350.4 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.004321, allocations: 71.77 kB / 350.5 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000113/0.004434, allocations: 55.78 kB / 350.5 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.123e-05/0.004526, allocations: 11.98 kB / 350.5 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.84e-05/0.004574, allocations: 35.91 kB / 350.6 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.649e-05/0.004661, allocations: 19.92 kB / 350.6 MB, free: 6.836 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.004681, allocations: 4 kB / 350.6 MB, free: 6.832 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.314e-05/0.004774, allocations: 47.91 kB / 350.6 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.984e-05/0.004814, allocations: 7.984 kB / 350.6 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.711e-05/0.004841, allocations: 15.94 kB / 350.7 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.005003, allocations: 79.66 kB / 350.7 MB, free: 6.684 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.005006, allocations: 0 / 350.7 MB, free: 6.684 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.005007, allocations: 0 / 350.7 MB, free: 6.684 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.005012, allocations: 4 kB / 350.7 MB, free: 6.68 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.0003529/0.005365, allocations: 408.2 kB / 351.1 MB, free: 6.246 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.005411, allocations: 16.03 kB / 351.2 MB, free: 6.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.005458, allocations: 8.938 kB / 351.2 MB, free: 6.223 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.005607, allocations: 132.5 kB / 351.3 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.005618, allocations: 384 / 351.3 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.005644, allocations: 8.312 kB / 351.3 MB, free: 6.059 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.0058, allocations: 96.03 kB / 351.4 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.005809, allocations: 192 / 351.4 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.005819, allocations: 8.125 kB / 351.4 MB, free: 5.934 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.005827, allocations: 0 / 351.4 MB, free: 5.934 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.011e-05/0.005857, allocations: 11.98 kB / 351.4 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000286/0.006143, allocations: 267.8 kB / 351.7 MB, free: 5.625 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.006288, allocations: 39.05 kB / 351.7 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.937e-05/0.006308, allocations: 15.69 kB / 351.7 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.006327, allocations: 8.016 kB / 351.7 MB, free: 5.547 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.006344, allocations: 33.39 kB / 351.8 MB, free: 5.504 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.006345, allocations: 3.984 kB / 351.8 MB, free: 5.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003047/0.00665, allocations: 97.47 kB / 351.9 MB, free: 5.398 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.006676, allocations: 77.11 kB / 351.9 MB, free: 5.305 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.928e-05/0.006755, allocations: 188.7 kB / 352.1 MB, free: 5.105 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.06e-06/0.00676, allocations: 25.7 kB / 352.2 MB, free: 5.074 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.755e-05/0.006788, allocations: 138.9 kB / 352.3 MB, free: 4.934 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.006806, allocations: 27.81 kB / 352.3 MB, free: 4.906 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/0.006831, allocations: 23.38 kB / 352.3 MB, free: 4.875 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.995e-05/0.006871, allocations: 492.1 kB / 352.8 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.623e-05/0.006887, allocations: 15.92 kB / 352.8 MB, free: 4.367 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.476e-05/0.006912, allocations: 49.27 kB / 352.9 MB, free: 4.305 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.905e-05/0.006941, allocations: 23.69 kB / 352.9 MB, free: 4.277 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.006942, allocations: 4 kB / 352.9 MB, free: 4.273 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.438e-05/0.007006, allocations: 61.58 kB / 353 MB, free: 4.207 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.007018, allocations: 4 kB / 353 MB, free: 4.203 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.007023, allocations: 4.031 kB / 353 MB, free: 4.199 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.007035, allocations: 4 kB / 353 MB, free: 4.195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.238e-05/0.007077, allocations: 19.86 kB / 353 MB, free: 4.176 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.007082, allocations: 0 / 353 MB, free: 4.176 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.743e-05/0.0071, allocations: 4 kB / 353 MB, free: 4.172 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.007104, allocations: 0 / 353 MB, free: 4.172 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 4.282e-05/0.007147, allocations: 156.6 kB / 353.2 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.007163, allocations: 15.89 kB / 353.2 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.183e-05/0.007255, allocations: 61.8 kB / 353.2 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.007258, allocations: 0 / 353.2 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.007261, allocations: 4 kB / 353.2 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.007265, allocations: 0 / 353.2 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.007456, allocations: 317.4 kB / 353.6 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.007457, allocations: 3.984 kB / 353.6 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.478e-05/0.007482, allocations: 12.19 kB / 353.6 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.007484, allocations: 0 / 353.6 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.007491, allocations: 4 kB / 353.6 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.007492, allocations: 0 / 353.6 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.007493, allocations: 0 / 353.6 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.812e-05/0.007581, allocations: 211.8 kB / 353.8 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-06/0.007588, allocations: 7.953 kB / 353.8 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.007599, allocations: 4 kB / 353.8 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.935e-05/0.007628, allocations: 7.984 kB / 353.8 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.007667, allocations: 4 kB / 353.8 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.007671, allocations: 4 kB / 353.8 MB, free: 3.301 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.228e-05/0.007713, allocations: 147.2 kB / 353.9 MB, free: 3.156 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007713, allocations: 0 / 353.9 MB, free: 3.156 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001857/0.007899, allocations: 19.94 kB / 354 MB, free: 3.137 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.0008929/0.008792, allocations: 435.4 kB / 354.4 MB, free: 2.805 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.746e-05/0.008889, allocations: 31.61 kB / 354.4 MB, free: 2.77 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.008891, allocations: 4 kB / 354.4 MB, free: 2.766 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.981e-05/0.00891, allocations: 19.69 kB / 354.4 MB, free: 2.742 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.009114, allocations: 20.17 kB / 354.5 MB, free: 2.723 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002745/0.009388, allocations: 158 kB / 354.6 MB, free: 2.539 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.485e-05/0.009413, allocations: 59.34 kB / 354.7 MB, free: 2.461 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.389e-05/0.009447, allocations: 8 kB / 354.7 MB, free: 2.453 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.009483, allocations: 16.48 kB / 354.7 MB, free: 2.438 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.009483, allocations: 4 kB / 354.7 MB, free: 2.434 MB / 282.7 MB Notification: Performance of Templates: time 0.002987/0.01247, allocations: 1.429 MB / 356.1 MB, free: 1.012 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.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.3003105658572167]