Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.001678/0.001678, allocations: 82.23 kB / 20.68 MB, free: 1.039 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.001907/0.001907, allocations: 163.5 kB / 23.95 MB, free: 4.168 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.423/1.423, allocations: 177.2 MB / 204.3 MB, free: 9.188 MB / 190.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.1963/0.1963, allocations: 32.81 MB / 293.5 MB, free: 44 kB / 270.1 MB " [Timeout remaining time 180] 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.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 440.1 MB, free: 8.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.904e-05/3.063e-05, allocations: 2.281 kB / 440.1 MB, free: 8.168 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003083/0.003114, allocations: 1.614 MB / 441.7 MB, free: 6.547 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.00423, allocations: 0.5492 MB / 442.3 MB, free: 5.992 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.683e-05/0.004287, allocations: 0 / 442.3 MB, free: 5.992 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006481/0.004935, allocations: 455 kB / 442.7 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004758/0.005411, allocations: 299.2 kB / 443 MB, free: 5.254 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004296/0.00584, allocations: 173.6 kB / 443.2 MB, free: 5.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002344/0.006075, allocations: 167.7 kB / 443.3 MB, free: 4.926 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.947e-05/0.006164, allocations: 11.94 kB / 443.3 MB, free: 4.914 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.006315, allocations: 119.8 kB / 443.5 MB, free: 4.797 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002681/0.006583, allocations: 239.5 kB / 443.7 MB, free: 4.562 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.006607, allocations: 8 kB / 443.7 MB, free: 4.555 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.246e-05/0.006669, allocations: 20 kB / 443.7 MB, free: 4.535 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.006784, allocations: 87.7 kB / 443.8 MB, free: 4.449 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.577e-05/0.00684, allocations: 39.67 kB / 443.8 MB, free: 4.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.007132, allocations: 223.2 kB / 444.1 MB, free: 4.191 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.007135, allocations: 0 / 444.1 MB, free: 4.191 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.007135, allocations: 0 / 444.1 MB, free: 4.191 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.00714, allocations: 0 / 444.1 MB, free: 4.191 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006931/0.007834, allocations: 0.5737 MB / 444.6 MB, free: 3.586 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.007868, allocations: 8.031 kB / 444.6 MB, free: 3.578 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.385e-05/0.007932, allocations: 44.66 kB / 444.7 MB, free: 3.535 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.008199, allocations: 246 kB / 444.9 MB, free: 3.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.008209, allocations: 384 / 444.9 MB, free: 3.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-06/0.008217, allocations: 384 / 444.9 MB, free: 3.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.00836, allocations: 54.23 kB / 445 MB, free: 3.211 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.008369, allocations: 192 / 445 MB, free: 3.211 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.008381, allocations: 4.125 kB / 445 MB, free: 3.207 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.008388, allocations: 4 kB / 445 MB, free: 3.203 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.627e-05/0.008474, allocations: 19.98 kB / 445 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004592/0.008933, allocations: 324.5 kB / 445.3 MB, free: 2.836 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.352e-05/0.009027, allocations: 34.56 kB / 445.4 MB, free: 2.793 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.569e-05/0.009082, allocations: 28.78 kB / 445.4 MB, free: 2.762 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.009102, allocations: 3.938 kB / 445.4 MB, free: 2.758 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.00913, allocations: 34.56 kB / 445.4 MB, free: 2.715 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.009132, allocations: 0 / 445.4 MB, free: 2.715 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003291/0.009461, allocations: 105.3 kB / 445.5 MB, free: 2.605 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.009503, allocations: 51.41 kB / 445.6 MB, free: 2.543 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008984/0.0104, allocations: 0.8653 MB / 446.4 MB, free: 1.664 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.01042, allocations: 29.7 kB / 446.5 MB, free: 1.629 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.01061, allocations: 212.1 kB / 446.7 MB, free: 1.418 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.01063, allocations: 7.938 kB / 446.7 MB, free: 1.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.01066, allocations: 17.7 kB / 446.7 MB, free: 1.387 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.01084, allocations: 358.8 kB / 447.1 MB, free: 1.027 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.916e-05/0.01088, allocations: 11.98 kB / 447.1 MB, free: 1.016 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.645e-05/0.01092, allocations: 8 kB / 447.1 MB, free: 1.008 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.746e-05/0.01101, allocations: 32.78 kB / 447.1 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.01101, allocations: 4.062 kB / 447.1 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001562/0.01117, allocations: 97.33 kB / 447.2 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.01118, allocations: 8 kB / 447.2 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.01119, allocations: 3.984 kB / 447.2 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.0112, allocations: 0 / 447.2 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.279e-05/0.01126, allocations: 4 kB / 447.2 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.01127, allocations: 3.984 kB / 447.2 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.243e-05/0.01131, allocations: 0 / 447.2 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.01132, allocations: 4 kB / 447.2 MB, free: 0.8438 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 (2): * Single equations (assignments): 2 * 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.0001876/0.0115, allocations: 214.5 kB / 447.4 MB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.79e-05/0.01156, allocations: 43.66 kB / 447.5 MB, free: 0.582 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002199/0.01178, allocations: 112.6 kB / 447.6 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.01178, allocations: 4 kB / 447.6 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.01179, allocations: 0 / 447.6 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.01179, allocations: 0 / 447.6 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/0.01205, allocations: 229.2 kB / 447.8 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.01205, allocations: 4 kB / 447.8 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.174e-05/0.01209, allocations: 11.98 kB / 447.8 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.0121, allocations: 7.969 kB / 447.8 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.01211, allocations: 0 / 447.8 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.01211, allocations: 0 / 447.8 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01211, allocations: 3.938 kB / 447.8 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1751/0.1872, allocations: 182.8 kB / 448 MB, free: 21.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.769e-05/0.1873, allocations: 39.39 kB / 448.1 MB, free: 21.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.1873, allocations: 4.375 kB / 448.1 MB, free: 21.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.031e-05/0.1874, allocations: 3.594 kB / 448.1 MB, free: 21.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.683e-05/0.1874, allocations: 1.891 kB / 448.1 MB, free: 21.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.85e-06/0.1875, allocations: 2.781 kB / 448.1 MB, free: 21.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006534/0.1881, allocations: 0.6544 MB / 448.7 MB, free: 21.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1881, allocations: 1.25 kB / 448.7 MB, free: 21.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.1884, allocations: 21.05 kB / 448.8 MB, free: 21.61 MB / 366.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 (2): * Single equations (assignments): 2 * 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.001305/0.1897, allocations: 370.2 kB / 449.1 MB, free: 21.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.1898, allocations: 24.59 kB / 449.1 MB, free: 21.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1898, allocations: 0 / 449.1 MB, free: 21.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.094e-05/0.1899, allocations: 16.88 kB / 449.2 MB, free: 21.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.1902, allocations: 26.27 kB / 449.2 MB, free: 21.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009438/0.1912, allocations: 0.7823 MB / 450 MB, free: 21.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.1913, allocations: 217.6 kB / 450.2 MB, free: 21.05 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.165e-05/0.1914, allocations: 11.84 kB / 450.2 MB, free: 21.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/0.1914, allocations: 18.81 kB / 450.2 MB, free: 21.04 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1914, allocations: 1.156 kB / 450.2 MB, free: 21.04 MB / 366.1 MB Notification: Performance of Templates: time 0.004433/0.1958, allocations: 1.118 MB / 451.3 MB, free: 20.86 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.6768425814807415]