Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 107.1 kB / 18.39 MB, free: 4.629 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.001059/0.001059, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.364/1.364, allocations: 222.9 MB / 243 MB, free: 15.07 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.2116/0.2116, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 70.72 kB / 409.9 MB, free: 26.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1139, allocations: 60.83 MB / 470.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.00331/0.1172, allocations: 1.599 MB / 472.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008071/0.1181, allocations: 435.1 kB / 472.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.112e-05/0.1181, allocations: 0 / 472.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005951/0.1187, allocations: 451.1 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003911/0.1192, allocations: 255.4 kB / 473.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.1195, allocations: 123.4 kB / 473.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002368/0.1198, allocations: 159.7 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.1199, allocations: 20.17 kB / 473.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.1201, allocations: 103.8 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/0.1203, allocations: 211.6 kB / 474 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.1203, allocations: 4 kB / 474 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.775e-05/0.1204, allocations: 35.98 kB / 474.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.1206, allocations: 83.67 kB / 474.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.072e-05/0.1206, allocations: 95.06 kB / 474.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003099/0.121, allocations: 251 kB / 474.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.121, allocations: 4 kB / 474.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.808e-06/0.121, allocations: 0 / 474.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.121, allocations: 3.938 kB / 474.5 MB, free: 9.82 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006918/0.1217, allocations: 0.6258 MB / 475.1 MB, free: 9.145 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.1217, allocations: 12.02 kB / 475.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.435e-05/0.1218, allocations: 44.38 kB / 475.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.1221, allocations: 284.3 kB / 475.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.1221, allocations: 8.375 kB / 475.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.1222, allocations: 8.359 kB / 475.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.1223, allocations: 53.62 kB / 475.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.1223, allocations: 0 / 475.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1223, allocations: 11.92 kB / 475.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1223, allocations: 0 / 475.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.882e-05/0.1224, allocations: 31.91 kB / 475.6 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.1229, allocations: 380.7 kB / 475.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.1231, allocations: 46.5 kB / 476 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.115e-05/0.1231, allocations: 20.94 kB / 476 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.1232, allocations: 0 / 476 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.1232, allocations: 30.56 kB / 476 MB, free: 8.113 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.1232, allocations: 0 / 476 MB, free: 8.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005429/0.1237, allocations: 227.9 kB / 476.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.1238, allocations: 51.41 kB / 476.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007175/0.1245, allocations: 0.8613 MB / 477.2 MB, free: 6.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.1245, allocations: 29.7 kB / 477.2 MB, free: 6.914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.1247, allocations: 216.1 kB / 477.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.1247, allocations: 11.72 kB / 477.4 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.1247, allocations: 25.7 kB / 477.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1249, allocations: 358.8 kB / 477.8 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.201e-05/0.1249, allocations: 15.98 kB / 477.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.634e-05/0.125, allocations: 19.98 kB / 477.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.1251, allocations: 48.83 kB / 477.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1251, allocations: 0 / 477.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001903/0.1253, allocations: 113.1 kB / 478 MB, free: 6.094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1254, allocations: 8 kB / 478 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1254, allocations: 3.938 kB / 478 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1254, allocations: 0 / 478 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.913e-05/0.1254, allocations: 15.98 kB / 478 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1255, allocations: 0 / 478 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.963e-05/0.1255, allocations: 3.938 kB / 478 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.1255, allocations: 8 kB / 478 MB, free: 6.055 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 (5): * Single equations (assignments): 5 * 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.0001697/0.1257, allocations: 209.8 kB / 478.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.295e-05/0.1258, allocations: 43.44 kB / 478.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002681/0.126, allocations: 141.2 kB / 478.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.1261, allocations: 3.984 kB / 478.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1261, allocations: 0 / 478.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1261, allocations: 3.938 kB / 478.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004956/0.1266, allocations: 454.5 kB / 478.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1266, allocations: 0 / 478.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.181e-05/0.1266, allocations: 15.94 kB / 478.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1267, allocations: 0 / 478.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.1267, allocations: 7.938 kB / 478.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1267, allocations: 0 / 478.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1267, allocations: 0 / 478.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.1269, allocations: 214.9 kB / 479.1 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.517e-05/0.127, allocations: 108.6 kB / 479.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.127, allocations: 3.938 kB / 479.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.911e-05/0.1271, allocations: 7.984 kB / 479.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.1272, allocations: 8 kB / 479.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.1272, allocations: 0 / 479.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005572/0.1277, allocations: 0.6472 MB / 479.9 MB, free: 4.102 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1277, allocations: 0 / 479.9 MB, free: 4.102 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.128, allocations: 23.98 kB / 479.9 MB, free: 4.078 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 (5): * Single equations (assignments): 5 * 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.0009334/0.1289, allocations: 417.7 kB / 480.3 MB, free: 3.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.1291, allocations: 47.97 kB / 480.3 MB, free: 3.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1292, allocations: 0 / 480.3 MB, free: 3.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.75e-05/0.1292, allocations: 27.92 kB / 480.4 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.1296, allocations: 29.61 kB / 480.4 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009138/0.1305, allocations: 0.7794 MB / 481.2 MB, free: 2.914 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.1309, allocations: 0.8221 MB / 482 MB, free: 2.066 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.307e-05/0.131, allocations: 15.97 kB / 482 MB, free: 2.051 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.131, allocations: 11.44 kB / 482 MB, free: 2.039 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.131, allocations: 0 / 482 MB, free: 2.039 MB / 350.1 MB Notification: Performance of Templates: time 0.004649/0.1357, allocations: 1.437 MB / 483.5 MB, free: 0.6055 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches