Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.0009533/0.0009533, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001093/0.001093, allocations: 173.9 kB / 24.92 MB, free: 9.191 MB / 18.57 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.9425/0.9425, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.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.2465/0.2465, allocations: 34.27 MB / 296.1 MB, free: 0.7305 MB / 266.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 325.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.498e-05, allocations: 3.078 kB / 325.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003034/0.003059, allocations: 1.744 MB / 327.1 MB, free: 5.875 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.004437, allocations: 1.297 MB / 328.4 MB, free: 4.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.919e-05/0.004486, allocations: 4 kB / 328.4 MB, free: 4.566 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001833/0.004669, allocations: 27.72 kB / 328.4 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002653/0.004935, allocations: 83.55 kB / 328.5 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.005162, allocations: 127.6 kB / 328.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.005285, allocations: 71.77 kB / 328.7 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.698e-05/0.005362, allocations: 11.98 kB / 328.7 MB, free: 4.246 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.395e-05/0.005426, allocations: 47.89 kB / 328.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.724e-05/0.005513, allocations: 20.62 kB / 328.7 MB, free: 4.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.005529, allocations: 7.984 kB / 328.7 MB, free: 4.172 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.005689, allocations: 103.8 kB / 328.8 MB, free: 4.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.83e-05/0.005738, allocations: 19.92 kB / 328.9 MB, free: 4.051 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/0.005762, allocations: 20.42 kB / 328.9 MB, free: 4.031 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.005952, allocations: 135.5 kB / 329 MB, free: 3.898 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.502e-06/0.005953, allocations: 4 kB / 329 MB, free: 3.895 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.005954, allocations: 0 / 329 MB, free: 3.895 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.005958, allocations: 0 / 329 MB, free: 3.895 MB / 298.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.0003043/0.006262, allocations: 313.6 kB / 329.3 MB, free: 3.566 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.753e-05/0.00629, allocations: 8.031 kB / 329.3 MB, free: 3.559 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.006317, allocations: 8.922 kB / 329.3 MB, free: 3.551 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.006435, allocations: 129.7 kB / 329.5 MB, free: 3.398 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.292e-06/0.006441, allocations: 384 / 329.5 MB, free: 3.398 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.006457, allocations: 4.375 kB / 329.5 MB, free: 3.395 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.006563, allocations: 102.3 kB / 329.6 MB, free: 3.273 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.006571, allocations: 4.141 kB / 329.6 MB, free: 3.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.006579, allocations: 4.125 kB / 329.6 MB, free: 3.266 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.006584, allocations: 4 kB / 329.6 MB, free: 3.262 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.271e-05/0.006607, allocations: 11.98 kB / 329.6 MB, free: 3.25 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001903/0.006797, allocations: 172.2 kB / 329.8 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.299e-05/0.00685, allocations: 30.58 kB / 329.8 MB, free: 3.027 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.578e-05/0.006866, allocations: 8.859 kB / 329.8 MB, free: 3.016 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.00688, allocations: 0 / 329.8 MB, free: 3.016 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.0069, allocations: 38.59 kB / 329.8 MB, free: 2.969 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 6.22e-07/0.0069, allocations: 0 / 329.8 MB, free: 2.969 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002716/0.007172, allocations: 109.7 kB / 330 MB, free: 2.855 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.007203, allocations: 77.11 kB / 330 MB, free: 2.762 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.328e-05/0.007287, allocations: 138.7 kB / 330.2 MB, free: 2.613 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.007298, allocations: 29.7 kB / 330.2 MB, free: 2.578 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.919e-05/0.007328, allocations: 92.06 kB / 330.3 MB, free: 2.484 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.007349, allocations: 23.8 kB / 330.3 MB, free: 2.461 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.007377, allocations: 21.7 kB / 330.3 MB, free: 2.434 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.212e-05/0.007469, allocations: 322.8 kB / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.326e-05/0.007482, allocations: 4 kB / 330.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.665e-05/0.007519, allocations: 47.41 kB / 330.7 MB, free: 2.047 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.652e-05/0.007556, allocations: 32.77 kB / 330.7 MB, free: 2.012 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.007557, allocations: 0 / 330.7 MB, free: 2.012 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.522e-05/0.007622, allocations: 57.98 kB / 330.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.007635, allocations: 7.984 kB / 330.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.007641, allocations: 7.984 kB / 330.8 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.007652, allocations: 3.938 kB / 330.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.813e-05/0.007721, allocations: 19.98 kB / 330.8 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.007725, allocations: 4.062 kB / 330.8 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.822e-05/0.007753, allocations: 4 kB / 330.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.007759, allocations: 4 kB / 330.8 MB, free: 1.898 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 (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 5.872e-05/0.007817, allocations: 112.6 kB / 330.9 MB, free: 1.777 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.007841, allocations: 23.92 kB / 331 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.559e-05/0.007936, allocations: 62.39 kB / 331 MB, free: 1.688 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.007938, allocations: 0 / 331 MB, free: 1.688 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.00794, allocations: 0 / 331 MB, free: 1.688 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.007942, allocations: 4 kB / 331 MB, free: 1.684 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.008134, allocations: 230.7 kB / 331.3 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.008136, allocations: 0 / 331.3 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.855e-05/0.008175, allocations: 15.98 kB / 331.3 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.008176, allocations: 0 / 331.3 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.997e-06/0.00818, allocations: 0 / 331.3 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.008182, allocations: 4 kB / 331.3 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.008183, allocations: 4 kB / 331.3 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.287e-05/0.008266, allocations: 155.4 kB / 331.4 MB, free: 1.242 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.245e-05/0.008278, allocations: 15.95 kB / 331.4 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-06/0.008288, allocations: 0 / 331.4 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.672e-05/0.008325, allocations: 7.984 kB / 331.5 MB, free: 1.219 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.335e-05/0.008348, allocations: 4 kB / 331.5 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.008353, allocations: 3.984 kB / 331.5 MB, free: 1.211 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.735e-05/0.00838, allocations: 35.33 kB / 331.5 MB, free: 1.176 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00838, allocations: 0 / 331.5 MB, free: 1.176 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000171/0.008551, allocations: 35.88 kB / 331.5 MB, free: 1.141 MB / 298.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.001296/0.009848, allocations: 0.6357 MB / 332.2 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.33e-05/0.009931, allocations: 32.78 kB / 332.2 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.009935, allocations: 0 / 332.2 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.173e-05/0.009956, allocations: 20.84 kB / 332.2 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.0101, allocations: 22.58 kB / 332.2 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.01037, allocations: 199.9 kB / 332.4 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.094e-05/0.0104, allocations: 59.34 kB / 332.5 MB, free: 452 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.81e-05/0.01044, allocations: 20.28 kB / 332.5 MB, free: 432 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.504e-05/0.0105, allocations: 75.3 kB / 332.6 MB, free: 356 kB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.0105, allocations: 0 / 332.6 MB, free: 356 kB / 298.7 MB Notification: Performance of Templates: time 0.003292/0.01379, allocations: 2.105 MB / 334.7 MB, free: 14.25 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/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: 2.8199910442344844]