Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001527/0.001527, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001957/0.001958, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 246.3 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.2512/0.2512, allocations: 46.1 MB / 343.6 MB, free: 11.72 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 76.5 kB / 416.8 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1188, allocations: 62.46 MB / 479.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.003165/0.122, allocations: 1.661 MB / 481 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.1231, allocations: 0.5417 MB / 481.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.315e-05/0.1232, allocations: 4 kB / 481.5 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002951/0.1235, allocations: 63.84 kB / 481.6 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.1239, allocations: 95.7 kB / 481.7 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003494/0.1243, allocations: 79.84 kB / 481.7 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.1245, allocations: 75.77 kB / 481.8 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.1246, allocations: 19.97 kB / 481.8 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.035e-05/0.1247, allocations: 31.92 kB / 481.9 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.1248, allocations: 55.81 kB / 481.9 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.1248, allocations: 4 kB / 481.9 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.125, allocations: 39.98 kB / 482 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.191e-05/0.125, allocations: 19.92 kB / 482 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.161e-05/0.1251, allocations: 39.67 kB / 482 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.1253, allocations: 103.6 kB / 482.1 MB, free: 2.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1253, allocations: 0 / 482.1 MB, free: 2.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1253, allocations: 0 / 482.1 MB, free: 2.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.1253, allocations: 4 kB / 482.1 MB, free: 2.871 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.0005175/0.1259, allocations: 415.2 kB / 482.5 MB, free: 2.418 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.1259, allocations: 8.875 kB / 482.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.126, allocations: 12.84 kB / 482.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.1261, allocations: 198.7 kB / 482.7 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.1262, allocations: 4.375 kB / 482.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.1262, allocations: 4.375 kB / 482.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.1263, allocations: 53.75 kB / 482.8 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1264, allocations: 0 / 482.8 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1264, allocations: 8 kB / 482.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.1264, allocations: 0 / 482.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.986e-05/0.1265, allocations: 27.97 kB / 482.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.1269, allocations: 304.6 kB / 483.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.127, allocations: 50.44 kB / 483.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.131e-05/0.1271, allocations: 20.94 kB / 483.2 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.1271, allocations: 0 / 483.2 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.1271, allocations: 38.5 kB / 483.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.1272, allocations: 0 / 483.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000931/0.1281, allocations: 221 kB / 483.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.1281, allocations: 59.41 kB / 483.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.1283, allocations: 214.8 kB / 483.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.1284, allocations: 25.7 kB / 483.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.207e-05/0.1284, allocations: 104.1 kB / 483.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.1285, allocations: 27.56 kB / 483.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.1285, allocations: 25.78 kB / 483.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.776e-05/0.1286, allocations: 326.8 kB / 484.2 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.2e-05/0.1287, allocations: 27.91 kB / 484.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.248e-05/0.1288, allocations: 27.98 kB / 484.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.1289, allocations: 56.83 kB / 484.3 MB, free: 448 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.129, allocations: 0 / 484.3 MB, free: 448 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000204/0.1292, allocations: 101.8 kB / 484.4 MB, free: 340 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1292, allocations: 7.984 kB / 484.4 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1292, allocations: 0 / 484.4 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1292, allocations: 4 kB / 484.5 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.1293, allocations: 23.92 kB / 484.5 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.1293, allocations: 0 / 484.5 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.671e-05/0.1294, allocations: 7.938 kB / 484.5 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.1294, allocations: 4 kB / 484.5 MB, free: 292 kB / 350.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 9.057e-05/0.1295, allocations: 129.8 kB / 484.6 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/0.1295, allocations: 15.81 kB / 484.6 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002686/0.1298, allocations: 115 kB / 484.7 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1298, allocations: 0 / 484.7 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1298, allocations: 0 / 484.7 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1299, allocations: 3.938 kB / 484.7 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005046/0.1304, allocations: 407.3 kB / 485.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1304, allocations: 3.938 kB / 485.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.36e-05/0.1305, allocations: 19.98 kB / 485.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.1305, allocations: 7.875 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1305, allocations: 4 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1305, allocations: 0 / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1305, allocations: 0 / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.1308, allocations: 212.2 kB / 485.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.949e-05/0.1308, allocations: 88.95 kB / 485.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.1308, allocations: 4 kB / 485.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.73e-05/0.1309, allocations: 11.92 kB / 485.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.131, allocations: 7.938 kB / 485.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.131, allocations: 7.984 kB / 485.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001296/0.1311, allocations: 172.7 kB / 485.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1311, allocations: 0 / 485.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.1314, allocations: 20 kB / 485.7 MB, free: 14.97 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.001042/0.1324, allocations: 439.2 kB / 486.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002252/0.1327, allocations: 71.88 kB / 486.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1327, allocations: 7.875 kB / 486.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.733e-05/0.1328, allocations: 31.98 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.1332, allocations: 19.92 kB / 486.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00051/0.1337, allocations: 284.8 kB / 486.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.1339, allocations: 0.7121 MB / 487.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.774e-05/0.134, allocations: 4.672 kB / 487.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.38e-05/0.134, allocations: 23.42 kB / 487.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.134, allocations: 0 / 487.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of Templates: time 0.003814/0.1379, allocations: 1.296 MB / 488.6 MB, free: 12.2 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches