Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001609/0.001609, allocations: 113.4 kB / 17.99 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001533/0.001533, allocations: 217.7 kB / 18.92 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 247.1 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2255/0.2255, allocations: 46.13 MB / 344.5 MB, free: 11.72 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 84.78 kB / 417.8 MB, free: 20.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1222, allocations: 62.44 MB / 480.2 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003385/0.1256, allocations: 1.712 MB / 481.9 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.1267, allocations: 0.5689 MB / 482.5 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.207e-05/0.1268, allocations: 0 / 482.5 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006107/0.1274, allocations: 459.2 kB / 482.9 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004328/0.1279, allocations: 279.4 kB / 483.2 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.1283, allocations: 163.2 kB / 483.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.1286, allocations: 175.6 kB / 483.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.1287, allocations: 19.97 kB / 483.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.1288, allocations: 107.8 kB / 483.7 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002517/0.1291, allocations: 227.5 kB / 483.9 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.1291, allocations: 4 kB / 483.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.405e-05/0.1292, allocations: 27.98 kB / 483.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.1293, allocations: 87.62 kB / 484 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.97e-05/0.1294, allocations: 102.9 kB / 484.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.1297, allocations: 203.8 kB / 484.3 MB, free: 1.453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1297, allocations: 4 kB / 484.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1297, allocations: 0 / 484.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.1297, allocations: 0 / 484.3 MB, free: 1.449 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.0007538/0.1305, allocations: 0.6299 MB / 484.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1305, allocations: 12.03 kB / 485 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.778e-05/0.1306, allocations: 44.36 kB / 485 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.1309, allocations: 304.1 kB / 485.3 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.1309, allocations: 384 / 485.3 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.131, allocations: 4.375 kB / 485.3 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.1311, allocations: 65.73 kB / 485.4 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1311, allocations: 4 kB / 485.4 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.1312, allocations: 0 / 485.4 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1312, allocations: 0 / 485.4 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.1313, allocations: 27.98 kB / 485.4 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005528/0.1318, allocations: 392.7 kB / 485.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.1321, allocations: 54.48 kB / 485.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.699e-05/0.1321, allocations: 20.94 kB / 485.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.1322, allocations: 0 / 485.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.1322, allocations: 30.56 kB / 485.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.1322, allocations: 0 / 485.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006618/0.1329, allocations: 247.9 kB / 486.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.1329, allocations: 55.34 kB / 486.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008999/0.1338, allocations: 0.8738 MB / 487.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.1339, allocations: 25.7 kB / 487.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.134, allocations: 220.1 kB / 487.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.1341, allocations: 15.81 kB / 487.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.16e-05/0.1341, allocations: 17.72 kB / 487.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.1343, allocations: 366.7 kB / 487.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.513e-05/0.1344, allocations: 19.98 kB / 487.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.575e-05/0.1345, allocations: 23.98 kB / 487.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.1346, allocations: 60.75 kB / 487.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1346, allocations: 0 / 487.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002286/0.1349, allocations: 121.1 kB / 487.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1349, allocations: 4 kB / 487.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.1349, allocations: 0 / 487.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1349, allocations: 0 / 487.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.004e-05/0.135, allocations: 19.98 kB / 487.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.135, allocations: 0 / 487.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.834e-05/0.1351, allocations: 15.86 kB / 487.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.1351, allocations: 0 / 487.9 MB, free: 13.59 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 (5): * Single equations (assignments): 5 * 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.0002059/0.1353, allocations: 209.8 kB / 488.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.08e-05/0.1354, allocations: 47.44 kB / 488.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002933/0.1357, allocations: 145.3 kB / 488.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.994e-06/0.1357, allocations: 7.984 kB / 488.3 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1357, allocations: 0 / 488.3 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.1357, allocations: 3.938 kB / 488.3 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005917/0.1363, allocations: 470.4 kB / 488.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1363, allocations: 0 / 488.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.94e-05/0.1364, allocations: 12 kB / 488.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1364, allocations: 3.938 kB / 488.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.1364, allocations: 3.938 kB / 488.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1364, allocations: 3.984 kB / 488.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1364, allocations: 0 / 488.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.1367, allocations: 215 kB / 489 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.328e-05/0.1368, allocations: 108.6 kB / 489.1 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.1368, allocations: 11.94 kB / 489.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-05/0.1369, allocations: 0 / 489.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.137, allocations: 7.984 kB / 489.2 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.137, allocations: 0 / 489.2 MB, free: 12.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006705/0.1376, allocations: 0.6589 MB / 489.8 MB, free: 11.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1377, allocations: 0 / 489.8 MB, free: 11.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.1379, allocations: 31.89 kB / 489.9 MB, free: 11.57 MB / 366.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 (5): * Single equations (assignments): 5 * 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.001505/0.1394, allocations: 407.9 kB / 490.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002165/0.1397, allocations: 51.95 kB / 490.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1397, allocations: 0 / 490.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.257e-05/0.1398, allocations: 31.92 kB / 490.3 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000468/0.1403, allocations: 26.3 kB / 490.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.1415, allocations: 0.922 MB / 491.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004969/0.142, allocations: 0.8221 MB / 492.1 MB, free: 9.395 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/0.1421, allocations: 15.44 kB / 492.1 MB, free: 9.379 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1421, allocations: 0 / 492.1 MB, free: 9.379 MB / 366.1 MB Notification: Performance of Templates: time 0.007232/0.1493, allocations: 3.782 MB / 495.9 MB, free: 5.59 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches