Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.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.CombiTable1Ds.Test31,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.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.CombiTable1Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001422/0.001422, allocations: 104.8 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0014/0.0014, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 246.3 MB, free: 9.121 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2344/0.2344, allocations: 46.13 MB / 343.7 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002248, allocations: 81.39 kB / 416.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1256, allocations: 62.47 MB / 479.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.004276/0.13, allocations: 1.669 MB / 481.1 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.1313, allocations: 0.5301 MB / 481.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.368e-05/0.1313, allocations: 4 kB / 481.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003552/0.1317, allocations: 123.8 kB / 481.7 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002447/0.132, allocations: 115.7 kB / 481.8 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.1322, allocations: 71.86 kB / 481.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.1324, allocations: 91.84 kB / 482 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1325, allocations: 19.94 kB / 482 MB, free: 3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.018e-05/0.1326, allocations: 51.81 kB / 482.1 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.1327, allocations: 83.72 kB / 482.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.1327, allocations: 0 / 482.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.254e-05/0.1328, allocations: 39.98 kB / 482.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.039e-05/0.1329, allocations: 31.84 kB / 482.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.395e-05/0.133, allocations: 39.69 kB / 482.3 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.1332, allocations: 111.6 kB / 482.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1332, allocations: 7.938 kB / 482.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1332, allocations: 0 / 482.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1332, allocations: 0 / 482.4 MB, free: 2.641 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.0007069/0.1339, allocations: 431.1 kB / 482.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.134, allocations: 8.875 kB / 482.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.927e-05/0.1341, allocations: 20.73 kB / 482.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.1343, allocations: 204 kB / 483 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.1344, allocations: 4.375 kB / 483 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.1344, allocations: 4.375 kB / 483 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.1346, allocations: 57.81 kB / 483.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.1347, allocations: 0 / 483.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1347, allocations: 3.938 kB / 483.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1347, allocations: 0 / 483.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.1348, allocations: 31.97 kB / 483.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004955/0.1353, allocations: 312.6 kB / 483.4 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.1354, allocations: 50.44 kB / 483.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.641e-05/0.1355, allocations: 16.86 kB / 483.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.1355, allocations: 3.984 kB / 483.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.1356, allocations: 34.64 kB / 483.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1356, allocations: 0 / 483.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000976/0.1366, allocations: 228.9 kB / 483.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.1366, allocations: 51.41 kB / 483.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003092/0.1369, allocations: 279.7 kB / 484.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.137, allocations: 25.7 kB / 484.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.525e-05/0.137, allocations: 116.1 kB / 484.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.1371, allocations: 31.61 kB / 484.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.1371, allocations: 17.72 kB / 484.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1373, allocations: 330.8 kB / 484.6 MB, free: 216 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.436e-05/0.1374, allocations: 27.97 kB / 484.6 MB, free: 188 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.911e-05/0.1375, allocations: 23.98 kB / 484.6 MB, free: 164 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.1376, allocations: 68.83 kB / 484.7 MB, free: 92 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1377, allocations: 4 kB / 484.7 MB, free: 88 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002313/0.1379, allocations: 97.81 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1379, allocations: 8 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1379, allocations: 80 / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1379, allocations: 0 / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.1381, allocations: 23.92 kB / 484.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.1381, allocations: 3.984 kB / 484.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.755e-05/0.1381, allocations: 11.92 kB / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.1381, allocations: 4 kB / 484.9 MB, free: 15.93 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.0001156/0.1383, allocations: 141.8 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/0.1383, allocations: 11.81 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003696/0.1387, allocations: 123 kB / 485.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1387, allocations: 4 kB / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1387, allocations: 0 / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.1387, allocations: 3.938 kB / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006248/0.1393, allocations: 423.1 kB / 485.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1394, allocations: 0 / 485.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.548e-05/0.1394, allocations: 23.92 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.1394, allocations: 3.938 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.465e-06/0.1395, allocations: 0 / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1395, allocations: 0 / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.1395, allocations: 4 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.1398, allocations: 208.2 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.819e-05/0.1398, allocations: 92.86 kB / 485.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.1399, allocations: 4 kB / 485.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.559e-05/0.1399, allocations: 7.984 kB / 485.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.14, allocations: 8 kB / 485.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.986e-06/0.14, allocations: 4 kB / 485.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002046/0.1402, allocations: 213.4 kB / 486.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1402, allocations: 0 / 486.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.1405, allocations: 24 kB / 486.1 MB, free: 14.55 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.001691/0.1422, allocations: 447.7 kB / 486.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.1424, allocations: 63.94 kB / 486.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1424, allocations: 0 / 486.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.66e-05/0.1425, allocations: 40.08 kB / 486.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.1429, allocations: 24.06 kB / 486.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006143/0.1436, allocations: 342.2 kB / 487 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.1439, allocations: 0.716 MB / 487.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.54e-05/0.144, allocations: 16.66 kB / 487.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.531e-05/0.144, allocations: 11.44 kB / 487.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.1441, allocations: 7.938 kB / 487.8 MB, free: 13 MB / 366.1 MB Notification: Performance of Templates: time 0.00417/0.1482, allocations: 1.334 MB / 489.1 MB, free: 11.66 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches