Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 107.1 kB / 17.98 MB, free: 4.887 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.001058/0.001058, allocations: 189.3 kB / 18.9 MB, free: 4.141 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.347/1.347, allocations: 222.9 MB / 242.6 MB, free: 15.41 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.2064/0.2064, allocations: 44.18 MB / 336.9 MB, free: 2.926 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002385/0.002385, allocations: 63.53 kB / 408.5 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1214, allocations: 60.83 MB / 469.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003172/0.1246, allocations: 1.691 MB / 471.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008354/0.1255, allocations: 467.1 kB / 471.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.105e-05/0.1256, allocations: 0 / 471.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005594/0.1262, allocations: 447.2 kB / 472 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003392/0.1265, allocations: 243.5 kB / 472.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004478/0.127, allocations: 166.5 kB / 472.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002335/0.1272, allocations: 175.6 kB / 472.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1274, allocations: 19.98 kB / 472.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.1275, allocations: 115.8 kB / 472.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.1277, allocations: 223.5 kB / 472.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.1278, allocations: 4 kB / 472.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.1279, allocations: 47.97 kB / 472.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.128, allocations: 87.69 kB / 473 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.922e-05/0.1281, allocations: 107 kB / 473.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.1283, allocations: 204 kB / 473.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1283, allocations: 0 / 473.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1283, allocations: 3.938 kB / 473.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.1284, allocations: 0 / 473.3 MB, free: 10.75 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.0007182/0.1291, allocations: 0.6414 MB / 474 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.1291, allocations: 12.03 kB / 474 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.438e-05/0.1292, allocations: 36.47 kB / 474 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.1295, allocations: 304.1 kB / 474.3 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.1295, allocations: 4.375 kB / 474.3 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.1295, allocations: 8.375 kB / 474.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.1297, allocations: 77.7 kB / 474.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1297, allocations: 0 / 474.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.1297, allocations: 0 / 474.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1297, allocations: 4 kB / 474.4 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.1299, allocations: 39.97 kB / 474.4 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005381/0.1304, allocations: 416.6 kB / 474.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.1307, allocations: 58.55 kB / 474.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.496e-05/0.1308, allocations: 24.97 kB / 474.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.1308, allocations: 8 kB / 474.9 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.1308, allocations: 30.56 kB / 475 MB, free: 8.938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1308, allocations: 0 / 475 MB, free: 8.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001526/0.1324, allocations: 499.9 kB / 475.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.1324, allocations: 59.28 kB / 475.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007958/0.1332, allocations: 0.8613 MB / 476.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.1333, allocations: 25.7 kB / 476.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.1334, allocations: 220 kB / 476.6 MB, free: 7.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.1335, allocations: 35.45 kB / 476.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.933e-05/0.1335, allocations: 29.7 kB / 476.7 MB, free: 7.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1337, allocations: 362.7 kB / 477 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.1338, allocations: 59.95 kB / 477.1 MB, free: 6.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.134, allocations: 51.95 kB / 477.1 MB, free: 6.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.1342, allocations: 124.8 kB / 477.3 MB, free: 6.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1342, allocations: 0 / 477.3 MB, free: 6.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003524/0.1346, allocations: 200.9 kB / 477.5 MB, free: 6.379 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1346, allocations: 4 kB / 477.5 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1346, allocations: 0 / 477.5 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1346, allocations: 0 / 477.5 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1348, allocations: 31.91 kB / 477.5 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.1348, allocations: 4 kB / 477.5 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.826e-05/0.1348, allocations: 4 kB / 477.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.1349, allocations: 7.984 kB / 477.5 MB, free: 6.328 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 0.0001929/0.1351, allocations: 222.2 kB / 477.7 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.685e-05/0.1351, allocations: 43.44 kB / 477.8 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004395/0.1356, allocations: 221.4 kB / 478 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1356, allocations: 3.938 kB / 478 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1356, allocations: 0 / 478 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.1356, allocations: 4 kB / 478 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007717/0.1364, allocations: 0.5974 MB / 478.6 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.1364, allocations: 4 kB / 478.6 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.625e-05/0.1365, allocations: 28.16 kB / 478.6 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1365, allocations: 0 / 478.6 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1365, allocations: 8.062 kB / 478.6 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1365, allocations: 4 kB / 478.6 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.1365, allocations: 3.938 kB / 478.6 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003964/0.1369, allocations: 297.2 kB / 478.9 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.164e-05/0.137, allocations: 112.5 kB / 479 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.137, allocations: 4.094 kB / 479 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.1372, allocations: 15.92 kB / 479.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.1372, allocations: 7.984 kB / 479.1 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.1372, allocations: 8 kB / 479.1 MB, free: 4.641 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005758/0.1378, allocations: 0.6432 MB / 479.7 MB, free: 4 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1378, allocations: 4 kB / 479.7 MB, free: 3.996 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.1381, allocations: 32 kB / 479.8 MB, free: 3.965 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.001011/0.1391, allocations: 461.8 kB / 480.2 MB, free: 3.695 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003568/0.1395, allocations: 135.8 kB / 480.3 MB, free: 3.562 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1395, allocations: 0 / 480.3 MB, free: 3.562 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.1397, allocations: 71.89 kB / 480.4 MB, free: 3.492 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.1401, allocations: 32.7 kB / 480.4 MB, free: 3.465 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.1413, allocations: 1.002 MB / 481.4 MB, free: 2.418 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.1418, allocations: 0.8299 MB / 482.3 MB, free: 1.559 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.707e-05/0.1418, allocations: 19.38 kB / 482.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1418, allocations: 0 / 482.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of Templates: time 0.007338/0.1492, allocations: 4.178 MB / 486.5 MB, free: 13.36 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches