Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001403/0.001403, allocations: 84.55 kB / 20.68 MB, free: 1.027 MB / 14.72 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.001544/0.001544, allocations: 163 kB / 23.95 MB, free: 4.156 MB / 14.72 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.521/1.521, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.2256/0.2256, allocations: 34.28 MB / 294.9 MB, free: 14.57 MB / 286.1 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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 442.7 MB, free: 5.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.267e-05/3.395e-05, allocations: 6.219 kB / 442.7 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003557/0.003591, allocations: 1.678 MB / 444.4 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.004971, allocations: 0.5725 MB / 445 MB, free: 3.105 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.005071, allocations: 3.938 kB / 445 MB, free: 3.102 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006799/0.005751, allocations: 451.1 kB / 445.4 MB, free: 2.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005896/0.006341, allocations: 307.1 kB / 445.7 MB, free: 2.359 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005261/0.006867, allocations: 174.9 kB / 445.9 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003157/0.007182, allocations: 183.6 kB / 446 MB, free: 2.012 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.007299, allocations: 20.16 kB / 446.1 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002239/0.007523, allocations: 123.8 kB / 446.2 MB, free: 1.867 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003474/0.00787, allocations: 247.6 kB / 446.4 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.007898, allocations: 8 kB / 446.4 MB, free: 1.617 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.008037, allocations: 55.86 kB / 446.5 MB, free: 1.562 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.008174, allocations: 87.7 kB / 446.6 MB, free: 1.477 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.29e-05/0.008247, allocations: 39.73 kB / 446.6 MB, free: 1.438 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004161/0.008663, allocations: 259 kB / 446.9 MB, free: 1.184 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.008666, allocations: 0 / 446.9 MB, free: 1.184 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.008667, allocations: 0 / 446.9 MB, free: 1.184 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.008678, allocations: 0 / 446.9 MB, free: 1.184 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009113/0.00959, allocations: 0.5854 MB / 447.5 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.00963, allocations: 8.031 kB / 447.5 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.082e-05/0.009721, allocations: 56.61 kB / 447.5 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.01005, allocations: 250 kB / 447.8 MB, free: 240 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.01006, allocations: 4.375 kB / 447.8 MB, free: 236 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.01009, allocations: 4.312 kB / 447.8 MB, free: 232 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.01029, allocations: 70.22 kB / 447.8 MB, free: 156 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.0103, allocations: 192 / 447.8 MB, free: 156 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.01032, allocations: 8.125 kB / 447.8 MB, free: 148 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.01032, allocations: 0 / 447.8 MB, free: 148 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.0105, allocations: 47.89 kB / 447.9 MB, free: 100 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2337/0.2442, allocations: 346.2 kB / 448.2 MB, free: 19.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.2445, allocations: 59.14 kB / 448.3 MB, free: 19.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.486e-05/0.2446, allocations: 26.47 kB / 448.3 MB, free: 19.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.2446, allocations: 1.375 kB / 448.3 MB, free: 19.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.2446, allocations: 39.7 kB / 448.4 MB, free: 19.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 2.244e-06/0.2446, allocations: 0 / 448.4 MB, free: 19.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001658/0.2463, allocations: 0.4977 MB / 448.9 MB, free: 19.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.2463, allocations: 57.67 kB / 448.9 MB, free: 19.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008199/0.2471, allocations: 0.8629 MB / 449.8 MB, free: 18.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.2471, allocations: 32.8 kB / 449.8 MB, free: 18.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.2473, allocations: 215.7 kB / 450 MB, free: 18.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.2473, allocations: 36.5 kB / 450.1 MB, free: 18.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.953e-05/0.2474, allocations: 23.58 kB / 450.1 MB, free: 18.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.301e-05/0.2474, allocations: 363.8 kB / 450.4 MB, free: 18.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.2476, allocations: 55.91 kB / 450.5 MB, free: 18.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.2477, allocations: 59.14 kB / 450.5 MB, free: 18.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.248, allocations: 129 kB / 450.7 MB, free: 18.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.248, allocations: 4.156 kB / 450.7 MB, free: 18.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003743/0.2484, allocations: 203.4 kB / 450.9 MB, free: 18.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.2484, allocations: 6.359 kB / 450.9 MB, free: 18.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2484, allocations: 1.438 kB / 450.9 MB, free: 18.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.2484, allocations: 0 / 450.9 MB, free: 18.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.2485, allocations: 28.84 kB / 450.9 MB, free: 18.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.2485, allocations: 0 / 450.9 MB, free: 18.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.42e-05/0.2486, allocations: 10.31 kB / 450.9 MB, free: 18.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.2486, allocations: 4.016 kB / 450.9 MB, free: 18.14 MB / 366.1 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 (11): * Single equations (assignments): 11 * 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 0.0001863/0.2488, allocations: 227.1 kB / 451.1 MB, free: 18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.74e-05/0.2489, allocations: 47.98 kB / 451.2 MB, free: 17.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004625/0.2493, allocations: 229.7 kB / 451.4 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2494, allocations: 1.375 kB / 451.4 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2494, allocations: 0 / 451.4 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.2494, allocations: 2.016 kB / 451.4 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007363/0.2501, allocations: 0.5317 MB / 451.9 MB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2501, allocations: 1.375 kB / 451.9 MB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.2502, allocations: 35.53 kB / 452 MB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.2502, allocations: 1.375 kB / 452 MB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.2502, allocations: 3.531 kB / 452 MB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2502, allocations: 1.375 kB / 452 MB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.2502, allocations: 1.984 kB / 452 MB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003667/0.2506, allocations: 310.9 kB / 452.3 MB, free: 17.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.723e-05/0.2506, allocations: 36.39 kB / 452.3 MB, free: 17.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.2507, allocations: 2.922 kB / 452.3 MB, free: 17.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.2508, allocations: 9.859 kB / 452.3 MB, free: 17.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.2508, allocations: 20.08 kB / 452.4 MB, free: 17.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.2508, allocations: 3.672 kB / 452.4 MB, free: 17.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005756/0.2514, allocations: 0.654 MB / 453 MB, free: 17.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2514, allocations: 0 / 453 MB, free: 17.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002869/0.2517, allocations: 41.2 kB / 453.1 MB, free: 17.04 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0018/0.2535, allocations: 493 kB / 453.5 MB, free: 16.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003719/0.2539, allocations: 129.1 kB / 453.7 MB, free: 16.83 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.2539, allocations: 0 / 453.7 MB, free: 16.83 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.254, allocations: 65.41 kB / 453.7 MB, free: 16.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.2544, allocations: 42.3 kB / 453.8 MB, free: 16.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.2557, allocations: 0.8882 MB / 454.7 MB, free: 16.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.256, allocations: 238.1 kB / 454.9 MB, free: 16.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000102/0.2561, allocations: 27.58 kB / 454.9 MB, free: 16.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.714e-05/0.2562, allocations: 17.55 kB / 454.9 MB, free: 16.28 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2562, allocations: 0 / 454.9 MB, free: 16.28 MB / 366.1 MB Notification: Performance of Templates: time 0.006376/0.2626, allocations: 1.795 MB / 456.7 MB, free: 16.02 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.93231375515461]