Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001238/0.001238, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001426/0.001426, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2396/0.2396, allocations: 46.1 MB / 344.8 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 76.59 kB / 418.3 MB, free: 19.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1193, allocations: 62.44 MB / 480.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.00379/0.1232, allocations: 1.682 MB / 482.4 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.1244, allocations: 0.561 MB / 482.9 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.846e-05/0.1245, allocations: 0 / 482.9 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.1248, allocations: 39.83 kB / 483 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003602/0.1252, allocations: 95.59 kB / 483.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.1256, allocations: 135.3 kB / 483.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.1258, allocations: 83.75 kB / 483.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.1259, allocations: 20.22 kB / 483.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.981e-05/0.126, allocations: 31.84 kB / 483.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.1261, allocations: 47.84 kB / 483.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.1262, allocations: 4 kB / 483.4 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.1263, allocations: 55.91 kB / 483.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.266e-05/0.1264, allocations: 19.92 kB / 483.5 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.157e-05/0.1264, allocations: 27.8 kB / 483.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.1267, allocations: 107.7 kB / 483.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.1267, allocations: 0 / 483.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1267, allocations: 0 / 483.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.1267, allocations: 0 / 483.6 MB, free: 2.398 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.0005881/0.1273, allocations: 419.2 kB / 484 MB, free: 1.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1274, allocations: 8.031 kB / 484 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.99e-05/0.1274, allocations: 8.844 kB / 484 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.1276, allocations: 203.6 kB / 484.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.1276, allocations: 4.359 kB / 484.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.1277, allocations: 7.938 kB / 484.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.1279, allocations: 61.67 kB / 484.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.1279, allocations: 4 kB / 484.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.1279, allocations: 3.984 kB / 484.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.1279, allocations: 4 kB / 484.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.1281, allocations: 39.91 kB / 484.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.1285, allocations: 304.7 kB / 484.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.1288, allocations: 62.58 kB / 484.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.626e-05/0.1289, allocations: 24.97 kB / 484.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.1289, allocations: 4 kB / 484.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.129, allocations: 30.56 kB / 484.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.129, allocations: 0 / 484.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001515/0.1305, allocations: 396.8 kB / 485.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.1306, allocations: 59.34 kB / 485.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.1308, allocations: 173.5 kB / 485.4 MB, free: 444 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.1308, allocations: 25.7 kB / 485.4 MB, free: 412 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/0.1309, allocations: 108 kB / 485.5 MB, free: 300 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.1309, allocations: 35.53 kB / 485.5 MB, free: 264 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/0.131, allocations: 25.7 kB / 485.6 MB, free: 232 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.1311, allocations: 326.8 kB / 485.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.1313, allocations: 43.95 kB / 485.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.1314, allocations: 43.91 kB / 486 MB, free: 15.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.1316, allocations: 96.81 kB / 486.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1317, allocations: 4.562 kB / 486.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003395/0.132, allocations: 149.7 kB / 486.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.132, allocations: 6.656 kB / 486.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.1321, allocations: 3.938 kB / 486.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1321, allocations: 0 / 486.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.1322, allocations: 31.92 kB / 486.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.1322, allocations: 4 kB / 486.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.489e-05/0.1323, allocations: 11.98 kB / 486.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.1323, allocations: 4 kB / 486.3 MB, free: 15.5 MB / 366.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.0001111/0.1324, allocations: 125.8 kB / 486.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.1325, allocations: 7.906 kB / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003953/0.1329, allocations: 170.2 kB / 486.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1329, allocations: 7.938 kB / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1329, allocations: 0 / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1329, allocations: 0 / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006571/0.1336, allocations: 468 kB / 487 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1336, allocations: 8.047 kB / 487 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.1337, allocations: 27.92 kB / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1337, allocations: 4 kB / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.1337, allocations: 96 / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.1337, allocations: 7.938 kB / 487.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1337, allocations: 0 / 487.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/0.1341, allocations: 253 kB / 487.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.523e-05/0.1342, allocations: 92.86 kB / 487.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.1342, allocations: 4 kB / 487.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.795e-05/0.1343, allocations: 11.98 kB / 487.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.1344, allocations: 7.984 kB / 487.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.1344, allocations: 8 kB / 487.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.1345, allocations: 135.2 kB / 487.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1345, allocations: 0 / 487.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.1348, allocations: 27.98 kB / 487.6 MB, free: 14.04 MB / 366.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.001172/0.136, allocations: 445 kB / 488 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003586/0.1363, allocations: 111.8 kB / 488.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1364, allocations: 3.938 kB / 488.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.1365, allocations: 59.89 kB / 488.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.1369, allocations: 28.11 kB / 488.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005878/0.1375, allocations: 289.8 kB / 488.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.1378, allocations: 0.7041 MB / 489.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.821e-05/0.1379, allocations: 15.44 kB / 489.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1379, allocations: 0 / 489.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of Templates: time 0.004102/0.142, allocations: 1.92 MB / 491.2 MB, free: 10.58 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches