Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.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.Test6,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.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,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.CombiTable1Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007729/0.0007729, allocations: 90.67 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009007/0.0009007, allocations: 201.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 227.7 MB / 247.5 MB, free: 11.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1868/0.1868, allocations: 46.19 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002428/0.0002427, allocations: 8 kB / 420.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09811/0.09837, allocations: 63.56 MB / 483.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.001853/0.1003, allocations: 1.369 MB / 485.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000947/0.1012, allocations: 0.5379 MB / 485.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.168e-05/0.1013, allocations: 4 kB / 485.6 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002538/0.1016, allocations: 91.8 kB / 485.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.1018, allocations: 99.7 kB / 485.8 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.1021, allocations: 107.4 kB / 485.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.1023, allocations: 91.75 kB / 486 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1024, allocations: 27.97 kB / 486 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.934e-05/0.1025, allocations: 39.84 kB / 486.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.756e-05/0.1026, allocations: 59.81 kB / 486.1 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.1026, allocations: 0 / 486.1 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.421e-05/0.1027, allocations: 43.98 kB / 486.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.208e-05/0.1028, allocations: 27.91 kB / 486.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.62e-05/0.1028, allocations: 61.33 kB / 486.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.103, allocations: 100 kB / 486.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.103, allocations: 3.938 kB / 486.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.103, allocations: 0 / 486.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.103, allocations: 0 / 486.4 MB, free: 1.52 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004356/0.1034, allocations: 415.1 kB / 486.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.1035, allocations: 12.03 kB / 486.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.1035, allocations: 12.75 kB / 486.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.1037, allocations: 208.5 kB / 487 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.1037, allocations: 4.375 kB / 487 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.1038, allocations: 8.375 kB / 487 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.1039, allocations: 85.72 kB / 487.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.1039, allocations: 0 / 487.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.104, allocations: 0 / 487.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.104, allocations: 4 kB / 487.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.1041, allocations: 47.95 kB / 487.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004213/0.1045, allocations: 348.6 kB / 487.5 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.1047, allocations: 74.48 kB / 487.6 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.109e-05/0.1047, allocations: 28.78 kB / 487.6 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.1048, allocations: 0 / 487.6 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.1048, allocations: 34.56 kB / 487.6 MB, free: 104 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.1048, allocations: 0 / 487.6 MB, free: 104 kB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001069/0.1059, allocations: 376.8 kB / 488 MB, free: 15.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.1059, allocations: 51.41 kB / 488 MB, free: 15.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.1062, allocations: 235.5 kB / 488.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.1062, allocations: 29.7 kB / 488.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.069e-05/0.1063, allocations: 116 kB / 488.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.01e-05/0.1064, allocations: 47.38 kB / 488.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/0.1064, allocations: 17.7 kB / 488.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1066, allocations: 326.8 kB / 488.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.1067, allocations: 47.97 kB / 488.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.1068, allocations: 47.97 kB / 488.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.107, allocations: 124.6 kB / 489 MB, free: 14.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.107, allocations: 0 / 489 MB, free: 14.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002955/0.1073, allocations: 165.4 kB / 489.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1074, allocations: 8 kB / 489.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1074, allocations: 3.984 kB / 489.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1074, allocations: 3.938 kB / 489.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.1075, allocations: 27.98 kB / 489.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1075, allocations: 0 / 489.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.382e-05/0.1076, allocations: 8 kB / 489.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.1076, allocations: 8 kB / 489.2 MB, free: 14.43 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.0001274/0.1078, allocations: 149.7 kB / 489.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.1078, allocations: 11.81 kB / 489.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004085/0.1082, allocations: 203.8 kB / 489.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1082, allocations: 0 / 489.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1082, allocations: 7.938 kB / 489.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1083, allocations: 0 / 489.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006334/0.1089, allocations: 0.503 MB / 490.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1089, allocations: 0 / 490.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.614e-05/0.109, allocations: 31.92 kB / 490.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.109, allocations: 3.984 kB / 490.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.109, allocations: 0 / 490.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.109, allocations: 7.984 kB / 490.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.109, allocations: 0 / 490.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003164/0.1094, allocations: 260.1 kB / 490.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.1094, allocations: 96.84 kB / 490.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.1095, allocations: 8 kB / 490.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.891e-05/0.1095, allocations: 4 kB / 490.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.1096, allocations: 15.92 kB / 490.5 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.1096, allocations: 8 kB / 490.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.1097, allocations: 181.2 kB / 490.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1098, allocations: 0 / 490.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.11, allocations: 32 kB / 490.7 MB, free: 12.81 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.0009866/0.111, allocations: 446.7 kB / 491.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002765/0.1113, allocations: 126.2 kB / 491.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1113, allocations: 3.938 kB / 491.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.1114, allocations: 71.89 kB / 491.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.1118, allocations: 16 kB / 491.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005766/0.1124, allocations: 404.8 kB / 491.8 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.1126, allocations: 0.7238 MB / 492.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.313e-05/0.1127, allocations: 15.44 kB / 492.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1127, allocations: 4 kB / 492.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of Templates: time 0.003772/0.1165, allocations: 2.141 MB / 494.7 MB, free: 8.988 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches