Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.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.001126/0.001126, allocations: 91.22 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.001267/0.001267, allocations: 169 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.9333/0.9333, allocations: 158.6 MB / 185.6 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.1415/0.1415, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2D.Test12,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.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.545e-05/1.704e-05, allocations: 4.281 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test12): time 0.005134/0.005151, allocations: 1.661 MB / 349.3 MB, free: 7.762 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009258/0.006077, allocations: 1.06 MB / 350.4 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.653e-05/0.006124, allocations: 0 / 350.4 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.006329, allocations: 23.86 kB / 350.4 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.006544, allocations: 43.72 kB / 350.5 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.006763, allocations: 111.7 kB / 350.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.006884, allocations: 67.75 kB / 350.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.509e-05/0.006969, allocations: 12.19 kB / 350.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.447e-05/0.007023, allocations: 27.91 kB / 350.7 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.057e-05/0.007114, allocations: 19.97 kB / 350.7 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.007131, allocations: 4 kB / 350.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.574e-05/0.007227, allocations: 55.91 kB / 350.8 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.926e-05/0.007276, allocations: 19.86 kB / 350.8 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.301e-05/0.007299, allocations: 15.92 kB / 350.8 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003886/0.007687, allocations: 87.66 kB / 350.9 MB, free: 6.215 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.00769, allocations: 0 / 350.9 MB, free: 6.215 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.007691, allocations: 4 kB / 350.9 MB, free: 6.211 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.007695, allocations: 4 kB / 350.9 MB, free: 6.207 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.0004067/0.008102, allocations: 404.2 kB / 351.3 MB, free: 5.777 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.008138, allocations: 12.03 kB / 351.3 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.008179, allocations: 8.938 kB / 351.3 MB, free: 5.758 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.008297, allocations: 136.4 kB / 351.4 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.008307, allocations: 384 / 351.4 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.008333, allocations: 8.312 kB / 351.4 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.008478, allocations: 108 kB / 351.5 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.008487, allocations: 4.188 kB / 351.5 MB, free: 5.457 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.008498, allocations: 7.938 kB / 351.6 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.008506, allocations: 0 / 351.6 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.765e-05/0.008544, allocations: 15.97 kB / 351.6 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000253/0.008797, allocations: 271.7 kB / 351.8 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.668e-05/0.008864, allocations: 43 kB / 351.9 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.283e-05/0.008886, allocations: 15.77 kB / 351.9 MB, free: 5.059 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.008909, allocations: 0 / 351.9 MB, free: 5.059 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.008928, allocations: 33.39 kB / 351.9 MB, free: 5.016 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.008929, allocations: 0 / 351.9 MB, free: 5.016 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003809/0.00931, allocations: 133.3 kB / 352.1 MB, free: 4.879 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.009335, allocations: 77.11 kB / 352.1 MB, free: 4.785 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.01e-05/0.009425, allocations: 188.7 kB / 352.3 MB, free: 4.586 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.024e-06/0.009432, allocations: 25.7 kB / 352.3 MB, free: 4.555 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.145e-05/0.009463, allocations: 142.8 kB / 352.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.009485, allocations: 23.78 kB / 352.5 MB, free: 4.387 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.009518, allocations: 23.38 kB / 352.5 MB, free: 4.355 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.724e-05/0.009565, allocations: 0.4961 MB / 353 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.289e-05/0.009588, allocations: 8 kB / 353 MB, free: 3.84 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.477e-05/0.009623, allocations: 57.12 kB / 353.1 MB, free: 3.77 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.524e-05/0.009668, allocations: 35.95 kB / 353.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.009669, allocations: 0 / 353.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.89e-05/0.009758, allocations: 69.56 kB / 353.2 MB, free: 3.656 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.00977, allocations: 4 kB / 353.2 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.009775, allocations: 0 / 353.2 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.009794, allocations: 4 kB / 353.2 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.116e-05/0.009875, allocations: 15.98 kB / 353.2 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.009881, allocations: 0 / 353.2 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.957e-05/0.00991, allocations: 12 kB / 353.2 MB, free: 3.621 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.009916, allocations: 0 / 353.2 MB, free: 3.621 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 (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 4.393e-05/0.00996, allocations: 164.5 kB / 353.4 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.009988, allocations: 15.94 kB / 353.4 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.0101, allocations: 74.06 kB / 353.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01011, allocations: 3.984 kB / 353.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.01011, allocations: 7.938 kB / 353.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.01011, allocations: 288 / 353.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.01034, allocations: 329.4 kB / 353.8 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.01034, allocations: 0 / 353.8 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.383e-05/0.01039, allocations: 15.94 kB / 353.8 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01039, allocations: 3.984 kB / 353.8 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.01039, allocations: 7.984 kB / 353.8 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.0104, allocations: 0 / 353.8 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.0104, allocations: 4 kB / 353.8 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.508e-05/0.01049, allocations: 215.8 kB / 354 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.444e-06/0.0105, allocations: 7.953 kB / 354.1 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.01051, allocations: 4 kB / 354.1 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.281e-05/0.01057, allocations: 4 kB / 354.1 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.0106, allocations: 7.984 kB / 354.1 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.01061, allocations: 0 / 354.1 MB, free: 2.699 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.73e-05/0.01064, allocations: 151.2 kB / 354.2 MB, free: 2.551 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01064, allocations: 4 kB / 354.2 MB, free: 2.547 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002254/0.01087, allocations: 27.88 kB / 354.3 MB, free: 2.52 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 (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.0007702/0.01164, allocations: 429.4 kB / 354.7 MB, free: 2.191 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001044/0.01174, allocations: 39.66 kB / 354.7 MB, free: 2.148 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01175, allocations: 0 / 354.7 MB, free: 2.148 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.091e-05/0.01178, allocations: 31.55 kB / 354.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.01197, allocations: 27.83 kB / 354.8 MB, free: 2.086 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003/0.01227, allocations: 194.5 kB / 355 MB, free: 1.867 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.745e-05/0.0123, allocations: 59.34 kB / 355 MB, free: 1.789 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.752e-05/0.01234, allocations: 11.98 kB / 355 MB, free: 1.777 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.01237, allocations: 16.5 kB / 355 MB, free: 1.762 MB / 282.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01237, allocations: 0 / 355 MB, free: 1.762 MB / 282.7 MB Notification: Performance of Templates: time 0.002871/0.01524, allocations: 1.589 MB / 356.6 MB, free: 188 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test12/Test12.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.2895632623694837]