Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 104.3 kB / 18.4 MB, free: 4.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 191 kB / 19.34 MB, free: 3.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 243 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2139/0.2139, allocations: 44.17 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 63.8 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08642/0.08758, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.002279/0.08989, allocations: 1.565 MB / 472.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000569/0.09047, allocations: 407.2 kB / 472.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.592e-05/0.09052, allocations: 4 kB / 472.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000401/0.09093, allocations: 451.1 kB / 473.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000272/0.09121, allocations: 251.4 kB / 473.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.09147, allocations: 127.4 kB / 473.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.09165, allocations: 147.7 kB / 473.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.42e-05/0.09173, allocations: 23.97 kB / 473.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.291e-05/0.09182, allocations: 99.8 kB / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.09199, allocations: 203.6 kB / 474 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.09201, allocations: 4 kB / 474 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.208e-05/0.09207, allocations: 27.97 kB / 474 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.906e-05/0.09215, allocations: 79.7 kB / 474.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.916e-05/0.09222, allocations: 103 kB / 474.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.09241, allocations: 235 kB / 474.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.09242, allocations: 0 / 474.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.09243, allocations: 0 / 474.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.09244, allocations: 0 / 474.4 MB, free: 9.945 MB / 350.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.0005117/0.09295, allocations: 0.6219 MB / 475 MB, free: 9.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.72e-05/0.09299, allocations: 12.03 kB / 475 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.09304, allocations: 44.38 kB / 475.1 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.09325, allocations: 276.3 kB / 475.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.09327, allocations: 12.31 kB / 475.3 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.09328, allocations: 4.375 kB / 475.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.828e-05/0.09338, allocations: 49.8 kB / 475.4 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-06/0.0934, allocations: 7.938 kB / 475.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-06/0.09341, allocations: 0 / 475.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-06/0.09342, allocations: 0 / 475.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.938e-05/0.09349, allocations: 23.97 kB / 475.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003357/0.09383, allocations: 372.7 kB / 475.8 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.893e-05/0.09391, allocations: 38.5 kB / 475.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.783e-05/0.09396, allocations: 16.92 kB / 475.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.09398, allocations: 0 / 475.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.094, allocations: 34.56 kB / 475.9 MB, free: 8.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.09401, allocations: 0 / 475.9 MB, free: 8.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002007/0.09421, allocations: 101.1 kB / 476 MB, free: 8.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/0.09424, allocations: 51.41 kB / 476 MB, free: 8.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006347/0.09488, allocations: 0.8574 MB / 476.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.0949, allocations: 25.7 kB / 476.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.09503, allocations: 216.1 kB / 477.1 MB, free: 7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.395e-05/0.09505, allocations: 15.83 kB / 477.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.09508, allocations: 13.72 kB / 477.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.09518, allocations: 358.7 kB / 477.5 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.484e-05/0.09523, allocations: 16.11 kB / 477.5 MB, free: 6.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.73e-05/0.09526, allocations: 8 kB / 477.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.781e-05/0.09532, allocations: 24.84 kB / 477.6 MB, free: 6.555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.09533, allocations: 0 / 477.6 MB, free: 6.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001154/0.09545, allocations: 93.05 kB / 477.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/0.09547, allocations: 8 kB / 477.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-06/0.09548, allocations: 4.094 kB / 477.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.208e-06/0.09549, allocations: 0 / 477.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.727e-05/0.09554, allocations: 4 kB / 477.7 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.586e-06/0.09555, allocations: 0 / 477.7 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.891e-05/0.09559, allocations: 4 kB / 477.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.0956, allocations: 0 / 477.7 MB, free: 6.438 MB / 350.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.0001431/0.09575, allocations: 213.7 kB / 477.9 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.414e-05/0.0958, allocations: 43.44 kB / 477.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.09596, allocations: 108.6 kB / 478 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.09597, allocations: 0 / 478 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.09598, allocations: 0 / 478 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.09599, allocations: 3.938 kB / 478 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.0962, allocations: 281.5 kB / 478.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.0962, allocations: 0 / 478.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.968e-05/0.09624, allocations: 4 kB / 478.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.09624, allocations: 0 / 478.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.09626, allocations: 4 kB / 478.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.09626, allocations: 3.984 kB / 478.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.09627, allocations: 7.969 kB / 478.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.09642, allocations: 187 kB / 478.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.614e-05/0.09649, allocations: 108.5 kB / 478.6 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.09651, allocations: 0 / 478.6 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.648e-05/0.09658, allocations: 4 kB / 478.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.167e-05/0.09661, allocations: 3.984 kB / 478.6 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.09662, allocations: 0 / 478.6 MB, free: 5.379 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000475/0.0971, allocations: 0.6512 MB / 479.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.252e-06/0.09711, allocations: 0 / 479.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002199/0.09733, allocations: 23.88 kB / 479.3 MB, free: 4.707 MB / 350.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.0006542/0.09799, allocations: 359.4 kB / 479.6 MB, free: 4.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000103/0.0981, allocations: 19.98 kB / 479.7 MB, free: 4.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.09811, allocations: 0 / 479.7 MB, free: 4.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.548e-05/0.09815, allocations: 12 kB / 479.7 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.09845, allocations: 24.92 kB / 479.7 MB, free: 4.426 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007423/0.0992, allocations: 0.7555 MB / 480.5 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.09951, allocations: 0.8182 MB / 481.3 MB, free: 2.805 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.889e-05/0.09955, allocations: 11.97 kB / 481.3 MB, free: 2.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.21e-05/0.09957, allocations: 19.38 kB / 481.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.09958, allocations: 0 / 481.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of Templates: time 0.1771/0.2767, allocations: 1.246 MB / 482.5 MB, free: 1.535 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches