Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007596/0.0007596, allocations: 93.14 kB / 17.35 MB, free: 6.344 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.0007818/0.0007818, allocations: 172.2 kB / 18.25 MB, free: 5.504 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.303/1.303, allocations: 223.3 MB / 242.3 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1923/0.1923, allocations: 44.25 MB / 337.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003015/0.0003016, allocations: 10.5 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1108, allocations: 61.93 MB / 472.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.002071/0.113, allocations: 1.337 MB / 473.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000768/0.1137, allocations: 427.2 kB / 474 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.372e-05/0.1138, allocations: 0 / 474 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00053/0.1143, allocations: 447.2 kB / 474.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002894/0.1146, allocations: 247.6 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003163/0.115, allocations: 114.8 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.1152, allocations: 163.6 kB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1153, allocations: 16 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.1154, allocations: 107.8 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.1156, allocations: 199.6 kB / 475.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.1156, allocations: 0 / 475.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.477e-05/0.1157, allocations: 43.98 kB / 475.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.1159, allocations: 91.67 kB / 475.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.3e-05/0.116, allocations: 124.7 kB / 475.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.1162, allocations: 250.9 kB / 475.8 MB, free: 9.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1162, allocations: 4 kB / 475.8 MB, free: 9.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1162, allocations: 0 / 475.8 MB, free: 9.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1162, allocations: 0 / 475.8 MB, free: 9.809 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006205/0.1169, allocations: 0.5858 MB / 476.4 MB, free: 9.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1169, allocations: 15.97 kB / 476.4 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.406e-05/0.117, allocations: 44.38 kB / 476.4 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.1172, allocations: 292.2 kB / 476.7 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.1173, allocations: 8.375 kB / 476.7 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.1173, allocations: 4.375 kB / 476.7 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.1174, allocations: 65.73 kB / 476.8 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1175, allocations: 3.984 kB / 476.8 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1175, allocations: 0 / 476.8 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1175, allocations: 0 / 476.8 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.1176, allocations: 39.97 kB / 476.8 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004775/0.1181, allocations: 396.6 kB / 477.2 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.1182, allocations: 42.56 kB / 477.3 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.782e-05/0.1183, allocations: 28.94 kB / 477.3 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.1183, allocations: 0 / 477.3 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.1183, allocations: 30.56 kB / 477.3 MB, free: 8.109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.934e-06/0.1183, allocations: 96 / 477.3 MB, free: 8.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009592/0.1193, allocations: 335.7 kB / 477.6 MB, free: 7.773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.1193, allocations: 55.34 kB / 477.7 MB, free: 7.707 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007978/0.1202, allocations: 0.8574 MB / 478.6 MB, free: 6.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.1202, allocations: 25.7 kB / 478.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.1203, allocations: 220.1 kB / 478.8 MB, free: 6.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.1204, allocations: 23.56 kB / 478.8 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.1204, allocations: 21.7 kB / 478.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.1206, allocations: 354.8 kB / 479.2 MB, free: 6.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.403e-05/0.1207, allocations: 35.98 kB / 479.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.192e-05/0.1208, allocations: 36.02 kB / 479.3 MB, free: 6.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.1209, allocations: 64.84 kB / 479.3 MB, free: 6.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.121, allocations: 4 kB / 479.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002393/0.1212, allocations: 141.1 kB / 479.5 MB, free: 5.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1212, allocations: 6.5 kB / 479.5 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1212, allocations: 0 / 479.5 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.1213, allocations: 4 kB / 479.5 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.684e-05/0.1214, allocations: 23.98 kB / 479.5 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.1214, allocations: 3.938 kB / 479.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.341e-05/0.1214, allocations: 8 kB / 479.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.1214, allocations: 4 kB / 479.5 MB, free: 5.852 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 (8): * Single equations (assignments): 8 * 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.0001765/0.1216, allocations: 218.2 kB / 479.7 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.152e-05/0.1217, allocations: 39.44 kB / 479.8 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003035/0.122, allocations: 173.3 kB / 479.9 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.122, allocations: 0 / 479.9 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.122, allocations: 3.938 kB / 479.9 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.122, allocations: 0 / 479.9 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000571/0.1226, allocations: 0.507 MB / 480.4 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1226, allocations: 3.938 kB / 480.4 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.572e-05/0.1227, allocations: 19.98 kB / 480.5 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1227, allocations: 0 / 480.5 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.1227, allocations: 4 kB / 480.5 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1227, allocations: 4.031 kB / 480.5 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1227, allocations: 4 kB / 480.5 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.123, allocations: 244.2 kB / 480.7 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.211e-05/0.1231, allocations: 120.9 kB / 480.8 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.1231, allocations: 4 kB / 480.8 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.469e-05/0.1232, allocations: 8 kB / 480.8 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.1232, allocations: 7.984 kB / 480.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.1233, allocations: 4 kB / 480.9 MB, free: 4.387 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005939/0.1238, allocations: 0.6472 MB / 481.5 MB, free: 3.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1239, allocations: 0 / 481.5 MB, free: 3.742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.1241, allocations: 31.98 kB / 481.5 MB, free: 3.711 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001106/0.1252, allocations: 463.3 kB / 482 MB, free: 3.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002094/0.1255, allocations: 71.91 kB / 482.1 MB, free: 3.363 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1255, allocations: 0 / 482.1 MB, free: 3.363 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.891e-05/0.1256, allocations: 43.92 kB / 482.1 MB, free: 3.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.126, allocations: 33.55 kB / 482.1 MB, free: 3.293 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.1271, allocations: 0.897 MB / 483 MB, free: 2.367 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.1275, allocations: 0.8224 MB / 483.9 MB, free: 1.516 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.507e-05/0.1275, allocations: 12.97 kB / 483.9 MB, free: 1.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.1276, allocations: 15.44 kB / 483.9 MB, free: 1.484 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1276, allocations: 4 kB / 483.9 MB, free: 1.48 MB / 350.1 MB Notification: Performance of Templates: time 0.004393/0.132, allocations: 1.573 MB / 485.5 MB, free: 15.91 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches