Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.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.0008197/0.0008197, 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.002003/0.002003, allocations: 165 kB / 23.8 MB, free: 0.7734 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.9599/0.9599, allocations: 158.6 MB / 185.7 MB, free: 2.906 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.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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 3.938 kB / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.696e-05, allocations: 2.312 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002069/0.002096, allocations: 1.652 MB / 349.3 MB, free: 7.781 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000675/0.002771, allocations: 343.3 kB / 349.7 MB, free: 7.441 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.414e-05/0.002855, allocations: 7.938 kB / 349.7 MB, free: 7.434 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005931/0.003448, allocations: 447.1 kB / 350.1 MB, free: 6.996 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003441/0.003792, allocations: 263.3 kB / 350.4 MB, free: 6.738 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.004108, allocations: 151.6 kB / 350.5 MB, free: 6.59 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002207/0.004329, allocations: 163.7 kB / 350.7 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.004443, allocations: 12.19 kB / 350.7 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.004546, allocations: 123.7 kB / 350.8 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.004719, allocations: 239.6 kB / 351 MB, free: 6.062 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.004741, allocations: 0 / 351 MB, free: 6.062 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.555e-05/0.004817, allocations: 27.94 kB / 351.1 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.065e-05/0.004907, allocations: 95.62 kB / 351.2 MB, free: 5.941 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.245e-05/0.00495, allocations: 39.75 kB / 351.2 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.005165, allocations: 187.2 kB / 351.4 MB, free: 5.719 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.005168, allocations: 4 kB / 351.4 MB, free: 5.715 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.005169, allocations: 0 / 351.4 MB, free: 5.715 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.005174, allocations: 0 / 351.4 MB, free: 5.715 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.0005172/0.005692, allocations: 0.6854 MB / 352.1 MB, free: 4.992 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.005739, allocations: 12.03 kB / 352.1 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.511e-05/0.005814, allocations: 44.61 kB / 352.1 MB, free: 4.938 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.00601, allocations: 240.9 kB / 352.4 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.006025, allocations: 4.375 kB / 352.4 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.006052, allocations: 4.375 kB / 352.4 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.006221, allocations: 70.91 kB / 352.4 MB, free: 4.59 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.006235, allocations: 4.125 kB / 352.4 MB, free: 4.586 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.00625, allocations: 7.938 kB / 352.4 MB, free: 4.578 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.006261, allocations: 3.938 kB / 352.5 MB, free: 4.574 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.987e-05/0.006301, allocations: 8 kB / 352.5 MB, free: 4.566 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004308/0.006732, allocations: 423.6 kB / 352.9 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.006912, allocations: 46.92 kB / 352.9 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.46e-05/0.006936, allocations: 15.69 kB / 352.9 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.006957, allocations: 0 / 352.9 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.006975, allocations: 37.39 kB / 353 MB, free: 3.992 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.006977, allocations: 0 / 353 MB, free: 3.992 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000468/0.007445, allocations: 184.8 kB / 353.2 MB, free: 3.805 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.007478, allocations: 51.41 kB / 353.2 MB, free: 3.742 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003458/0.007823, allocations: 0.6277 MB / 353.8 MB, free: 3.098 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/0.007831, allocations: 25.7 kB / 353.9 MB, free: 3.066 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.007939, allocations: 278.8 kB / 354.1 MB, free: 2.789 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.00796, allocations: 19.84 kB / 354.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/0.007988, allocations: 23.38 kB / 354.2 MB, free: 2.738 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.008091, allocations: 0.5547 MB / 354.7 MB, free: 2.172 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.04e-05/0.008112, allocations: 4.062 kB / 354.7 MB, free: 2.168 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.451e-05/0.008126, allocations: 12 kB / 354.7 MB, free: 2.156 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.658e-05/0.008163, allocations: 31.62 kB / 354.8 MB, free: 2.121 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.008164, allocations: 0 / 354.8 MB, free: 2.121 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.062e-05/0.008244, allocations: 89.41 kB / 354.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.00826, allocations: 8 kB / 354.9 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.008265, allocations: 0 / 354.9 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.00828, allocations: 0 / 354.9 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.179e-05/0.008322, allocations: 11.98 kB / 354.9 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.008327, allocations: 0 / 354.9 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.281e-05/0.00835, allocations: 4 kB / 354.9 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.008357, allocations: 8 kB / 354.9 MB, free: 1.996 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.628e-05/0.008413, allocations: 160.5 kB / 355 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.008441, allocations: 43.66 kB / 355.1 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/0.008573, allocations: 101.2 kB / 355.2 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.008575, allocations: 0 / 355.2 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.008579, allocations: 3.984 kB / 355.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.008583, allocations: 0 / 355.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.008842, allocations: 465.5 kB / 355.6 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.008844, allocations: 4.062 kB / 355.7 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.828e-05/0.008872, allocations: 15.94 kB / 355.7 MB, free: 1.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.008875, allocations: 4 kB / 355.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.008884, allocations: 0 / 355.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.008885, allocations: 0 / 355.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.008886, allocations: 0 / 355.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.008989, allocations: 243.6 kB / 355.9 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.832e-05/0.009007, allocations: 31.72 kB / 355.9 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.009022, allocations: 4 kB / 355.9 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.622e-05/0.009058, allocations: 7.984 kB / 356 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.009093, allocations: 4 kB / 356 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-06/0.009095, allocations: 3.938 kB / 356 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001858/0.009281, allocations: 426.8 kB / 356.4 MB, free: 444 kB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009281, allocations: 0 / 356.4 MB, free: 444 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001704/0.009451, allocations: 27.94 kB / 356.4 MB, free: 416 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.0008265/0.01028, allocations: 377.2 kB / 356.8 MB, free: 132 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.01038, allocations: 31.67 kB / 356.8 MB, free: 96 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01039, allocations: 0 / 356.8 MB, free: 96 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.046e-05/0.01041, allocations: 23.62 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.0002354/0.01064, allocations: 31.14 kB / 356.9 MB, free: 40 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006556/0.0113, allocations: 0.5743 MB / 357.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.855e-05/0.01137, allocations: 119.2 kB / 357.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.044e-05/0.01142, allocations: 20.23 kB / 357.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/0.01145, allocations: 16.5 kB / 357.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01145, allocations: 0 / 357.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of Templates: time 0.004053/0.0155, allocations: 1.45 MB / 359 MB, free: 13.82 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.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.1316037299111485]