Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.000967/0.000967, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001063/0.001063, allocations: 170.8 kB / 24.91 MB, free: 8.73 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 1.024/1.024, allocations: 177.1 MB / 205.3 MB, free: 5.09 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2626/0.2626, allocations: 32.81 MB / 294.6 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.855e-06/2.855e-06, allocations: 0 / 323.3 MB, free: 9.672 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.457e-05/3.742e-05, allocations: 4.703 kB / 323.3 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003125/0.003163, allocations: 1.745 MB / 325 MB, free: 7.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.004877, allocations: 1.321 MB / 326.4 MB, free: 6.582 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.756e-05/0.004945, allocations: 0 / 326.4 MB, free: 6.582 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002644/0.005209, allocations: 23.8 kB / 326.4 MB, free: 6.559 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002491/0.005458, allocations: 87.48 kB / 326.5 MB, free: 6.473 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.00576, allocations: 179.4 kB / 326.6 MB, free: 6.297 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.005907, allocations: 79.81 kB / 326.7 MB, free: 6.219 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.006007, allocations: 8.625 kB / 326.7 MB, free: 6.211 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.983e-05/0.006077, allocations: 43.83 kB / 326.8 MB, free: 6.168 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.006188, allocations: 31.91 kB / 326.8 MB, free: 6.137 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.006205, allocations: 7.984 kB / 326.8 MB, free: 6.129 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.006352, allocations: 95.83 kB / 326.9 MB, free: 6.035 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.082e-05/0.006413, allocations: 31.91 kB / 326.9 MB, free: 6.004 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.612e-05/0.006439, allocations: 15.92 kB / 326.9 MB, free: 5.988 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.00672, allocations: 147.5 kB / 327.1 MB, free: 5.844 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.006723, allocations: 0 / 327.1 MB, free: 5.844 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.006724, allocations: 0 / 327.1 MB, free: 5.844 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.006728, allocations: 0 / 327.1 MB, free: 5.844 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.0003362/0.007064, allocations: 301.5 kB / 327.4 MB, free: 5.527 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.007096, allocations: 12.03 kB / 327.4 MB, free: 5.516 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.007127, allocations: 8.922 kB / 327.4 MB, free: 5.508 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.007262, allocations: 137.6 kB / 327.5 MB, free: 5.348 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.007272, allocations: 4.375 kB / 327.5 MB, free: 5.344 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.007291, allocations: 12.38 kB / 327.6 MB, free: 5.332 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.007417, allocations: 98.3 kB / 327.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.007425, allocations: 192 / 327.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.007436, allocations: 12.12 kB / 327.7 MB, free: 5.203 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.007441, allocations: 0 / 327.7 MB, free: 5.203 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.491e-05/0.007465, allocations: 11.97 kB / 327.7 MB, free: 5.191 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002337/0.007699, allocations: 167.1 kB / 327.8 MB, free: 5.012 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.092e-05/0.00776, allocations: 38.56 kB / 327.9 MB, free: 4.965 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.831e-05/0.007778, allocations: 12.86 kB / 327.9 MB, free: 4.949 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.007796, allocations: 0 / 327.9 MB, free: 4.949 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.007819, allocations: 38.5 kB / 327.9 MB, free: 4.902 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.00782, allocations: 0 / 327.9 MB, free: 4.902 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003249/0.008145, allocations: 113.5 kB / 328 MB, free: 4.785 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.008182, allocations: 81.11 kB / 328.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.203e-05/0.008274, allocations: 140.8 kB / 328.3 MB, free: 4.535 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.008284, allocations: 25.7 kB / 328.3 MB, free: 4.504 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.00832, allocations: 88.09 kB / 328.4 MB, free: 4.414 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.008344, allocations: 31.77 kB / 328.4 MB, free: 4.383 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.008374, allocations: 25.72 kB / 328.4 MB, free: 4.352 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000222/0.008596, allocations: 322.8 kB / 328.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.493e-05/0.008611, allocations: 4 kB / 328.7 MB, free: 4.023 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.981e-05/0.008651, allocations: 55.33 kB / 328.8 MB, free: 3.957 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.334e-05/0.008694, allocations: 27.67 kB / 328.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.008696, allocations: 0 / 328.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.267e-05/0.008768, allocations: 61.55 kB / 328.9 MB, free: 3.859 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.008779, allocations: 4 kB / 328.9 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.008783, allocations: 0 / 328.9 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.008793, allocations: 0 / 328.9 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.287e-05/0.008866, allocations: 23.95 kB / 328.9 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.008869, allocations: 0 / 328.9 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.461e-05/0.008893, allocations: 8 kB / 328.9 MB, free: 3.824 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.008899, allocations: 4 kB / 328.9 MB, free: 3.82 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.972e-05/0.008959, allocations: 108.7 kB / 329 MB, free: 3.703 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.008989, allocations: 15.92 kB / 329 MB, free: 3.688 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.009107, allocations: 70.73 kB / 329.1 MB, free: 3.613 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.009109, allocations: 0 / 329.1 MB, free: 3.613 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.00911, allocations: 288 / 329.1 MB, free: 3.613 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.009115, allocations: 7.984 kB / 329.1 MB, free: 3.605 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.009332, allocations: 230.7 kB / 329.3 MB, free: 3.355 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.009334, allocations: 0 / 329.3 MB, free: 3.355 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.714e-05/0.009381, allocations: 19.97 kB / 329.4 MB, free: 3.336 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.009383, allocations: 0 / 329.4 MB, free: 3.336 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.009389, allocations: 0 / 329.4 MB, free: 3.336 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.00939, allocations: 4 kB / 329.4 MB, free: 3.332 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.009392, allocations: 0 / 329.4 MB, free: 3.332 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.99e-05/0.009481, allocations: 155.4 kB / 329.5 MB, free: 3.164 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.416e-05/0.009496, allocations: 15.94 kB / 329.5 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.009507, allocations: 0 / 329.5 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.938e-05/0.009546, allocations: 8 kB / 329.5 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.009578, allocations: 11.98 kB / 329.6 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.009582, allocations: 0 / 329.6 MB, free: 3.129 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.023e-05/0.009612, allocations: 29.77 kB / 329.6 MB, free: 3.098 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009613, allocations: 0 / 329.6 MB, free: 3.098 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001687/0.009781, allocations: 43.86 kB / 329.6 MB, free: 3.055 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.001351/0.01113, allocations: 0.6335 MB / 330.3 MB, free: 2.738 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.459e-05/0.01122, allocations: 32.78 kB / 330.3 MB, free: 2.703 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.01122, allocations: 0 / 330.3 MB, free: 2.703 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.386e-05/0.01124, allocations: 24.84 kB / 330.3 MB, free: 2.676 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.01141, allocations: 35.11 kB / 330.3 MB, free: 2.645 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.01172, allocations: 184.1 kB / 330.5 MB, free: 2.438 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.707e-05/0.01176, allocations: 71.28 kB / 330.6 MB, free: 2.348 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.301e-05/0.01181, allocations: 17.02 kB / 330.6 MB, free: 2.328 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.003e-05/0.01188, allocations: 71.36 kB / 330.7 MB, free: 2.258 MB / 298.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01188, allocations: 0 / 330.7 MB, free: 2.258 MB / 298.7 MB Notification: Performance of Templates: time 0.003878/0.01576, allocations: 2.149 MB / 332.8 MB, free: 128 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/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.0270222341641784]