Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 108.4 kB / 17.98 MB, free: 5.355 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.001087/0.001087, allocations: 193.3 kB / 18.9 MB, free: 4.438 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.333/1.333, allocations: 222.9 MB / 242.6 MB, free: 13.71 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.2022/0.2022, allocations: 44.17 MB / 336.9 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 62.11 kB / 408.5 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1227, allocations: 60.83 MB / 469.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test11): time 0.002764/0.1255, allocations: 1.681 MB / 471.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.1269, allocations: 1.012 MB / 472.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.479e-05/0.1269, allocations: 0 / 472.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.1271, allocations: 15.94 kB / 472.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001913/0.1273, allocations: 39.89 kB / 472.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.1277, allocations: 122.5 kB / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.1278, allocations: 63.78 kB / 472.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.054e-05/0.1279, allocations: 16.17 kB / 472.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.127e-05/0.128, allocations: 27.91 kB / 472.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.1281, allocations: 35.73 kB / 472.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.1282, allocations: 4 kB / 472.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.1283, allocations: 55.95 kB / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.707e-05/0.1283, allocations: 11.94 kB / 472.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.488e-05/0.1284, allocations: 23.86 kB / 472.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.1285, allocations: 67.89 kB / 472.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1285, allocations: 0 / 472.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1285, allocations: 0 / 472.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1286, allocations: 0 / 472.5 MB, free: 11.52 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.0004491/0.129, allocations: 391.5 kB / 472.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.1291, allocations: 12.03 kB / 472.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.1291, allocations: 8.844 kB / 472.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.1293, allocations: 188.1 kB / 473.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.1293, allocations: 4.375 kB / 473.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.1293, allocations: 384 / 473.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.1295, allocations: 75.33 kB / 473.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.1295, allocations: 4 kB / 473.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1295, allocations: 4 kB / 473.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-06/0.1296, allocations: 0 / 473.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.1297, allocations: 35.91 kB / 473.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003363/0.13, allocations: 288.7 kB / 473.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.1302, allocations: 46.56 kB / 473.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.825e-05/0.1302, allocations: 20.94 kB / 473.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.1303, allocations: 4 kB / 473.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.1303, allocations: 30.56 kB / 473.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 3.156e-06/0.1303, allocations: 0 / 473.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007079/0.131, allocations: 201.2 kB / 473.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.1311, allocations: 85.05 kB / 473.9 MB, free: 9.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.1312, allocations: 136.9 kB / 474 MB, free: 9.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.1312, allocations: 25.7 kB / 474.1 MB, free: 9.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/0.1313, allocations: 100 kB / 474.2 MB, free: 9.684 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.1313, allocations: 23.66 kB / 474.2 MB, free: 9.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.1314, allocations: 17.72 kB / 474.2 MB, free: 9.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1315, allocations: 322.8 kB / 474.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.1316, allocations: 31.97 kB / 474.6 MB, free: 9.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.1317, allocations: 41.69 kB / 474.6 MB, free: 9.234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.1319, allocations: 84.91 kB / 474.7 MB, free: 9.148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1319, allocations: 3.938 kB / 474.7 MB, free: 9.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002752/0.1322, allocations: 109.5 kB / 474.8 MB, free: 9.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1322, allocations: 8 kB / 474.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1323, allocations: 0 / 474.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1323, allocations: 4 kB / 474.8 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.1324, allocations: 19.92 kB / 474.8 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1324, allocations: 7.984 kB / 474.8 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.028e-05/0.1325, allocations: 11.94 kB / 474.8 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.1325, allocations: 4 kB / 474.8 MB, free: 8.977 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 (7): * Single equations (assignments): 7 * 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 8.708e-05/0.1326, allocations: 118.4 kB / 475 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.1326, allocations: 7.906 kB / 475 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003008/0.1329, allocations: 130.5 kB / 475.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1329, allocations: 0 / 475.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1329, allocations: 0 / 475.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.133, allocations: 11.92 kB / 475.1 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004899/0.1334, allocations: 386.5 kB / 475.5 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.1335, allocations: 0 / 475.5 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.285e-05/0.1335, allocations: 23.92 kB / 475.5 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.1336, allocations: 0 / 475.5 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.1336, allocations: 3.938 kB / 475.5 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1336, allocations: 0 / 475.5 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1336, allocations: 0 / 475.5 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002961/0.1339, allocations: 211.4 kB / 475.7 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.1339, allocations: 85 kB / 475.8 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.134, allocations: 7.938 kB / 475.8 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.767e-05/0.1341, allocations: 11.98 kB / 475.8 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.1341, allocations: 4 kB / 475.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-06/0.1341, allocations: 0 / 475.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.144e-05/0.1342, allocations: 107.2 kB / 475.9 MB, free: 7.785 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1342, allocations: 0 / 475.9 MB, free: 7.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.1345, allocations: 28 kB / 476 MB, free: 7.758 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 (7): * Single equations (assignments): 7 * 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.0009444/0.1354, allocations: 440.6 kB / 476.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002905/0.1357, allocations: 83.92 kB / 476.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1357, allocations: 0 / 476.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.1358, allocations: 47.91 kB / 476.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.1362, allocations: 16.3 kB / 476.5 MB, free: 7.355 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003925/0.1366, allocations: 227.7 kB / 476.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.1368, allocations: 0.6885 MB / 477.4 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.657e-05/0.1369, allocations: 19.42 kB / 477.5 MB, free: 6.359 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1369, allocations: 0 / 477.5 MB, free: 6.359 MB / 350.1 MB Notification: Performance of Templates: time 0.003375/0.1403, allocations: 1.712 MB / 479.2 MB, free: 4.652 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches