Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007501/0.0007502, allocations: 96.5 kB / 18.01 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.0009119/0.0009119, allocations: 207.8 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.7 MB / 247.5 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1879/0.1879, allocations: 46.19 MB / 345.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000248/0.0002481, allocations: 11.98 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09863/0.0989, allocations: 63.56 MB / 483.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.001869/0.1008, allocations: 1.334 MB / 485.1 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009371/0.1018, allocations: 0.5262 MB / 485.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.255e-05/0.1018, allocations: 0 / 485.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002416/0.1021, allocations: 75.83 kB / 485.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002487/0.1024, allocations: 87.72 kB / 485.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.1027, allocations: 107.1 kB / 485.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.1028, allocations: 75.88 kB / 485.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.996e-05/0.1029, allocations: 15.98 kB / 485.9 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.698e-05/0.103, allocations: 31.8 kB / 486 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.608e-05/0.1031, allocations: 55.81 kB / 486 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.1031, allocations: 3.938 kB / 486 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.406e-05/0.1032, allocations: 47.97 kB / 486.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.033e-05/0.1033, allocations: 19.92 kB / 486.1 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.221e-05/0.1033, allocations: 53.45 kB / 486.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.1035, allocations: 79.88 kB / 486.2 MB, free: 1.637 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.1035, allocations: 0 / 486.2 MB, free: 1.637 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.155e-06/0.1035, allocations: 0 / 486.2 MB, free: 1.637 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.1035, allocations: 3.938 kB / 486.2 MB, free: 1.633 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.0004252/0.1039, allocations: 399.4 kB / 486.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.104, allocations: 16.86 kB / 486.6 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.104, allocations: 12.75 kB / 486.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.1042, allocations: 202.7 kB / 486.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.1042, allocations: 4.375 kB / 486.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.1042, allocations: 4.375 kB / 486.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.1044, allocations: 57.81 kB / 486.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1044, allocations: 0 / 486.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.1044, allocations: 4 kB / 486.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.1044, allocations: 0 / 486.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.1045, allocations: 35.91 kB / 487 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.1049, allocations: 308.7 kB / 487.3 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.1051, allocations: 46.56 kB / 487.3 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.395e-05/0.1051, allocations: 24.94 kB / 487.3 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.1051, allocations: 0 / 487.3 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.1052, allocations: 34.5 kB / 487.4 MB, free: 352 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.1052, allocations: 0 / 487.4 MB, free: 352 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009023/0.1061, allocations: 273.4 kB / 487.6 MB, free: 72 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.1061, allocations: 55.41 kB / 487.7 MB, free: 4 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.1064, allocations: 222.7 kB / 487.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.1064, allocations: 29.64 kB / 487.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.099e-05/0.1064, allocations: 96.14 kB / 488 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.1065, allocations: 31.64 kB / 488.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.1065, allocations: 17.72 kB / 488.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.986e-05/0.1066, allocations: 322.8 kB / 488.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.422e-05/0.1067, allocations: 39.97 kB / 488.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.602e-05/0.1068, allocations: 31.98 kB / 488.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.107, allocations: 80.81 kB / 488.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.107, allocations: 0 / 488.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002268/0.1072, allocations: 129.4 kB / 488.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1073, allocations: 4 kB / 488.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1073, allocations: 320 / 488.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.1073, allocations: 0 / 488.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.1074, allocations: 19.98 kB / 488.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1074, allocations: 3.938 kB / 488.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.032e-05/0.1075, allocations: 15.92 kB / 488.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.1075, allocations: 3.984 kB / 488.7 MB, free: 14.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 9.473e-05/0.1076, allocations: 133.8 kB / 488.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.1076, allocations: 11.84 kB / 488.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002922/0.1079, allocations: 146.9 kB / 489 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1079, allocations: 0 / 489 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.1079, allocations: 0 / 489 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.1079, allocations: 11.94 kB / 489 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005199/0.1085, allocations: 423.3 kB / 489.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.1085, allocations: 3.984 kB / 489.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.349e-05/0.1086, allocations: 20.03 kB / 489.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.1086, allocations: 3.938 kB / 489.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.1086, allocations: 3.984 kB / 489.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.1086, allocations: 7.938 kB / 489.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1086, allocations: 0 / 489.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002678/0.1089, allocations: 224.2 kB / 489.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.346e-05/0.1089, allocations: 96.94 kB / 489.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.109, allocations: 0 / 489.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.556e-05/0.109, allocations: 4 kB / 489.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/0.1091, allocations: 7.984 kB / 489.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.1091, allocations: 11.94 kB / 489.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.1092, allocations: 168.7 kB / 490 MB, free: 13.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1092, allocations: 0 / 490 MB, free: 13.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.1095, allocations: 20 kB / 490 MB, free: 13.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.001005/0.1105, allocations: 453 kB / 490.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002251/0.1107, allocations: 75.95 kB / 490.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1107, allocations: 0 / 490.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.54e-05/0.1108, allocations: 47.91 kB / 490.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.1112, allocations: 24.3 kB / 490.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005238/0.1117, allocations: 339.8 kB / 490.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.112, allocations: 0.7121 MB / 491.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.546e-05/0.112, allocations: 11.44 kB / 491.6 MB, free: 12 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.112, allocations: 0 / 491.6 MB, free: 12 MB / 366.1 MB Notification: Performance of Templates: time 0.00336/0.1154, allocations: 1.789 MB / 493.4 MB, free: 10.21 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches