Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001154/0.001154, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001665/0.002819, allocations: 449.7 kB / 10.37 MB, free: 328 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.001112/0.001112, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001408/0.00252, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9901/0.9901, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09559/1.086, allocations: 53.65 MB / 243.3 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2586/0.2586, allocations: 34.25 MB / 278.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02301/0.2816, allocations: 13.1 MB / 291.3 MB, free: 7.383 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 292.7 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.78e-05/1.928e-05, allocations: 5.828 kB / 292.7 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.002249/0.002268, allocations: 1.748 MB / 294.4 MB, free: 4.523 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006589/0.002927, allocations: 0.5646 MB / 295 MB, free: 3.953 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.574e-05/0.002973, allocations: 0 / 295 MB, free: 3.953 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003791/0.003352, allocations: 499 kB / 295.5 MB, free: 3.465 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002867/0.003638, allocations: 311.1 kB / 295.8 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.003852, allocations: 127.6 kB / 295.9 MB, free: 3.035 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.004015, allocations: 175.6 kB / 296.1 MB, free: 2.863 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.64e-05/0.004092, allocations: 8 kB / 296.1 MB, free: 2.855 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.00424, allocations: 163.7 kB / 296.2 MB, free: 2.695 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.004405, allocations: 195.6 kB / 296.4 MB, free: 2.504 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.004421, allocations: 8 kB / 296.4 MB, free: 2.496 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.511e-05/0.004506, allocations: 51.86 kB / 296.5 MB, free: 2.445 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.005e-05/0.004586, allocations: 79.72 kB / 296.6 MB, free: 2.367 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.542e-05/0.004622, allocations: 35.75 kB / 296.6 MB, free: 2.332 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.004821, allocations: 211.1 kB / 296.8 MB, free: 2.125 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.517e-05/0.004836, allocations: 0 / 296.8 MB, free: 2.125 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.004837, allocations: 0 / 296.8 MB, free: 2.125 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.004852, allocations: 0 / 296.8 MB, free: 2.125 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005356/0.005388, allocations: 0.6082 MB / 297.4 MB, free: 1.492 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.831e-05/0.005416, allocations: 8.031 kB / 297.4 MB, free: 1.484 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.005452, allocations: 24.91 kB / 297.4 MB, free: 1.461 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.005621, allocations: 250.1 kB / 297.7 MB, free: 1.188 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.00563, allocations: 384 / 297.7 MB, free: 1.188 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.005647, allocations: 8.328 kB / 297.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.919e-05/0.005737, allocations: 54.95 kB / 297.7 MB, free: 1.117 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.005746, allocations: 12.06 kB / 297.8 MB, free: 1.105 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.005754, allocations: 8.109 kB / 297.8 MB, free: 1.098 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.005759, allocations: 0 / 297.8 MB, free: 1.098 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.631e-05/0.005785, allocations: 12 kB / 297.8 MB, free: 1.086 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001976/0.005983, allocations: 164.3 kB / 297.9 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.05e-05/0.006033, allocations: 30.59 kB / 298 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.142e-05/0.006045, allocations: 12.86 kB / 298 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.006065, allocations: 7.938 kB / 298 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.006087, allocations: 34.56 kB / 298 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.006087, allocations: 0 / 298 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004269/0.006514, allocations: 165.5 kB / 298.2 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.006545, allocations: 59.39 kB / 298.2 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000316/0.006861, allocations: 0.5205 MB / 298.8 MB, free: 32 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.006882, allocations: 33.64 kB / 298.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.444e-05/0.006957, allocations: 145.3 kB / 298.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.006978, allocations: 27.73 kB / 299 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.007006, allocations: 21.7 kB / 299 MB, free: 15.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.007122, allocations: 358.6 kB / 299.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.309e-05/0.007135, allocations: 8 kB / 299.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.253e-05/0.007148, allocations: 12.05 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.345e-05/0.007181, allocations: 28.83 kB / 299.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.007182, allocations: 0 / 299.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.904e-05/0.007251, allocations: 73.66 kB / 299.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.007262, allocations: 4 kB / 299.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.007266, allocations: 0 / 299.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.007275, allocations: 4 kB / 299.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.814e-05/0.007343, allocations: 23.92 kB / 299.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.007345, allocations: 0 / 299.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.397e-05/0.007369, allocations: 4 kB / 299.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.007374, allocations: 0 / 299.5 MB, free: 15.27 MB / 298.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 (8): * Single equations (assignments): 8 * 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.745e-05/0.007442, allocations: 116.6 kB / 299.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.007467, allocations: 24.39 kB / 299.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.007589, allocations: 101.5 kB / 299.7 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.007592, allocations: 8 kB / 299.7 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.007594, allocations: 0 / 299.7 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.007598, allocations: 7.922 kB / 299.7 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.007857, allocations: 307.4 kB / 300 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.007859, allocations: 0 / 300 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.49e-05/0.007904, allocations: 19.98 kB / 300.1 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.203e-05/0.007926, allocations: 31.72 kB / 300.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.007929, allocations: 4 kB / 300.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-06/0.007933, allocations: 0 / 300.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.007935, allocations: 0 / 300.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.007936, allocations: 4.031 kB / 300.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.008112, allocations: 188.6 kB / 300.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.008128, allocations: 3.984 kB / 300.3 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.916e-05/0.008167, allocations: 8 kB / 300.3 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.008194, allocations: 7.984 kB / 300.3 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.008198, allocations: 0 / 300.3 MB, free: 14.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001739/0.008372, allocations: 287.2 kB / 300.6 MB, free: 14.11 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008372, allocations: 0 / 300.6 MB, free: 14.11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001433/0.008515, allocations: 27.94 kB / 300.6 MB, free: 14.08 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001485/0.01, allocations: 0.6263 MB / 301.2 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.098e-05/0.01009, allocations: 36.77 kB / 301.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/0.0101, allocations: 4 kB / 301.3 MB, free: 13.76 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.516e-05/0.01013, allocations: 28.78 kB / 301.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.01035, allocations: 41.89 kB / 301.3 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007116/0.01106, allocations: 0.6033 MB / 301.9 MB, free: 13.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.789e-05/0.01113, allocations: 119.2 kB / 302.1 MB, free: 12.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.074e-05/0.01117, allocations: 13.03 kB / 302.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.01122, allocations: 63.36 kB / 302.1 MB, free: 12.84 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01123, allocations: 4 kB / 302.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of Templates: time 0.003933/0.01516, allocations: 1.736 MB / 303.9 MB, free: 11.11 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.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.8660192945972085]