Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.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.001072/0.001072, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001026/0.001026, allocations: 169 kB / 23.8 MB, free: 0.7773 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.919/0.919, allocations: 158.6 MB / 185.7 MB, free: 2.91 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.1334/0.1334, allocations: 32.38 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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 3.938 kB / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.749e-05/4.028e-05, allocations: 6.25 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002804/0.002845, allocations: 1.644 MB / 349.3 MB, free: 7.785 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005638/0.003409, allocations: 347.3 kB / 349.7 MB, free: 7.441 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.515e-05/0.003474, allocations: 0 / 349.7 MB, free: 7.441 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004451/0.003919, allocations: 459.1 kB / 350.1 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002273/0.004146, allocations: 263.4 kB / 350.4 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.004377, allocations: 143.6 kB / 350.5 MB, free: 6.594 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.00453, allocations: 167.7 kB / 350.7 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.623e-05/0.004626, allocations: 16.17 kB / 350.7 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.171e-05/0.004708, allocations: 115.8 kB / 350.8 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.004855, allocations: 239.5 kB / 351 MB, free: 6.066 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.00488, allocations: 4 kB / 351 MB, free: 6.062 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.982e-05/0.00495, allocations: 35.92 kB / 351.1 MB, free: 6.027 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.22e-05/0.005022, allocations: 87.64 kB / 351.2 MB, free: 5.941 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.005056, allocations: 39.73 kB / 351.2 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.005246, allocations: 195.2 kB / 351.4 MB, free: 5.711 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.005248, allocations: 0 / 351.4 MB, free: 5.711 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.005249, allocations: 0 / 351.4 MB, free: 5.711 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.005255, allocations: 0 / 351.4 MB, free: 5.711 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004242/0.005679, allocations: 0.6854 MB / 352.1 MB, free: 4.988 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.005726, allocations: 8.031 kB / 352.1 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.294e-05/0.005779, allocations: 52.61 kB / 352.1 MB, free: 4.93 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.006038, allocations: 240.9 kB / 352.4 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.00605, allocations: 4.359 kB / 352.4 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.006083, allocations: 4.375 kB / 352.4 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.006224, allocations: 58.95 kB / 352.4 MB, free: 4.594 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.006236, allocations: 192 / 352.4 MB, free: 4.594 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.006251, allocations: 7.938 kB / 352.4 MB, free: 4.586 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.006262, allocations: 3.938 kB / 352.4 MB, free: 4.582 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.452e-05/0.006296, allocations: 11.92 kB / 352.5 MB, free: 4.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/0.006678, allocations: 423.7 kB / 352.9 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.00687, allocations: 46.98 kB / 352.9 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.375e-05/0.006894, allocations: 11.62 kB / 352.9 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.006922, allocations: 4.094 kB / 352.9 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.006943, allocations: 37.38 kB / 353 MB, free: 3.996 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.006944, allocations: 4 kB / 353 MB, free: 3.992 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004222/0.007366, allocations: 184.7 kB / 353.1 MB, free: 3.805 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.007395, allocations: 55.41 kB / 353.2 MB, free: 3.738 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000362/0.007757, allocations: 0.6199 MB / 353.8 MB, free: 3.102 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.007765, allocations: 25.7 kB / 353.8 MB, free: 3.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.007884, allocations: 282.8 kB / 354.1 MB, free: 2.789 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.007908, allocations: 19.83 kB / 354.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.007939, allocations: 23.38 kB / 354.2 MB, free: 2.738 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.217e-05/0.008031, allocations: 0.5547 MB / 354.7 MB, free: 2.172 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.889e-05/0.00805, allocations: 4 kB / 354.7 MB, free: 2.168 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.516e-05/0.008065, allocations: 11.98 kB / 354.7 MB, free: 2.156 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.638e-05/0.008102, allocations: 23.69 kB / 354.8 MB, free: 2.129 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.008103, allocations: 0 / 354.8 MB, free: 2.129 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.999e-05/0.008193, allocations: 101.5 kB / 354.9 MB, free: 2.023 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.008209, allocations: 4 kB / 354.9 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.008215, allocations: 4 kB / 354.9 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.008234, allocations: 288 / 354.9 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.339e-05/0.008277, allocations: 8 kB / 354.9 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.008286, allocations: 0 / 354.9 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.509e-05/0.008311, allocations: 7.984 kB / 354.9 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.008318, allocations: 0 / 354.9 MB, free: 2 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 6.065e-05/0.008378, allocations: 160.5 kB / 355 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.008409, allocations: 51.7 kB / 355.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.008553, allocations: 97.12 kB / 355.2 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.008558, allocations: 4 kB / 355.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.008563, allocations: 0 / 355.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.008567, allocations: 0 / 355.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.008843, allocations: 469.4 kB / 355.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.008845, allocations: 0 / 355.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.851e-05/0.008873, allocations: 19.86 kB / 355.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.008875, allocations: 4 kB / 355.7 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.008881, allocations: 0 / 355.7 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.008882, allocations: 4 kB / 355.7 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.008883, allocations: 0 / 355.7 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.293e-05/0.008966, allocations: 243.8 kB / 355.9 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.887e-05/0.008985, allocations: 35.72 kB / 355.9 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.008998, allocations: 0 / 355.9 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.579e-05/0.009034, allocations: 4 kB / 356 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.00907, allocations: 3.984 kB / 356 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.009073, allocations: 4 kB / 356 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000179/0.009252, allocations: 422.8 kB / 356.4 MB, free: 444 kB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009252, allocations: 4 kB / 356.4 MB, free: 440 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001666/0.009419, allocations: 27.92 kB / 356.4 MB, free: 412 kB / 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.0007789/0.0102, allocations: 380.4 kB / 356.8 MB, free: 124 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001032/0.0103, allocations: 27.69 kB / 356.8 MB, free: 92 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.0103, allocations: 0 / 356.8 MB, free: 92 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.328e-05/0.01033, allocations: 19.67 kB / 356.8 MB, free: 68 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.01059, allocations: 31.2 kB / 356.9 MB, free: 40 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006276/0.01121, allocations: 0.5703 MB / 357.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.653e-05/0.01129, allocations: 123.2 kB / 357.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.592e-05/0.01133, allocations: 7.984 kB / 357.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.01136, allocations: 20.5 kB / 357.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01136, allocations: 0 / 357.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of Templates: time 0.004179/0.01554, allocations: 1.378 MB / 358.9 MB, free: 13.9 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.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.324432863853872]