Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.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.001497/0.001497, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001324/0.001324, allocations: 165.7 kB / 24.84 MB, free: 8.711 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.9745/0.9745, allocations: 158.6 MB / 186.7 MB, free: 2.785 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.1952/0.1952, allocations: 32.38 MB / 271.5 MB, free: 14.4 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.CombiTable2D.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27") translateModel(ModelicaTest.Tables.CombiTable2D.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 348.9 MB, free: 9.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.221e-05, allocations: 6.25 kB / 348.9 MB, free: 9.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test27): time 0.003101/0.003123, allocations: 1.644 MB / 350.6 MB, free: 7.5 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006798/0.003803, allocations: 319.3 kB / 350.9 MB, free: 7.184 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.838e-05/0.003862, allocations: 4 kB / 350.9 MB, free: 7.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002238/0.004085, allocations: 55.78 kB / 350.9 MB, free: 7.125 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.004267, allocations: 59.69 kB / 351 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.004583, allocations: 115.7 kB / 351.1 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.00475, allocations: 67.81 kB / 351.2 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.795e-05/0.004828, allocations: 8.188 kB / 351.2 MB, free: 6.879 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.753e-05/0.004885, allocations: 47.81 kB / 351.2 MB, free: 6.832 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.258e-05/0.004968, allocations: 39.91 kB / 351.3 MB, free: 6.793 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.004985, allocations: 4 kB / 351.3 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.692e-05/0.005052, allocations: 35.91 kB / 351.3 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.466e-05/0.005107, allocations: 23.92 kB / 351.3 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.716e-05/0.005124, allocations: 11.94 kB / 351.3 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.005238, allocations: 79.72 kB / 351.4 MB, free: 6.641 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.00524, allocations: 0 / 351.4 MB, free: 6.641 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.005242, allocations: 0 / 351.4 MB, free: 6.641 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.005246, allocations: 0 / 351.4 MB, free: 6.641 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.0002955/0.005541, allocations: 424 kB / 351.8 MB, free: 6.191 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.005578, allocations: 8.031 kB / 351.8 MB, free: 6.184 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.603e-05/0.005604, allocations: 16.89 kB / 351.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.663e-05/0.0057, allocations: 137 kB / 352 MB, free: 6.008 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.005712, allocations: 8.359 kB / 352 MB, free: 6 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.005725, allocations: 384 / 352 MB, free: 6 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.009e-05/0.005805, allocations: 66.52 kB / 352.1 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.005813, allocations: 0 / 352.1 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.00582, allocations: 0 / 352.1 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.005824, allocations: 0 / 352.1 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.63e-05/0.00585, allocations: 15.92 kB / 352.1 MB, free: 5.91 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002129/0.006063, allocations: 260.4 kB / 352.3 MB, free: 5.629 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.214e-05/0.006125, allocations: 42.98 kB / 352.4 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.427e-05/0.006139, allocations: 7.688 kB / 352.4 MB, free: 5.562 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.006158, allocations: 4 kB / 352.4 MB, free: 5.559 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.006176, allocations: 45.39 kB / 352.4 MB, free: 5.504 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 6.61e-07/0.006177, allocations: 7.938 kB / 352.4 MB, free: 5.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002777/0.006455, allocations: 109.5 kB / 352.5 MB, free: 5.383 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.006492, allocations: 55.41 kB / 352.6 MB, free: 5.316 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.385e-05/0.006586, allocations: 213.8 kB / 352.8 MB, free: 5.09 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.006595, allocations: 29.7 kB / 352.8 MB, free: 5.055 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.06e-05/0.006625, allocations: 146.8 kB / 353 MB, free: 4.906 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.006644, allocations: 27.73 kB / 353 MB, free: 4.879 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.006669, allocations: 27.36 kB / 353 MB, free: 4.844 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.7e-05/0.006726, allocations: 0.4922 MB / 353.5 MB, free: 4.34 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.458e-05/0.00674, allocations: 11.98 kB / 353.5 MB, free: 4.328 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.723e-05/0.006757, allocations: 12.06 kB / 353.5 MB, free: 4.316 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.366e-05/0.006791, allocations: 27.67 kB / 353.6 MB, free: 4.285 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.006792, allocations: 0 / 353.6 MB, free: 4.285 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.77e-05/0.00686, allocations: 65.58 kB / 353.6 MB, free: 4.215 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.00687, allocations: 4 kB / 353.6 MB, free: 4.211 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.006873, allocations: 0 / 353.6 MB, free: 4.211 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.793e-06/0.00688, allocations: 0 / 353.6 MB, free: 4.211 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.072e-05/0.006941, allocations: 23.98 kB / 353.7 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.006943, allocations: 0 / 353.7 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.116e-05/0.006964, allocations: 7.984 kB / 353.7 MB, free: 4.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.006968, allocations: 7.938 kB / 353.7 MB, free: 4.172 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 (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 4.514e-05/0.007013, allocations: 152.6 kB / 353.8 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.95e-05/0.007032, allocations: 15.95 kB / 353.8 MB, free: 3.996 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.541e-05/0.007128, allocations: 78.38 kB / 353.9 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.007129, allocations: 0 / 353.9 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.00713, allocations: 0 / 353.9 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.007133, allocations: 0 / 353.9 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.007314, allocations: 314 kB / 354.2 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.007316, allocations: 0 / 354.2 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.471e-05/0.007351, allocations: 19.94 kB / 354.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.007352, allocations: 0 / 354.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-06/0.007357, allocations: 4 kB / 354.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.007359, allocations: 3.984 kB / 354.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.00736, allocations: 0 / 354.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.326e-05/0.007443, allocations: 219.7 kB / 354.5 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-06/0.007452, allocations: 7.953 kB / 354.5 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.007463, allocations: 4 kB / 354.5 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.352e-05/0.007497, allocations: 8 kB / 354.5 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.007528, allocations: 7.984 kB / 354.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.007533, allocations: 3.938 kB / 354.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.743e-05/0.00757, allocations: 155.2 kB / 354.7 MB, free: 3.133 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00757, allocations: 3.938 kB / 354.7 MB, free: 3.129 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001525/0.007723, allocations: 16 kB / 354.7 MB, free: 3.113 MB / 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 (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.0007008/0.008423, allocations: 385.6 kB / 355.1 MB, free: 2.824 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.729e-05/0.008501, allocations: 27.67 kB / 355.1 MB, free: 2.793 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.91e-07/0.008501, allocations: 0 / 355.1 MB, free: 2.793 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.226e-05/0.008524, allocations: 35.59 kB / 355.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.008704, allocations: 25.23 kB / 355.1 MB, free: 2.73 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002517/0.008956, allocations: 206.5 kB / 355.3 MB, free: 2.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.62e-05/0.008982, allocations: 67.34 kB / 355.4 MB, free: 2.414 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.544e-05/0.009008, allocations: 11.98 kB / 355.4 MB, free: 2.402 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.201e-05/0.00905, allocations: 78.2 kB / 355.5 MB, free: 2.324 MB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.00905, allocations: 0 / 355.5 MB, free: 2.324 MB / 282.7 MB Notification: Performance of Templates: time 0.002643/0.01169, allocations: 1.44 MB / 356.9 MB, free: 0.8945 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test27/Test27.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.3413244048133492]