Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.001164/0.001164, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001812/0.002976, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001149/0.001149, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001078/0.002228, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.8893/0.8893, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1814/1.071, allocations: 49.5 MB / 220.5 MB, free: 5.277 MB / 218.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.1288/0.1288, allocations: 32.34 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02152/0.1503, allocations: 12.29 MB / 265.9 MB, free: 7.84 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.CombiTable2D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31") translateModel(ModelicaTest.Tables.CombiTable2D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 267.2 MB, free: 6.539 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.413e-05/3.602e-05, allocations: 6.25 kB / 267.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test31): time 0.00256/0.002596, allocations: 1.689 MB / 268.9 MB, free: 4.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.003846, allocations: 1.091 MB / 270 MB, free: 3.723 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.613e-05/0.003902, allocations: 0 / 270 MB, free: 3.723 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001535/0.004056, allocations: 23.8 kB / 270 MB, free: 3.699 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.00423, allocations: 47.66 kB / 270.1 MB, free: 3.652 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.004485, allocations: 99.78 kB / 270.2 MB, free: 3.555 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.00462, allocations: 63.77 kB / 270.2 MB, free: 3.492 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.5e-05/0.004715, allocations: 20.11 kB / 270.3 MB, free: 3.473 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.424e-05/0.00481, allocations: 47.86 kB / 270.3 MB, free: 3.426 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.928e-05/0.004909, allocations: 27.89 kB / 270.3 MB, free: 3.398 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.004929, allocations: 4 kB / 270.3 MB, free: 3.395 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.005065, allocations: 47.92 kB / 270.4 MB, free: 3.348 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.031e-05/0.005116, allocations: 19.92 kB / 270.4 MB, free: 3.328 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.915e-05/0.005135, allocations: 8 kB / 270.4 MB, free: 3.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.005299, allocations: 75.73 kB / 270.5 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.689e-05/0.005316, allocations: 0 / 270.5 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005317, allocations: 0 / 270.5 MB, free: 3.246 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.742e-05/0.005334, allocations: 0 / 270.5 MB, free: 3.246 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004239/0.005758, allocations: 312 kB / 270.8 MB, free: 2.918 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.005789, allocations: 8.031 kB / 270.8 MB, free: 2.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.005822, allocations: 12.92 kB / 270.8 MB, free: 2.898 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.005955, allocations: 121.7 kB / 270.9 MB, free: 2.754 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.005965, allocations: 4.375 kB / 270.9 MB, free: 2.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.005983, allocations: 4.375 kB / 270.9 MB, free: 2.746 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.006112, allocations: 106.3 kB / 271 MB, free: 2.621 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.006121, allocations: 192 / 271 MB, free: 2.621 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.006131, allocations: 7.938 kB / 271 MB, free: 2.613 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.006137, allocations: 4 kB / 271 MB, free: 2.609 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.548e-05/0.006162, allocations: 4 kB / 271 MB, free: 2.605 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002182/0.00638, allocations: 172.2 kB / 271.2 MB, free: 2.422 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.806e-05/0.006438, allocations: 30.52 kB / 271.2 MB, free: 2.383 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.554e-05/0.006454, allocations: 8.859 kB / 271.3 MB, free: 2.371 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.006476, allocations: 0 / 271.3 MB, free: 2.371 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.006501, allocations: 38.5 kB / 271.3 MB, free: 2.324 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.006502, allocations: 0 / 271.3 MB, free: 2.324 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003022/0.006805, allocations: 98.02 kB / 271.4 MB, free: 2.223 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.006835, allocations: 59.41 kB / 271.4 MB, free: 2.152 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.457e-05/0.006919, allocations: 130.7 kB / 271.6 MB, free: 2.012 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.006931, allocations: 25.7 kB / 271.6 MB, free: 1.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.139e-05/0.006962, allocations: 92.03 kB / 271.7 MB, free: 1.887 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.006984, allocations: 27.83 kB / 271.7 MB, free: 1.859 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/0.007011, allocations: 17.72 kB / 271.7 MB, free: 1.836 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.262e-05/0.007094, allocations: 322.8 kB / 272 MB, free: 1.512 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.112e-05/0.007105, allocations: 4 kB / 272.1 MB, free: 1.508 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.451e-05/0.007139, allocations: 51.36 kB / 272.1 MB, free: 1.445 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.016e-05/0.007169, allocations: 32.75 kB / 272.1 MB, free: 1.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.007172, allocations: 12.03 kB / 272.1 MB, free: 1.398 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.925e-05/0.007231, allocations: 53.61 kB / 272.2 MB, free: 1.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.007244, allocations: 8 kB / 272.2 MB, free: 1.332 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.007247, allocations: 0 / 272.2 MB, free: 1.332 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.375e-06/0.007256, allocations: 0 / 272.2 MB, free: 1.332 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.755e-05/0.007333, allocations: 15.98 kB / 272.2 MB, free: 1.316 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/0.007336, allocations: 0 / 272.2 MB, free: 1.316 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.975e-05/0.007356, allocations: 4 kB / 272.2 MB, free: 1.312 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.007363, allocations: 8 kB / 272.2 MB, free: 1.305 MB / 266.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 (7): * Single equations (assignments): 7 * 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 6.361e-05/0.007426, allocations: 116.6 kB / 272.3 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.773e-05/0.007444, allocations: 11.94 kB / 272.4 MB, free: 1.168 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.847e-05/0.007532, allocations: 70.09 kB / 272.4 MB, free: 1.098 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.007535, allocations: 0 / 272.4 MB, free: 1.098 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.007537, allocations: 0 / 272.4 MB, free: 1.098 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.00754, allocations: 0 / 272.4 MB, free: 1.098 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.007732, allocations: 227 kB / 272.6 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.007733, allocations: 0 / 272.6 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.728e-05/0.00777, allocations: 16 kB / 272.7 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-06/0.007776, allocations: 0 / 272.7 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.00778, allocations: 7.984 kB / 272.7 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.007786, allocations: 8 kB / 272.7 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.007787, allocations: 0 / 272.7 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.007788, allocations: 80 / 272.7 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.593e-05/0.007864, allocations: 155.4 kB / 272.8 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.007875, allocations: 7.984 kB / 272.8 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.364e-05/0.007909, allocations: 8 kB / 272.8 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.652e-05/0.007936, allocations: 3.984 kB / 272.9 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.007938, allocations: 0 / 272.9 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.981e-05/0.007958, allocations: 24.83 kB / 272.9 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007958, allocations: 0 / 272.9 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001389/0.008097, allocations: 31.88 kB / 272.9 MB, free: 0.5742 MB / 266.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 (7): * Single equations (assignments): 7 * 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.001226/0.009323, allocations: 0.6094 MB / 273.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.001e-05/0.009413, allocations: 24.86 kB / 273.5 MB, free: 15.92 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.00942, allocations: 3.938 kB / 273.5 MB, free: 15.92 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.978e-05/0.00944, allocations: 20.84 kB / 273.6 MB, free: 15.89 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.009598, allocations: 35.88 kB / 273.6 MB, free: 15.86 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004104/0.01001, allocations: 183.8 kB / 273.8 MB, free: 15.65 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.517e-05/0.01004, allocations: 63.34 kB / 273.8 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.074e-05/0.01008, allocations: 12.3 kB / 273.9 MB, free: 15.56 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.902e-05/0.01014, allocations: 71.36 kB / 273.9 MB, free: 15.49 MB / 282.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01014, allocations: 0 / 273.9 MB, free: 15.49 MB / 282.7 MB Notification: Performance of Templates: time 0.003188/0.01333, allocations: 1.673 MB / 275.6 MB, free: 13.82 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/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: 2.846684512682259]