Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.0012/0.0012, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.323/1.323, allocations: 222.9 MB / 242.2 MB, free: 15.22 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.2058/0.2058, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 59.56 kB / 408.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1096, allocations: 60.82 MB / 469.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.003745/0.1134, allocations: 1.859 MB / 471.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.1152, allocations: 0.9159 MB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001748/0.1154, allocations: 4 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004989/0.1159, allocations: 247.2 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004209/0.1164, allocations: 199.3 kB / 472.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.1177, allocations: 0.6399 MB / 473.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003344/0.1181, allocations: 267.3 kB / 473.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.1182, allocations: 56.59 kB / 473.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.1184, allocations: 131.5 kB / 473.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.1186, allocations: 187.4 kB / 473.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.127e-05/0.1186, allocations: 8 kB / 473.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.1188, allocations: 51.92 kB / 473.8 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.1189, allocations: 91.67 kB / 473.9 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.708e-05/0.119, allocations: 95.17 kB / 474 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.1193, allocations: 255 kB / 474.2 MB, free: 9.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1193, allocations: 0 / 474.2 MB, free: 9.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1193, allocations: 0 / 474.2 MB, free: 9.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.1193, allocations: 4 kB / 474.2 MB, free: 9.375 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000617/0.1199, allocations: 0.5991 MB / 474.8 MB, free: 8.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.12, allocations: 12.03 kB / 474.8 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.287e-05/0.1201, allocations: 44.39 kB / 474.9 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.1204, allocations: 298.3 kB / 475.2 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.1204, allocations: 4.375 kB / 475.2 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.1204, allocations: 4.375 kB / 475.2 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.1206, allocations: 109.6 kB / 475.3 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1206, allocations: 0 / 475.3 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.1207, allocations: 0 / 475.3 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1207, allocations: 0 / 475.3 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.1208, allocations: 75.95 kB / 475.4 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005452/0.1214, allocations: 444.4 kB / 475.8 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.1215, allocations: 74.53 kB / 475.9 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.717e-05/0.1216, allocations: 36.97 kB / 475.9 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.1217, allocations: 11.98 kB / 475.9 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.1217, allocations: 30.56 kB / 475.9 MB, free: 7.492 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.645e-06/0.1217, allocations: 3.938 kB / 475.9 MB, free: 7.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003382/0.122, allocations: 149.2 kB / 476.1 MB, free: 7.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.1221, allocations: 55.34 kB / 476.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000524/0.1226, allocations: 0.525 MB / 476.7 MB, free: 6.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.1226, allocations: 25.7 kB / 476.7 MB, free: 6.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.1228, allocations: 196.1 kB / 476.9 MB, free: 6.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/0.1228, allocations: 23.69 kB / 476.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.1228, allocations: 21.72 kB / 476.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.123, allocations: 342.8 kB / 477.3 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.525e-05/0.1231, allocations: 27.98 kB / 477.3 MB, free: 6.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.532e-05/0.1231, allocations: 27.98 kB / 477.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.1233, allocations: 68.75 kB / 477.4 MB, free: 5.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1233, allocations: 4 kB / 477.4 MB, free: 5.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001903/0.1235, allocations: 113.3 kB / 477.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1235, allocations: 11.98 kB / 477.5 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1235, allocations: 0 / 477.5 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1235, allocations: 0 / 477.5 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.591e-05/0.1236, allocations: 15.94 kB / 477.5 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.1236, allocations: 4 kB / 477.5 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.745e-05/0.1237, allocations: 11.83 kB / 477.5 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.1237, allocations: 4 kB / 477.6 MB, free: 5.824 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 (6): * Single equations (assignments): 6 * 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.0001465/0.1239, allocations: 169.8 kB / 477.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.521e-05/0.1239, allocations: 35.53 kB / 477.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002785/0.1242, allocations: 148.8 kB / 477.9 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1242, allocations: 8.422 kB / 477.9 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1242, allocations: 0 / 477.9 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.1242, allocations: 0 / 477.9 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.1245, allocations: 273.5 kB / 478.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1245, allocations: 7.938 kB / 478.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.252e-05/0.1246, allocations: 16 kB / 478.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1246, allocations: 0 / 478.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.1246, allocations: 4 kB / 478.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.1246, allocations: 3.938 kB / 478.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.1246, allocations: 3.984 kB / 478.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.1249, allocations: 226.9 kB / 478.4 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.496e-05/0.1249, allocations: 96.83 kB / 478.5 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.125, allocations: 4 kB / 478.5 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.305e-05/0.1251, allocations: 7.938 kB / 478.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.1251, allocations: 3.984 kB / 478.5 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.1251, allocations: 4 kB / 478.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003758/0.1255, allocations: 395.1 kB / 478.9 MB, free: 4.344 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1255, allocations: 0 / 478.9 MB, free: 4.344 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.1258, allocations: 39.83 kB / 479 MB, free: 4.305 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 (6): * Single equations (assignments): 6 * 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.001307/0.1271, allocations: 0.5909 MB / 479.6 MB, free: 3.973 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002074/0.1273, allocations: 75.89 kB / 479.6 MB, free: 3.898 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1273, allocations: 0 / 479.6 MB, free: 3.898 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.061e-05/0.1274, allocations: 31.98 kB / 479.7 MB, free: 3.867 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005103/0.1279, allocations: 68.39 kB / 479.7 MB, free: 3.809 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000872/0.1288, allocations: 0.607 MB / 480.3 MB, free: 3.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.1292, allocations: 0.806 MB / 481.1 MB, free: 2.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.1293, allocations: 41.5 kB / 481.2 MB, free: 2.301 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.588e-05/0.1294, allocations: 23.42 kB / 481.2 MB, free: 2.277 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1294, allocations: 0 / 481.2 MB, free: 2.277 MB / 350.1 MB Notification: Performance of Templates: time 0.005894/0.1353, allocations: 2.671 MB / 483.9 MB, free: 15.63 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches