Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008863/0.0008904, allocations: 97.75 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001006/0.001006, allocations: 200.8 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.415/1.415, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2153/0.2153, allocations: 46.18 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003101, allocations: 11.98 kB / 419.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1196, allocations: 63.55 MB / 483.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002122/0.1217, allocations: 1.365 MB / 484.4 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.1228, allocations: 0.5379 MB / 485 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.42e-05/0.1229, allocations: 0 / 485 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000298/0.1232, allocations: 87.8 kB / 485.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.1235, allocations: 91.72 kB / 485.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003299/0.1239, allocations: 91.08 kB / 485.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000202/0.1241, allocations: 99.73 kB / 485.3 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.1242, allocations: 16 kB / 485.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.752e-05/0.1243, allocations: 35.84 kB / 485.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.1245, allocations: 55.81 kB / 485.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.1245, allocations: 4 kB / 485.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.1246, allocations: 47.97 kB / 485.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.343e-05/0.1247, allocations: 23.92 kB / 485.5 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.397e-05/0.1248, allocations: 61.33 kB / 485.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.125, allocations: 123.9 kB / 485.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.125, allocations: 0 / 485.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1251, allocations: 0 / 485.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.1251, allocations: 0 / 485.7 MB, free: 1.5 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000573/0.1256, allocations: 421.5 kB / 486.1 MB, free: 1.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1257, allocations: 16.03 kB / 486.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.1257, allocations: 16.69 kB / 486.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.126, allocations: 204.5 kB / 486.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.126, allocations: 4.375 kB / 486.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.261e-05/0.126, allocations: 4.375 kB / 486.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.1262, allocations: 77.72 kB / 486.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1262, allocations: 4 kB / 486.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1263, allocations: 0 / 486.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1263, allocations: 0 / 486.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.1264, allocations: 51.91 kB / 486.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.1269, allocations: 344.5 kB / 486.8 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.127, allocations: 58.56 kB / 486.9 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.108e-05/0.1271, allocations: 28.84 kB / 486.9 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.1272, allocations: 4 kB / 486.9 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.1272, allocations: 30.56 kB / 486.9 MB, free: 104 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.1272, allocations: 0 / 486.9 MB, free: 104 kB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001114/0.1283, allocations: 344.9 kB / 487.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.1284, allocations: 51.41 kB / 487.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000238/0.1286, allocations: 239.5 kB / 487.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.1286, allocations: 25.7 kB / 487.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.262e-05/0.1287, allocations: 112.1 kB / 487.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.948e-05/0.1287, allocations: 39.36 kB / 487.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/0.1288, allocations: 17.72 kB / 487.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1289, allocations: 330.8 kB / 488.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.129, allocations: 39.98 kB / 488.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.682e-05/0.1291, allocations: 39.97 kB / 488.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.1294, allocations: 108.2 kB / 488.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1294, allocations: 0 / 488.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002648/0.1296, allocations: 149.4 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1297, allocations: 4 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1297, allocations: 4 kB / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1297, allocations: 3.938 kB / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.1298, allocations: 27.98 kB / 488.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1298, allocations: 0 / 488.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.178e-05/0.1299, allocations: 7.984 kB / 488.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.1299, allocations: 4 kB / 488.5 MB, free: 14.52 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 (13): * Single equations (assignments): 13 * 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.0001253/0.13, allocations: 145.8 kB / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.1301, allocations: 15.92 kB / 488.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003618/0.1305, allocations: 183.7 kB / 488.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.1305, allocations: 7.922 kB / 488.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1305, allocations: 4 kB / 488.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1305, allocations: 0 / 488.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006306/0.1311, allocations: 491.1 kB / 489.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1311, allocations: 3.938 kB / 489.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.1312, allocations: 31.95 kB / 489.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.1313, allocations: 4 kB / 489.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.1313, allocations: 0 / 489.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1313, allocations: 0 / 489.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.1313, allocations: 4 kB / 489.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/0.1316, allocations: 252 kB / 489.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.582e-05/0.1317, allocations: 89.02 kB / 489.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.1317, allocations: 7.938 kB / 489.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.13e-05/0.1318, allocations: 11.98 kB / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.1319, allocations: 7.984 kB / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.1319, allocations: 4 kB / 489.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001591/0.1321, allocations: 185.2 kB / 489.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1321, allocations: 0 / 489.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000275/0.1323, allocations: 27.98 kB / 489.9 MB, free: 12.96 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 (13): * Single equations (assignments): 13 * 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.001059/0.1334, allocations: 442.9 kB / 490.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002677/0.1337, allocations: 111.3 kB / 490.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1337, allocations: 0 / 490.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.1338, allocations: 55.91 kB / 490.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.1342, allocations: 28.2 kB / 490.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005987/0.1348, allocations: 358.9 kB / 490.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.1351, allocations: 0.72 MB / 491.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.758e-05/0.1352, allocations: 24.53 kB / 491.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.031e-05/0.1352, allocations: 19.44 kB / 491.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1352, allocations: 0 / 491.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of Templates: time 0.004396/0.1396, allocations: 1.457 MB / 493.1 MB, free: 9.879 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches