Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.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.001435/0.001435, allocations: 88.23 kB / 20.2 MB, free: 4.23 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.001531/0.001531, allocations: 161.7 kB / 23.52 MB, free: 0.9219 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.577/1.577, allocations: 158.6 MB / 185.3 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] 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.243/0.243, allocations: 32.36 MB / 270 MB, free: 14.79 MB / 266.7 MB " [Timeout remaining time 179] 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.26e-05/4.502e-05, allocations: 2.312 kB / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002773/0.002818, allocations: 1.573 MB / 348.5 MB, free: 8.219 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006138/0.003432, allocations: 323.4 kB / 348.8 MB, free: 7.898 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.593e-05/0.003488, allocations: 0 / 348.8 MB, free: 7.898 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004972/0.003985, allocations: 455 kB / 349.3 MB, free: 7.453 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003172/0.004302, allocations: 259.4 kB / 349.5 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/0.004619, allocations: 143.7 kB / 349.7 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.00481, allocations: 159.7 kB / 349.8 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.669e-05/0.004906, allocations: 11.98 kB / 349.8 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.005032, allocations: 119.7 kB / 350 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.005227, allocations: 235.6 kB / 350.2 MB, free: 6.543 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.005251, allocations: 0 / 350.2 MB, free: 6.543 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.671e-05/0.005317, allocations: 20 kB / 350.2 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.825e-05/0.005415, allocations: 91.7 kB / 350.3 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.134e-05/0.005467, allocations: 31.73 kB / 350.3 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.005716, allocations: 223.2 kB / 350.5 MB, free: 6.184 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.005719, allocations: 0 / 350.5 MB, free: 6.184 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.00572, allocations: 3.938 kB / 350.5 MB, free: 6.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.005724, allocations: 0 / 350.5 MB, free: 6.18 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005408/0.006265, allocations: 0.5544 MB / 351.1 MB, free: 5.594 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.006301, allocations: 8.031 kB / 351.1 MB, free: 5.586 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.292e-05/0.006363, allocations: 48.66 kB / 351.2 MB, free: 5.539 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.006564, allocations: 250 kB / 351.4 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.006575, allocations: 384 / 351.4 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.198e-06/0.006584, allocations: 4.375 kB / 351.4 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.006712, allocations: 46.25 kB / 351.4 MB, free: 5.215 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.00672, allocations: 192 / 351.4 MB, free: 5.215 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.006734, allocations: 8.125 kB / 351.5 MB, free: 5.207 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.006739, allocations: 4 kB / 351.5 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.993e-05/0.006819, allocations: 27.91 kB / 351.5 MB, free: 5.176 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/0.00719, allocations: 316.5 kB / 351.8 MB, free: 4.836 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.95e-05/0.007269, allocations: 30.56 kB / 351.8 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.409e-05/0.007314, allocations: 24.84 kB / 351.8 MB, free: 4.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.007336, allocations: 3.938 kB / 351.9 MB, free: 4.766 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.007353, allocations: 30.56 kB / 351.9 MB, free: 4.727 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.007354, allocations: 0 / 351.9 MB, free: 4.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002487/0.007603, allocations: 105.4 kB / 352 MB, free: 4.617 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.007626, allocations: 51.41 kB / 352 MB, free: 4.555 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005737/0.0082, allocations: 0.8496 MB / 352.9 MB, free: 3.695 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/0.008209, allocations: 25.7 kB / 352.9 MB, free: 3.664 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.008316, allocations: 220.2 kB / 353.1 MB, free: 3.445 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.008334, allocations: 15.89 kB / 353.1 MB, free: 3.43 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.008361, allocations: 9.719 kB / 353.2 MB, free: 3.414 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.154e-05/0.008443, allocations: 362.8 kB / 353.5 MB, free: 3.051 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.115e-05/0.008484, allocations: 7.984 kB / 353.5 MB, free: 3.043 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.003e-05/0.008514, allocations: 15.94 kB / 353.5 MB, free: 3.027 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.714e-05/0.008581, allocations: 28.83 kB / 353.6 MB, free: 2.996 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.008582, allocations: 0 / 353.6 MB, free: 2.996 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001175/0.0087, allocations: 97.41 kB / 353.7 MB, free: 2.895 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.008714, allocations: 8 kB / 353.7 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.008719, allocations: 0 / 353.7 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.008737, allocations: 0 / 353.7 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.035e-05/0.008818, allocations: 7.984 kB / 353.7 MB, free: 2.879 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.008823, allocations: 0 / 353.7 MB, free: 2.879 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.117e-05/0.008864, allocations: 4 kB / 353.7 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.00887, allocations: 0 / 353.7 MB, free: 2.875 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 (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.0001347/0.009005, allocations: 213.7 kB / 353.9 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.009049, allocations: 51.58 kB / 353.9 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/0.009218, allocations: 104.8 kB / 354 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.009221, allocations: 4 kB / 354 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.009226, allocations: 0 / 354 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.009229, allocations: 0 / 354 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.009428, allocations: 229.2 kB / 354.3 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.009429, allocations: 0 / 354.3 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.977e-05/0.009458, allocations: 4 kB / 354.3 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.009461, allocations: 3.938 kB / 354.3 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.00947, allocations: 8 kB / 354.3 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.009473, allocations: 8.016 kB / 354.3 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.009474, allocations: 0 / 354.3 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.009631, allocations: 191.2 kB / 354.5 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.32e-05/0.009664, allocations: 35.66 kB / 354.5 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.009696, allocations: 0 / 354.5 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.235e-05/0.009768, allocations: 7.984 kB / 354.5 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.009806, allocations: 0 / 354.5 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.009809, allocations: 0 / 354.5 MB, free: 1.969 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004142/0.01022, allocations: 0.6472 MB / 355.2 MB, free: 1.324 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01022, allocations: 0 / 355.2 MB, free: 1.324 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002436/0.01047, allocations: 16.03 kB / 355.2 MB, free: 1.309 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 (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.001659/0.01213, allocations: 380.1 kB / 355.5 MB, free: 1.039 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001254/0.01225, allocations: 27.92 kB / 355.6 MB, free: 1.012 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01225, allocations: 0 / 355.6 MB, free: 1.012 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.963e-05/0.01229, allocations: 15.98 kB / 355.6 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.01271, allocations: 27.58 kB / 355.6 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007791/0.01349, allocations: 0.7791 MB / 356.4 MB, free: 160 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002108/0.0137, allocations: 219.5 kB / 356.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.468e-05/0.01375, allocations: 7.984 kB / 356.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.103e-05/0.01379, allocations: 16.48 kB / 356.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of SimCode: time 4.6e-07/0.01379, allocations: 4 kB / 356.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of Templates: time 0.004997/0.01879, allocations: 1.152 MB / 357.8 MB, free: 14.75 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.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.991403235006146]