Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 110.3 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002957/0.002957, allocations: 187.6 kB / 22.97 MB, free: 5.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 225.6 MB / 251.6 MB, free: 13.32 MB / 206.1 MB " [Timeout remaining time 178] 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.2941/0.2941, allocations: 44.92 MB / 351.6 MB, free: 12.3 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 68.12 kB / 495.3 MB, free: 3.312 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4311/0.4331, allocations: 64.23 MB / 0.5464 GB, free: 41.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.00341/0.4365, allocations: 1.648 MB / 0.548 GB, free: 40.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.4382, allocations: 1.126 MB / 0.5491 GB, free: 39.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.316e-05/0.4383, allocations: 3.031 kB / 0.5491 GB, free: 39.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002987/0.4386, allocations: 26.25 kB / 0.5491 GB, free: 39.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002765/0.4389, allocations: 47.58 kB / 0.5492 GB, free: 39.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004908/0.4393, allocations: 176.5 kB / 0.5493 GB, free: 39.26 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.4395, allocations: 65.14 kB / 0.5494 GB, free: 39.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.4397, allocations: 17.27 kB / 0.5494 GB, free: 39.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.125e-05/0.4398, allocations: 31.53 kB / 0.5495 GB, free: 39.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.4399, allocations: 32.89 kB / 0.5495 GB, free: 39.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.44, allocations: 3.469 kB / 0.5495 GB, free: 39.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.4401, allocations: 50.2 kB / 0.5495 GB, free: 39.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.154e-05/0.4401, allocations: 23.14 kB / 0.5496 GB, free: 39.17 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.335e-05/0.4402, allocations: 25.59 kB / 0.5496 GB, free: 39.15 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.4404, allocations: 99.31 kB / 0.5497 GB, free: 39.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.4404, allocations: 0 / 0.5497 GB, free: 39.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4404, allocations: 0 / 0.5497 GB, free: 39.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.4405, allocations: 1.531 kB / 0.5497 GB, free: 39.11 MB / 446.1 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.0005439/0.441, allocations: 395.5 kB / 0.5501 GB, free: 38.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.441, allocations: 11.56 kB / 0.5501 GB, free: 38.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.4411, allocations: 8.016 kB / 0.5501 GB, free: 38.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.4413, allocations: 186 kB / 0.5503 GB, free: 38.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.4413, allocations: 7.375 kB / 0.5503 GB, free: 38.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.4413, allocations: 1 kB / 0.5503 GB, free: 38.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.4415, allocations: 87.19 kB / 0.5503 GB, free: 38.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.4416, allocations: 4.875 kB / 0.5503 GB, free: 38.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.4416, allocations: 3.062 kB / 0.5504 GB, free: 38.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.4416, allocations: 0 / 0.5504 GB, free: 38.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.4417, allocations: 39.86 kB / 0.5504 GB, free: 38.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003548/0.4421, allocations: 303.7 kB / 0.5507 GB, free: 38.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.4422, allocations: 53.77 kB / 0.5507 GB, free: 38.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.347e-05/0.4422, allocations: 21.98 kB / 0.5508 GB, free: 38.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.4423, allocations: 6.234 kB / 0.5508 GB, free: 38.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.4423, allocations: 32.69 kB / 0.5508 GB, free: 38.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.4423, allocations: 0 / 0.5508 GB, free: 38.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.000712/0.443, allocations: 221.9 kB / 0.551 GB, free: 37.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.443, allocations: 77.8 kB / 0.5511 GB, free: 37.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.4432, allocations: 137.7 kB / 0.5512 GB, free: 37.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.836e-06/0.4432, allocations: 25.7 kB / 0.5512 GB, free: 37.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.169e-05/0.4432, allocations: 99.08 kB / 0.5513 GB, free: 37.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.4432, allocations: 22.59 kB / 0.5513 GB, free: 37.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.4433, allocations: 20.19 kB / 0.5514 GB, free: 37.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.823e-05/0.4433, allocations: 325.8 kB / 0.5517 GB, free: 37.28 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.4434, allocations: 36.58 kB / 0.5517 GB, free: 37.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.727e-05/0.4435, allocations: 56.84 kB / 0.5518 GB, free: 37.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.4437, allocations: 89.56 kB / 0.5519 GB, free: 37.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.4437, allocations: 0 / 0.5519 GB, free: 37.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002459/0.4439, allocations: 126.3 kB / 0.552 GB, free: 37.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.444, allocations: 7.281 kB / 0.552 GB, free: 37.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.444, allocations: 0 / 0.552 GB, free: 37.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.444, allocations: 0 / 0.552 GB, free: 37.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.4441, allocations: 20.69 kB / 0.552 GB, free: 37.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.4441, allocations: 4.062 kB / 0.552 GB, free: 37.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.482e-05/0.4442, allocations: 13.7 kB / 0.552 GB, free: 37.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.4442, allocations: 7.938 kB / 0.552 GB, free: 37.15 MB / 446.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 (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 7.925e-05/0.4443, allocations: 123.8 kB / 0.5521 GB, free: 37.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.4443, allocations: 7.016 kB / 0.5521 GB, free: 37.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003291/0.4446, allocations: 143.5 kB / 0.5523 GB, free: 36.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.4446, allocations: 0 / 0.5523 GB, free: 36.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.4446, allocations: 2.938 kB / 0.5523 GB, free: 36.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.4446, allocations: 3.938 kB / 0.5523 GB, free: 36.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000465/0.4451, allocations: 403.3 kB / 0.5527 GB, free: 36.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4451, allocations: 4 kB / 0.5527 GB, free: 36.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.679e-05/0.4452, allocations: 24.31 kB / 0.5527 GB, free: 36.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4452, allocations: 0 / 0.5527 GB, free: 36.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.4452, allocations: 4.641 kB / 0.5527 GB, free: 36.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4452, allocations: 3.406 kB / 0.5527 GB, free: 36.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4452, allocations: 0 / 0.5527 GB, free: 36.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.4455, allocations: 224.5 kB / 0.5529 GB, free: 36.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.455e-05/0.4456, allocations: 77.11 kB / 0.553 GB, free: 36.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.4456, allocations: 6.406 kB / 0.553 GB, free: 36.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.128e-05/0.4457, allocations: 9.234 kB / 0.553 GB, free: 36.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.696e-05/0.4457, allocations: 12.7 kB / 0.553 GB, free: 36.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.4457, allocations: 2.75 kB / 0.553 GB, free: 36.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.449e-05/0.4458, allocations: 110.4 kB / 0.5531 GB, free: 36.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4458, allocations: 0 / 0.5531 GB, free: 36.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.446, allocations: 27.98 kB / 0.5532 GB, free: 36.25 MB / 446.1 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.001485/0.4475, allocations: 451.6 kB / 0.5536 GB, free: 36.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002914/0.4478, allocations: 95.48 kB / 0.5537 GB, free: 36.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4478, allocations: 0 / 0.5537 GB, free: 36.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.4479, allocations: 48.31 kB / 0.5537 GB, free: 36.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.4483, allocations: 17.23 kB / 0.5537 GB, free: 36.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004037/0.4487, allocations: 210.1 kB / 0.5539 GB, free: 35.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.4488, allocations: 0.7018 MB / 0.5546 GB, free: 35.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.054e-05/0.4489, allocations: 24.72 kB / 0.5547 GB, free: 35.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.924e-05/0.449, allocations: 15.03 kB / 0.5547 GB, free: 35.14 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.449, allocations: 0 / 0.5547 GB, free: 35.14 MB / 446.1 MB Notification: Performance of Templates: time 0.004163/0.4531, allocations: 1.564 MB / 0.5562 GB, free: 34.96 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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: 5.602488089352846]