Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000962/0.0009621, allocations: 90.98 kB / 18 MB, free: 5.734 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.000895/0.0008952, allocations: 177.6 kB / 18.91 MB, free: 4.871 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.356/1.356, allocations: 223.3 MB / 243 MB, free: 20 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.1946/0.1946, allocations: 44.24 MB / 338.3 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003971/0.0003972, allocations: 8 kB / 411 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1163, allocations: 61.93 MB / 472.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.001872/0.1182, allocations: 1.352 MB / 474.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008056/0.119, allocations: 439.2 kB / 474.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.173e-05/0.1191, allocations: 0 / 474.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.1194, allocations: 55.86 kB / 474.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.1195, allocations: 43.83 kB / 474.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004244/0.12, allocations: 160.9 kB / 474.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.1201, allocations: 75.77 kB / 475 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1202, allocations: 19.98 kB / 475 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.936e-05/0.1203, allocations: 27.91 kB / 475.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.225e-05/0.1204, allocations: 39.78 kB / 475.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.1204, allocations: 0 / 475.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.1205, allocations: 47.97 kB / 475.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.89e-05/0.1206, allocations: 19.98 kB / 475.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.232e-05/0.1206, allocations: 57.39 kB / 475.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.1208, allocations: 76.16 kB / 475.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1208, allocations: 3.938 kB / 475.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1208, allocations: 0 / 475.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1208, allocations: 0 / 475.3 MB, free: 10.93 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.0004478/0.1213, allocations: 399.2 kB / 475.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1213, allocations: 8.031 kB / 475.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.1213, allocations: 8.844 kB / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.1215, allocations: 192.1 kB / 475.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.1215, allocations: 4.375 kB / 475.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.1216, allocations: 4.375 kB / 475.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.1218, allocations: 77.73 kB / 476 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1218, allocations: 7.906 kB / 476 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1218, allocations: 3.984 kB / 476 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1218, allocations: 0 / 476 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.122, allocations: 51.95 kB / 476 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004447/0.1224, allocations: 320.7 kB / 476.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.1227, allocations: 62.55 kB / 476.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.759e-05/0.1228, allocations: 36.95 kB / 476.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.1228, allocations: 0 / 476.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.1228, allocations: 34.66 kB / 476.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1228, allocations: 7.938 kB / 476.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001572/0.1244, allocations: 489.1 kB / 477 MB, free: 9.094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.1245, allocations: 59.34 kB / 477 MB, free: 9.023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.1246, allocations: 165.8 kB / 477.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.1246, allocations: 25.7 kB / 477.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.384e-05/0.1247, allocations: 108 kB / 477.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.1247, allocations: 35.41 kB / 477.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.1248, allocations: 21.7 kB / 477.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1249, allocations: 322.8 kB / 477.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.125, allocations: 59.91 kB / 477.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.1252, allocations: 67.95 kB / 477.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.1255, allocations: 144.7 kB / 478 MB, free: 8.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1255, allocations: 0 / 478 MB, free: 8.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003616/0.1259, allocations: 177.8 kB / 478.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1259, allocations: 7.984 kB / 478.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1259, allocations: 3.938 kB / 478.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.1259, allocations: 0 / 478.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.1261, allocations: 35.92 kB / 478.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-06/0.1261, allocations: 4 kB / 478.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.748e-05/0.1261, allocations: 15.98 kB / 478.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.1262, allocations: 4 kB / 478.2 MB, free: 7.805 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 (11): * Single equations (assignments): 11 * 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 9.724e-05/0.1263, allocations: 130.3 kB / 478.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.1263, allocations: 7.906 kB / 478.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004388/0.1267, allocations: 214.2 kB / 478.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1268, allocations: 0 / 478.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1268, allocations: 0 / 478.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1268, allocations: 0 / 478.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006994/0.1275, allocations: 0.5116 MB / 479.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1275, allocations: 4.062 kB / 479.1 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.1276, allocations: 27.98 kB / 479.1 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.1276, allocations: 3.938 kB / 479.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.1276, allocations: 4.375 kB / 479.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1276, allocations: 0 / 479.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.1277, allocations: 3.984 kB / 479.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004034/0.1281, allocations: 301 kB / 479.4 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.1281, allocations: 92.91 kB / 479.5 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.1281, allocations: 0 / 479.5 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.1282, allocations: 19.98 kB / 479.5 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.1283, allocations: 11.92 kB / 479.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.1283, allocations: 4 kB / 479.5 MB, free: 6.367 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.958e-05/0.1284, allocations: 128.5 kB / 479.7 MB, free: 6.242 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1284, allocations: 4 kB / 479.7 MB, free: 6.238 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.1287, allocations: 28 kB / 479.7 MB, free: 6.211 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001014/0.1297, allocations: 459.4 kB / 480.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003642/0.1301, allocations: 143.8 kB / 480.3 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1301, allocations: 4 kB / 480.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.1303, allocations: 75.89 kB / 480.4 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.1306, allocations: 18.19 kB / 480.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005608/0.1312, allocations: 344.9 kB / 480.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.1315, allocations: 0.7082 MB / 481.4 MB, free: 4.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/0.1315, allocations: 19.44 kB / 481.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1315, allocations: 0 / 481.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of Templates: time 0.003703/0.1353, allocations: 1.954 MB / 483.4 MB, free: 2.621 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches