Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001175/0.001175, allocations: 95.19 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001129/0.001129, allocations: 202.2 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.7 MB / 246.8 MB, free: 11.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2181/0.2181, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002671/0.000267, allocations: 8 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1223, allocations: 63.56 MB / 483.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.001913/0.1243, allocations: 1.33 MB / 484.4 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008911/0.1252, allocations: 0.5301 MB / 484.9 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.821e-05/0.1252, allocations: 0 / 484.9 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.1255, allocations: 99.8 kB / 485 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002088/0.1257, allocations: 99.7 kB / 485.1 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.126, allocations: 99.19 kB / 485.2 MB, free: 2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.1261, allocations: 67.89 kB / 485.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1262, allocations: 27.97 kB / 485.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.011e-05/0.1263, allocations: 31.8 kB / 485.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.732e-05/0.1264, allocations: 51.81 kB / 485.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.1264, allocations: 0 / 485.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.998e-05/0.1265, allocations: 43.98 kB / 485.4 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.501e-05/0.1265, allocations: 19.92 kB / 485.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.396e-05/0.1266, allocations: 65.38 kB / 485.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.1268, allocations: 95.69 kB / 485.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1268, allocations: 8 kB / 485.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1268, allocations: 0 / 485.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.1268, allocations: 0 / 485.6 MB, free: 1.59 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.0004373/0.1272, allocations: 411.2 kB / 486 MB, free: 1.141 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.1273, allocations: 8.875 kB / 486 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/0.1273, allocations: 16.78 kB / 486.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.1275, allocations: 204.5 kB / 486.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.1275, allocations: 4.375 kB / 486.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.1276, allocations: 8.375 kB / 486.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.1277, allocations: 61.8 kB / 486.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.1277, allocations: 0 / 486.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.1277, allocations: 0 / 486.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.1277, allocations: 0 / 486.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.997e-05/0.1278, allocations: 39.89 kB / 486.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000399/0.1282, allocations: 312.7 kB / 486.7 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.1284, allocations: 42.56 kB / 486.7 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.216e-05/0.1284, allocations: 20.94 kB / 486.7 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.1285, allocations: 7.922 kB / 486.7 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.1285, allocations: 34.56 kB / 486.8 MB, free: 288 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1285, allocations: 4 kB / 486.8 MB, free: 284 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008694/0.1294, allocations: 269 kB / 487 MB, free: 8 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.1294, allocations: 55.41 kB / 487.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.1297, allocations: 234.6 kB / 487.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.1297, allocations: 29.64 kB / 487.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.98e-05/0.1297, allocations: 108.1 kB / 487.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.1298, allocations: 31.7 kB / 487.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.373e-05/0.1298, allocations: 9.719 kB / 487.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1299, allocations: 326.8 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.728e-05/0.13, allocations: 35.97 kB / 487.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.429e-05/0.1301, allocations: 32.06 kB / 487.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.1303, allocations: 88.89 kB / 488 MB, free: 15.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1303, allocations: 0 / 488 MB, free: 15.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002168/0.1305, allocations: 125.5 kB / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1305, allocations: 8 kB / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1305, allocations: 0 / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.1306, allocations: 0 / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.1307, allocations: 23.92 kB / 488.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.1307, allocations: 0 / 488.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.686e-05/0.1307, allocations: 15.94 kB / 488.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.1308, allocations: 4 kB / 488.1 MB, free: 14.84 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 8.724e-05/0.1308, allocations: 133.8 kB / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/0.1309, allocations: 11.81 kB / 488.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003071/0.1312, allocations: 143 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1312, allocations: 4 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1312, allocations: 0 / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1312, allocations: 3.938 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005134/0.1317, allocations: 431.3 kB / 488.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1318, allocations: 0 / 488.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.109e-05/0.1318, allocations: 20 kB / 488.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.237e-06/0.1319, allocations: 3.938 kB / 488.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.1319, allocations: 7.984 kB / 488.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1319, allocations: 3.938 kB / 488.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1319, allocations: 0 / 488.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.1321, allocations: 224.2 kB / 489.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.576e-05/0.1322, allocations: 100.8 kB / 489.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.1322, allocations: 4 kB / 489.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.535e-05/0.1323, allocations: 8 kB / 489.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.1324, allocations: 7.984 kB / 489.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.1324, allocations: 4 kB / 489.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.1325, allocations: 176.3 kB / 489.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1325, allocations: 0 / 489.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002428/0.1328, allocations: 23.98 kB / 489.4 MB, free: 13.45 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.000979/0.1338, allocations: 454 kB / 489.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002258/0.134, allocations: 79.95 kB / 489.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.134, allocations: 4 kB / 489.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.924e-05/0.1341, allocations: 47.91 kB / 490 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.1344, allocations: 15.94 kB / 490 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005094/0.135, allocations: 318.2 kB / 490.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.1352, allocations: 0.7179 MB / 491 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.222e-05/0.1353, allocations: 16.97 kB / 491.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.1354, allocations: 19.38 kB / 491.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1354, allocations: 0 / 491.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of Templates: time 0.004058/0.1394, allocations: 1.327 MB / 492.4 MB, free: 10.57 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches