Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.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.0007563/0.0007563, allocations: 80.45 kB / 20.69 MB, free: 3.875 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.0007637/0.0007637, allocations: 165.9 kB / 23.96 MB, free: 0.6055 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.8595/0.8595, allocations: 158.6 MB / 185.7 MB, free: 3.039 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.1316/0.1316, allocations: 32.36 MB / 270.4 MB, free: 14.98 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 408.1 MB, free: 1.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.566e-05, allocations: 2.281 kB / 408.1 MB, free: 1.727 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002111/0.002136, allocations: 1.606 MB / 409.7 MB, free: 112 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004669/0.002603, allocations: 343.2 kB / 410 MB, free: 15.77 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.294e-05/0.002656, allocations: 4 kB / 410.1 MB, free: 15.77 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004254/0.003081, allocations: 455.1 kB / 410.5 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002489/0.00333, allocations: 247.4 kB / 410.7 MB, free: 15.08 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.003584, allocations: 159.6 kB / 410.9 MB, free: 14.92 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.00376, allocations: 167.6 kB / 411.1 MB, free: 14.76 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.032e-05/0.00385, allocations: 4.188 kB / 411.1 MB, free: 14.75 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.003951, allocations: 123.8 kB / 411.2 MB, free: 14.63 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.00412, allocations: 239.6 kB / 411.4 MB, free: 14.4 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.004135, allocations: 4 kB / 411.4 MB, free: 14.39 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.223e-05/0.004198, allocations: 39.91 kB / 411.5 MB, free: 14.36 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.917e-05/0.004277, allocations: 87.66 kB / 411.5 MB, free: 14.27 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.004311, allocations: 39.69 kB / 411.6 MB, free: 14.23 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.004513, allocations: 239.1 kB / 411.8 MB, free: 14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004515, allocations: 0 / 411.8 MB, free: 14 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.004516, allocations: 0 / 411.8 MB, free: 14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.00452, allocations: 0 / 411.8 MB, free: 14 MB / 394.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.0004804/0.005001, allocations: 0.5699 MB / 412.4 MB, free: 13.39 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.005035, allocations: 8.031 kB / 412.4 MB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/0.005082, allocations: 44.66 kB / 412.4 MB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.005263, allocations: 246 kB / 412.7 MB, free: 13.08 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-06/0.005271, allocations: 384 / 412.7 MB, free: 13.08 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.005291, allocations: 4.375 kB / 412.7 MB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.005407, allocations: 58.23 kB / 412.7 MB, free: 13.01 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.005416, allocations: 4.125 kB / 412.7 MB, free: 13.01 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.005425, allocations: 7.875 kB / 412.8 MB, free: 13 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.005429, allocations: 0 / 412.8 MB, free: 13 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.142e-05/0.00549, allocations: 35.98 kB / 412.8 MB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003128/0.005803, allocations: 320.5 kB / 413.1 MB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.00597, allocations: 54.42 kB / 413.2 MB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.807e-05/0.005998, allocations: 12.86 kB / 413.2 MB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.006017, allocations: 0 / 413.2 MB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.006034, allocations: 38.64 kB / 413.2 MB, free: 12.5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 7.42e-07/0.006034, allocations: 0 / 413.2 MB, free: 12.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003857/0.00642, allocations: 244.7 kB / 413.4 MB, free: 12.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.00645, allocations: 55.41 kB / 413.5 MB, free: 12.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004982/0.006948, allocations: 0.8535 MB / 414.4 MB, free: 11.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.006959, allocations: 25.7 kB / 414.4 MB, free: 11.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.00706, allocations: 212.1 kB / 414.6 MB, free: 11.08 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.007078, allocations: 15.86 kB / 414.6 MB, free: 11.06 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.007106, allocations: 21.7 kB / 414.6 MB, free: 11.04 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.929e-05/0.007205, allocations: 362.7 kB / 415 MB, free: 10.67 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.332e-05/0.007248, allocations: 23.98 kB / 415 MB, free: 10.65 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.193e-05/0.00728, allocations: 19.98 kB / 415 MB, free: 10.63 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.224e-05/0.007353, allocations: 56.81 kB / 415.1 MB, free: 10.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.007353, allocations: 0 / 415.1 MB, free: 10.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001155/0.007469, allocations: 121.3 kB / 415.2 MB, free: 10.45 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.00748, allocations: 4 kB / 415.2 MB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.007484, allocations: 0 / 415.2 MB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.007496, allocations: 0 / 415.2 MB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.562e-05/0.007531, allocations: 19.98 kB / 415.2 MB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.007535, allocations: 0 / 415.2 MB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.551e-05/0.007561, allocations: 4 kB / 415.2 MB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.007566, allocations: 4 kB / 415.2 MB, free: 10.41 MB / 394.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 0.0001233/0.007689, allocations: 225.6 kB / 415.4 MB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.007717, allocations: 39.72 kB / 415.5 MB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001724/0.00789, allocations: 145.7 kB / 415.6 MB, free: 9.996 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.007893, allocations: 8 kB / 415.6 MB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.007898, allocations: 3.984 kB / 415.6 MB, free: 9.984 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.007901, allocations: 0 / 415.6 MB, free: 9.984 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003025/0.008203, allocations: 406.1 kB / 416 MB, free: 9.551 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.008204, allocations: 3.938 kB / 416 MB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.807e-05/0.008232, allocations: 15.92 kB / 416.1 MB, free: 9.531 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.008234, allocations: 0 / 416.1 MB, free: 9.531 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.008241, allocations: 4 kB / 416.1 MB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.008243, allocations: 0 / 416.1 MB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.008244, allocations: 8 kB / 416.1 MB, free: 9.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.008372, allocations: 215.2 kB / 416.3 MB, free: 9.293 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.359e-05/0.008395, allocations: 35.72 kB / 416.3 MB, free: 9.258 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.008409, allocations: 0 / 416.3 MB, free: 9.258 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.947e-05/0.008448, allocations: 7.984 kB / 416.3 MB, free: 9.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/0.008477, allocations: 0 / 416.3 MB, free: 9.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.008482, allocations: 8 kB / 416.3 MB, free: 9.242 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003664/0.008848, allocations: 0.6394 MB / 417 MB, free: 8.605 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008848, allocations: 0 / 417 MB, free: 8.605 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001636/0.009012, allocations: 31.92 kB / 417 MB, free: 8.574 MB / 394.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.0005973/0.009609, allocations: 419.6 kB / 417.4 MB, free: 8.188 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001244/0.009733, allocations: 51.95 kB / 417.5 MB, free: 8.137 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.009735, allocations: 0 / 417.5 MB, free: 8.137 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.669e-05/0.009772, allocations: 27.92 kB / 417.5 MB, free: 8.109 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.01001, allocations: 41.81 kB / 417.5 MB, free: 8.062 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006966/0.0107, allocations: 0.8306 MB / 418.4 MB, free: 7.199 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/0.01084, allocations: 219.5 kB / 418.6 MB, free: 6.965 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/0.01087, allocations: 12.5 kB / 418.6 MB, free: 6.953 MB / 394.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01087, allocations: 4 kB / 418.6 MB, free: 6.949 MB / 394.7 MB Notification: Performance of Templates: time 0.003964/0.01483, allocations: 3.853 MB / 422.4 MB, free: 3.09 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.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.546715911477804]