Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 104.5 kB / 17.63 MB, free: 5.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.001208/0.001208, allocations: 192 kB / 18.56 MB, free: 4.434 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.278/1.278, allocations: 222.9 MB / 242.2 MB, free: 15.16 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.2047/0.2047, allocations: 44.19 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 64.44 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1171, allocations: 60.83 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002958/0.1201, allocations: 1.568 MB / 470.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007695/0.1209, allocations: 439.2 kB / 471.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.047e-05/0.121, allocations: 0 / 471.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004903/0.1215, allocations: 443.2 kB / 471.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003253/0.1218, allocations: 259.4 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000374/0.1222, allocations: 166.8 kB / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.1224, allocations: 155.8 kB / 472.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.417e-05/0.1225, allocations: 12 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.979e-05/0.1226, allocations: 107.7 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.1228, allocations: 211.6 kB / 472.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.1229, allocations: 4 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.971e-05/0.1229, allocations: 19.98 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.455e-05/0.123, allocations: 87.67 kB / 472.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.275e-05/0.1231, allocations: 99 kB / 472.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.1234, allocations: 235 kB / 473 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1234, allocations: 3.938 kB / 473 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1235, allocations: 0 / 473 MB, free: 10.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1235, allocations: 0 / 473 MB, free: 10.61 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.0007478/0.1242, allocations: 0.6222 MB / 473.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1243, allocations: 12.03 kB / 473.7 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.1244, allocations: 44.38 kB / 473.7 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.1247, allocations: 292.2 kB / 474 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.855e-05/0.1248, allocations: 12.38 kB / 474 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.1248, allocations: 384 / 474 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.1249, allocations: 49.81 kB / 474 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1249, allocations: 0 / 474 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.125, allocations: 4 kB / 474 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.125, allocations: 0 / 474 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.376e-05/0.1251, allocations: 31.97 kB / 474.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005104/0.1256, allocations: 384.7 kB / 474.5 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.234e-05/0.1257, allocations: 26.58 kB / 474.5 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.927e-05/0.1257, allocations: 24.91 kB / 474.5 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.1258, allocations: 0 / 474.5 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.1258, allocations: 30.56 kB / 474.5 MB, free: 8.922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1258, allocations: 0 / 474.5 MB, free: 8.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.000279/0.1261, allocations: 105 kB / 474.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.1261, allocations: 51.41 kB / 474.7 MB, free: 8.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008355/0.127, allocations: 0.8654 MB / 475.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.127, allocations: 25.7 kB / 475.6 MB, free: 7.844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.1272, allocations: 220 kB / 475.8 MB, free: 7.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.1272, allocations: 7.906 kB / 475.8 MB, free: 7.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.1273, allocations: 9.719 kB / 475.8 MB, free: 7.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.1274, allocations: 370.7 kB / 476.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.228e-05/0.1275, allocations: 4 kB / 476.2 MB, free: 7.227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.602e-05/0.1275, allocations: 15.98 kB / 476.2 MB, free: 7.211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.165e-05/0.1276, allocations: 28.91 kB / 476.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1276, allocations: 0 / 476.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001436/0.1278, allocations: 93.14 kB / 476.3 MB, free: 7.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.1278, allocations: 8 kB / 476.3 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1278, allocations: 0 / 476.3 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1278, allocations: 0 / 476.3 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.356e-05/0.1279, allocations: 4 kB / 476.3 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1279, allocations: 0 / 476.3 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.187e-05/0.1279, allocations: 8.031 kB / 476.3 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.1279, allocations: 0 / 476.3 MB, free: 7.062 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.0001647/0.1281, allocations: 217.7 kB / 476.5 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-05/0.1282, allocations: 39.44 kB / 476.6 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000181/0.1284, allocations: 112.5 kB / 476.7 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1284, allocations: 3.984 kB / 476.7 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1284, allocations: 0 / 476.7 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.1284, allocations: 8.031 kB / 476.7 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.1286, allocations: 281.5 kB / 477 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1286, allocations: 3.984 kB / 477 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.221e-05/0.1287, allocations: 4 kB / 477 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1287, allocations: 0 / 477 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.1287, allocations: 0 / 477 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.1287, allocations: 8 kB / 477 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1287, allocations: 0 / 477 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.1289, allocations: 190.9 kB / 477.2 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.438e-05/0.129, allocations: 112.6 kB / 477.3 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.129, allocations: 7.938 kB / 477.3 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.437e-05/0.1291, allocations: 0 / 477.3 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.1291, allocations: 3.984 kB / 477.3 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-06/0.1291, allocations: 7.984 kB / 477.3 MB, free: 5.977 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005465/0.1297, allocations: 0.6472 MB / 478 MB, free: 5.332 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1297, allocations: 3.938 kB / 478 MB, free: 5.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002332/0.1299, allocations: 16.03 kB / 478 MB, free: 5.312 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.0008121/0.1307, allocations: 351.1 kB / 478.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001514/0.1309, allocations: 23.98 kB / 478.3 MB, free: 5.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1309, allocations: 0 / 478.3 MB, free: 5.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.355e-05/0.131, allocations: 15.98 kB / 478.4 MB, free: 5.051 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.1314, allocations: 25.48 kB / 478.4 MB, free: 5.031 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009398/0.1323, allocations: 0.7827 MB / 479.2 MB, free: 4.227 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.1327, allocations: 0.8182 MB / 480 MB, free: 3.383 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.282e-05/0.1328, allocations: 15.98 kB / 480 MB, free: 3.367 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.349e-05/0.1328, allocations: 11.44 kB / 480 MB, free: 3.355 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1328, allocations: 0 / 480 MB, free: 3.355 MB / 350.1 MB Notification: Performance of Templates: time 0.004073/0.1369, allocations: 1.263 MB / 481.3 MB, free: 2.098 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches