Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001088/0.001088, allocations: 91.33 kB / 20.43 MB, free: 4.145 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.00122/0.00122, allocations: 165 kB / 23.8 MB, free: 0.7773 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 1.012/1.012, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1762/0.1762, allocations: 32.37 MB / 270.4 MB, free: 14.69 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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,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.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.661e-05, allocations: 6.25 kB / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.005856/0.005883, allocations: 1.659 MB / 349.3 MB, free: 7.777 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006585/0.006541, allocations: 347.3 kB / 349.7 MB, free: 7.434 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.976e-05/0.006611, allocations: 4 kB / 349.7 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005802/0.007191, allocations: 451.1 kB / 350.1 MB, free: 6.988 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001252/0.008443, allocations: 255.4 kB / 350.4 MB, free: 6.738 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003427/0.008785, allocations: 151.6 kB / 350.5 MB, free: 6.59 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.008999, allocations: 167.7 kB / 350.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.009104, allocations: 12.17 kB / 350.7 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.009207, allocations: 115.8 kB / 350.8 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.009406, allocations: 247.5 kB / 351 MB, free: 6.059 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.009428, allocations: 4 kB / 351 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.993e-05/0.009508, allocations: 35.91 kB / 351.1 MB, free: 6.02 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.368e-05/0.009592, allocations: 79.72 kB / 351.2 MB, free: 5.941 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.045e-05/0.009632, allocations: 39.67 kB / 351.2 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.009855, allocations: 195.2 kB / 351.4 MB, free: 5.711 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.009858, allocations: 0 / 351.4 MB, free: 5.711 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.009859, allocations: 0 / 351.4 MB, free: 5.711 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.009865, allocations: 0 / 351.4 MB, free: 5.711 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.0005479/0.01041, allocations: 0.6893 MB / 352.1 MB, free: 4.984 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.01045, allocations: 12.03 kB / 352.1 MB, free: 4.973 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.434e-05/0.01052, allocations: 48.61 kB / 352.1 MB, free: 4.926 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.01071, allocations: 244.9 kB / 352.4 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.01072, allocations: 384 / 352.4 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.01074, allocations: 4.375 kB / 352.4 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.01086, allocations: 54.95 kB / 352.4 MB, free: 4.594 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.01087, allocations: 192 / 352.4 MB, free: 4.594 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.01088, allocations: 3.938 kB / 352.4 MB, free: 4.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.01089, allocations: 0 / 352.4 MB, free: 4.59 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.05e-05/0.01093, allocations: 23.86 kB / 352.5 MB, free: 4.566 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004219/0.01135, allocations: 419.7 kB / 352.9 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.01154, allocations: 50.92 kB / 352.9 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.189e-05/0.01156, allocations: 15.67 kB / 352.9 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.01158, allocations: 0 / 352.9 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.0116, allocations: 37.39 kB / 353 MB, free: 3.992 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.0116, allocations: 0 / 353 MB, free: 3.992 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003906/0.01199, allocations: 188.8 kB / 353.2 MB, free: 3.801 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.01201, allocations: 51.41 kB / 353.2 MB, free: 3.738 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003196/0.01233, allocations: 0.6238 MB / 353.8 MB, free: 3.098 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.286e-06/0.01234, allocations: 25.7 kB / 353.9 MB, free: 3.066 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.01245, allocations: 286.8 kB / 354.1 MB, free: 2.781 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.01246, allocations: 15.84 kB / 354.2 MB, free: 2.766 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.01249, allocations: 23.36 kB / 354.2 MB, free: 2.734 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.354e-05/0.01258, allocations: 0.5586 MB / 354.7 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.73e-05/0.01259, allocations: 4 kB / 354.7 MB, free: 2.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.38e-05/0.01261, allocations: 7.984 kB / 354.7 MB, free: 2.152 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.392e-05/0.01264, allocations: 19.88 kB / 354.8 MB, free: 2.129 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01264, allocations: 4 kB / 354.8 MB, free: 2.125 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.545e-05/0.01272, allocations: 101.3 kB / 354.9 MB, free: 2.02 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.01273, allocations: 4 kB / 354.9 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.01273, allocations: 4 kB / 354.9 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.01275, allocations: 0 / 354.9 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.135e-05/0.01279, allocations: 8 kB / 354.9 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.0128, allocations: 4 kB / 354.9 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.251e-05/0.01282, allocations: 0 / 354.9 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.01282, allocations: 7.984 kB / 354.9 MB, free: 1.992 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.195e-05/0.01288, allocations: 160.5 kB / 355.1 MB, free: 1.824 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.0129, allocations: 43.72 kB / 355.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.01301, allocations: 97.12 kB / 355.2 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01302, allocations: 0 / 355.2 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.01302, allocations: 4 kB / 355.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.01302, allocations: 0 / 355.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.01328, allocations: 469.4 kB / 355.7 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01328, allocations: 4 kB / 355.7 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.757e-05/0.01331, allocations: 11.94 kB / 355.7 MB, free: 1.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01331, allocations: 3.938 kB / 355.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.01332, allocations: 3.984 kB / 355.7 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01332, allocations: 0 / 355.7 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.01332, allocations: 0 / 355.7 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.631e-05/0.01341, allocations: 247.8 kB / 355.9 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.762e-05/0.01342, allocations: 39.72 kB / 356 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.01344, allocations: 0 / 356 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.349e-05/0.01347, allocations: 0 / 356 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.01351, allocations: 11.98 kB / 356 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.01351, allocations: 0 / 356 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001815/0.0137, allocations: 422.8 kB / 356.4 MB, free: 440 kB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0137, allocations: 0 / 356.4 MB, free: 440 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001629/0.01386, allocations: 23.92 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.0007898/0.01465, allocations: 380.4 kB / 356.8 MB, free: 124 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001071/0.01476, allocations: 27.67 kB / 356.8 MB, free: 92 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01476, allocations: 0 / 356.8 MB, free: 92 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.883e-05/0.01478, allocations: 19.67 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.0002374/0.01501, allocations: 35.14 kB / 356.9 MB, free: 36 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000659/0.01567, allocations: 0.5744 MB / 357.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.818e-05/0.01576, allocations: 119.2 kB / 357.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.813e-05/0.0158, allocations: 11.98 kB / 357.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.795e-05/0.01583, allocations: 12.5 kB / 357.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01583, allocations: 0 / 357.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of Templates: time 0.004312/0.02014, allocations: 1.458 MB / 359 MB, free: 13.81 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.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.264095135964453]