Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001145/0.001145, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00129/0.00129, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2071/0.2071, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 71.88 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1165, allocations: 62.45 MB / 481.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003159/0.1197, allocations: 1.618 MB / 483.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009104/0.1207, allocations: 0.5416 MB / 483.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.476e-05/0.1207, allocations: 0 / 483.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002478/0.121, allocations: 83.7 kB / 483.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002945/0.1213, allocations: 99.66 kB / 483.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.1216, allocations: 111.6 kB / 483.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.1218, allocations: 83.81 kB / 484 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.803e-05/0.1219, allocations: 19.98 kB / 484 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.36e-05/0.1219, allocations: 35.84 kB / 484 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.122, allocations: 59.81 kB / 484.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.1221, allocations: 4 kB / 484.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.67e-05/0.1221, allocations: 43.98 kB / 484.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.906e-05/0.1222, allocations: 23.92 kB / 484.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.856e-05/0.1223, allocations: 39.67 kB / 484.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.1224, allocations: 107.6 kB / 484.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1224, allocations: 0 / 484.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1224, allocations: 0 / 484.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.1225, allocations: 0 / 484.3 MB, free: 1.676 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.0004595/0.1229, allocations: 414.9 kB / 484.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.123, allocations: 8.031 kB / 484.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.123, allocations: 8.844 kB / 484.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.1232, allocations: 200.8 kB / 484.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-06/0.1232, allocations: 4.375 kB / 484.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.1232, allocations: 4.312 kB / 484.9 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.1234, allocations: 53.81 kB / 485 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.1234, allocations: 4 kB / 485 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.1234, allocations: 0 / 485 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.1234, allocations: 3.984 kB / 485 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.1235, allocations: 27.97 kB / 485 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003821/0.1239, allocations: 312.7 kB / 485.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.952e-05/0.124, allocations: 42.5 kB / 485.4 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.914e-05/0.1241, allocations: 20.94 kB / 485.4 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.1241, allocations: 0 / 485.4 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.1241, allocations: 34.56 kB / 485.4 MB, free: 404 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.545e-06/0.1241, allocations: 4 kB / 485.4 MB, free: 400 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008381/0.125, allocations: 248.9 kB / 485.7 MB, free: 144 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.125, allocations: 51.41 kB / 485.7 MB, free: 80 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.1253, allocations: 222.3 kB / 485.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.1253, allocations: 29.7 kB / 486 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.104e-05/0.1254, allocations: 108.1 kB / 486.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.1254, allocations: 31.62 kB / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.1254, allocations: 21.7 kB / 486.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1256, allocations: 326.8 kB / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.92e-05/0.1256, allocations: 23.98 kB / 486.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.945e-05/0.1257, allocations: 31.97 kB / 486.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.1259, allocations: 76.83 kB / 486.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1259, allocations: 0 / 486.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002008/0.1261, allocations: 109.5 kB / 486.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1261, allocations: 4 kB / 486.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1261, allocations: 0 / 486.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1262, allocations: 3.984 kB / 486.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.621e-05/0.1263, allocations: 23.94 kB / 486.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.1263, allocations: 0 / 486.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.427e-05/0.1263, allocations: 15.92 kB / 486.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.1263, allocations: 0 / 486.7 MB, free: 15.03 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.663e-05/0.1264, allocations: 129.8 kB / 486.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.1265, allocations: 11.81 kB / 486.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002806/0.1268, allocations: 134.9 kB / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1268, allocations: 3.984 kB / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1268, allocations: 4 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1268, allocations: 7.938 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004983/0.1273, allocations: 415.3 kB / 487.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1273, allocations: 0 / 487.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.74e-05/0.1274, allocations: 15.98 kB / 487.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.1274, allocations: 7.938 kB / 487.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.1274, allocations: 0 / 487.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1274, allocations: 0 / 487.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1274, allocations: 8.438 kB / 487.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.1277, allocations: 224.1 kB / 487.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/0.1277, allocations: 88.94 kB / 487.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.1278, allocations: 4 kB / 487.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.941e-05/0.1278, allocations: 0 / 487.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.1279, allocations: 15.98 kB / 487.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.1279, allocations: 8 kB / 487.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.128, allocations: 160.2 kB / 487.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.128, allocations: 0 / 487.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.1283, allocations: 20 kB / 488 MB, free: 13.68 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.0009783/0.1293, allocations: 453.4 kB / 488.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002221/0.1295, allocations: 75.88 kB / 488.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1295, allocations: 4 kB / 488.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.81e-05/0.1296, allocations: 35.98 kB / 488.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.1299, allocations: 27.98 kB / 488.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004864/0.1304, allocations: 270.8 kB / 488.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.1307, allocations: 0.7118 MB / 489.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.195e-05/0.1308, allocations: 24.95 kB / 489.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.238e-05/0.1309, allocations: 15.44 kB / 489.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1309, allocations: 0 / 489.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of Templates: time 0.003834/0.1347, allocations: 1.387 MB / 490.9 MB, free: 10.8 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches