Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009326/0.0009326, allocations: 98.28 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001166/0.001166, allocations: 203.4 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.7 MB / 247.5 MB, free: 11.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2053/0.2053, allocations: 46.18 MB / 345.9 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002742/0.0002743, allocations: 8 kB / 420.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1119, allocations: 63.55 MB / 483.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002123/0.114, allocations: 1.389 MB / 485.1 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.1151, allocations: 0.5613 MB / 485.7 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.488e-05/0.1152, allocations: 4 kB / 485.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005696/0.1158, allocations: 463.1 kB / 486.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004785/0.1163, allocations: 271.5 kB / 486.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.1167, allocations: 163.4 kB / 486.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002338/0.117, allocations: 175.6 kB / 486.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.1171, allocations: 20.22 kB / 486.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.1172, allocations: 111.7 kB / 486.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.1175, allocations: 195.6 kB / 487 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.1175, allocations: 4 kB / 487.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.1176, allocations: 47.98 kB / 487.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.761e-05/0.1177, allocations: 83.62 kB / 487.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.337e-05/0.1178, allocations: 128.7 kB / 487.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.118, allocations: 191.7 kB / 487.5 MB, free: 400 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.118, allocations: 7.938 kB / 487.5 MB, free: 392 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.118, allocations: 4 kB / 487.5 MB, free: 388 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1181, allocations: 0 / 487.5 MB, free: 388 kB / 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.0006484/0.1187, allocations: 0.6031 MB / 488.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.1188, allocations: 8.031 kB / 488.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.219e-05/0.1188, allocations: 44.38 kB / 488.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.1191, allocations: 300.1 kB / 488.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.1191, allocations: 384 / 488.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.1191, allocations: 8.375 kB / 488.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.1193, allocations: 69.78 kB / 488.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1193, allocations: 0 / 488.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.1193, allocations: 8 kB / 488.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1193, allocations: 0 / 488.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.1195, allocations: 39.92 kB / 488.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005032/0.12, allocations: 412.5 kB / 489 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.1201, allocations: 50.59 kB / 489 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.729e-05/0.1202, allocations: 28.92 kB / 489.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.1202, allocations: 0 / 489.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.1203, allocations: 34.56 kB / 489.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.1203, allocations: 0 / 489.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009876/0.1213, allocations: 343.8 kB / 489.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.1213, allocations: 63.28 kB / 489.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008218/0.1221, allocations: 0.8738 MB / 490.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.1222, allocations: 25.7 kB / 490.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.1223, allocations: 228 kB / 490.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.1224, allocations: 23.66 kB / 490.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/0.1224, allocations: 17.7 kB / 490.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.1226, allocations: 358.8 kB / 491 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.1227, allocations: 39.97 kB / 491 MB, free: 12.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.61e-05/0.1228, allocations: 35.98 kB / 491.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.123, allocations: 92.8 kB / 491.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.123, allocations: 0 / 491.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002753/0.1233, allocations: 149.1 kB / 491.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.1233, allocations: 6.5 kB / 491.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1234, allocations: 4 kB / 491.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.1234, allocations: 0 / 491.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.1235, allocations: 23.92 kB / 491.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.1235, allocations: 7.875 kB / 491.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.478e-05/0.1236, allocations: 15.98 kB / 491.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.1236, allocations: 4 kB / 491.4 MB, free: 12.29 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 (8): * Single equations (assignments): 8 * 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.0002143/0.1238, allocations: 209.8 kB / 491.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.984e-05/0.1239, allocations: 47.42 kB / 491.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003729/0.1243, allocations: 173.6 kB / 491.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1243, allocations: 3.984 kB / 491.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.1243, allocations: 7.938 kB / 491.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1243, allocations: 0 / 491.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006732/0.125, allocations: 0.5265 MB / 492.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.125, allocations: 3.938 kB / 492.3 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.59e-05/0.1251, allocations: 23.92 kB / 492.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1251, allocations: 0 / 492.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.1251, allocations: 4 kB / 492.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1251, allocations: 0 / 492.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1251, allocations: 0 / 492.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.1254, allocations: 268.2 kB / 492.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.83e-05/0.1255, allocations: 112.5 kB / 492.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.1256, allocations: 8 kB / 492.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.992e-05/0.1257, allocations: 15.92 kB / 492.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.1257, allocations: 11.94 kB / 492.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.1257, allocations: 7.984 kB / 492.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006266/0.1264, allocations: 0.6472 MB / 493.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1264, allocations: 0 / 493.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.1267, allocations: 32 kB / 493.5 MB, free: 10.09 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001046/0.1277, allocations: 457.4 kB / 493.9 MB, free: 9.797 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002331/0.128, allocations: 83.95 kB / 494 MB, free: 9.715 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.128, allocations: 0 / 494 MB, free: 9.715 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.1281, allocations: 43.92 kB / 494 MB, free: 9.672 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.1285, allocations: 30.23 kB / 494.1 MB, free: 9.645 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.1297, allocations: 0.9653 MB / 495 MB, free: 8.645 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004534/0.1302, allocations: 0.834 MB / 495.9 MB, free: 7.781 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.151e-05/0.1303, allocations: 15.44 kB / 495.9 MB, free: 7.766 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1303, allocations: 0 / 495.9 MB, free: 7.766 MB / 366.1 MB Notification: Performance of Templates: time 0.007551/0.1378, allocations: 3.955 MB / 499.8 MB, free: 3.805 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches