Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001254/0.001254, allocations: 119.9 kB / 18.42 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001396/0.001396, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.248/1.248, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1985/0.1985, allocations: 46.09 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 79.91 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09468/0.09603, allocations: 62.45 MB / 481.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002849/0.09891, allocations: 1.58 MB / 483.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008732/0.09981, allocations: 0.5222 MB / 483.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.138e-05/0.09988, allocations: 8 kB / 483.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000175/0.1001, allocations: 23.8 kB / 483.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002675/0.1003, allocations: 79.67 kB / 483.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.1006, allocations: 91.58 kB / 483.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.1007, allocations: 67.77 kB / 483.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.032e-05/0.1008, allocations: 19.97 kB / 483.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.181e-05/0.1009, allocations: 23.92 kB / 483.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.257e-05/0.101, allocations: 19.86 kB / 483.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.101, allocations: 7.938 kB / 483.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.927e-05/0.101, allocations: 27.98 kB / 483.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.401e-05/0.1011, allocations: 15.92 kB / 484 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.107e-05/0.1011, allocations: 15.88 kB / 484 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.1013, allocations: 87.66 kB / 484.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.1013, allocations: 4 kB / 484.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1013, allocations: 0 / 484.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.1013, allocations: 0 / 484.1 MB, free: 1.918 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003888/0.1017, allocations: 391.1 kB / 484.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.1017, allocations: 8.031 kB / 484.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.1018, allocations: 8.844 kB / 484.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.102, allocations: 184.3 kB / 484.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.102, allocations: 384 / 484.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.102, allocations: 4.375 kB / 484.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.1021, allocations: 49.75 kB / 484.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1021, allocations: 7.906 kB / 484.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.1021, allocations: 0 / 484.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1022, allocations: 0 / 484.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.1023, allocations: 31.97 kB / 484.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002902/0.1026, allocations: 276.9 kB / 485 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.1027, allocations: 42.5 kB / 485 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.643e-05/0.1028, allocations: 16.94 kB / 485.1 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.1028, allocations: 11.92 kB / 485.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.1028, allocations: 34.56 kB / 485.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1028, allocations: 0 / 485.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004779/0.1033, allocations: 141.2 kB / 485.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.1034, allocations: 51.41 kB / 485.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.1035, allocations: 156.7 kB / 485.4 MB, free: 348 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.1035, allocations: 29.7 kB / 485.5 MB, free: 312 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.1036, allocations: 92.14 kB / 485.6 MB, free: 216 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.1036, allocations: 11.8 kB / 485.6 MB, free: 204 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.1036, allocations: 17.72 kB / 485.6 MB, free: 180 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.723e-05/0.1037, allocations: 326.8 kB / 485.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.16e-05/0.1038, allocations: 15.98 kB / 485.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.195e-05/0.1039, allocations: 19.98 kB / 485.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.104, allocations: 48.83 kB / 486 MB, free: 15.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.104, allocations: 0 / 486 MB, free: 15.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000161/0.1042, allocations: 85.52 kB / 486.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.1042, allocations: 6.812 kB / 486.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1042, allocations: 0 / 486.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.1042, allocations: 0 / 486.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.041e-05/0.1043, allocations: 15.98 kB / 486.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.1043, allocations: 7.938 kB / 486.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.733e-05/0.1043, allocations: 4 kB / 486.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.1043, allocations: 0 / 486.1 MB, free: 15.64 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 (5): * Single equations (assignments): 5 * 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 7.367e-05/0.1044, allocations: 121.8 kB / 486.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.1044, allocations: 7.906 kB / 486.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002032/0.1046, allocations: 101.8 kB / 486.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1047, allocations: 320 / 486.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.1047, allocations: 4 kB / 486.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1047, allocations: 0 / 486.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003568/0.105, allocations: 350.4 kB / 486.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1051, allocations: 4 kB / 486.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.883e-05/0.1051, allocations: 11.94 kB / 486.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1051, allocations: 0 / 486.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1051, allocations: 3.984 kB / 486.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1051, allocations: 3.938 kB / 486.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1051, allocations: 11.94 kB / 486.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.1053, allocations: 171.7 kB / 486.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/0.1054, allocations: 77.11 kB / 487 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.1054, allocations: 7.984 kB / 487 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.846e-05/0.1055, allocations: 11.92 kB / 487 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.1055, allocations: 4 kB / 487 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.1055, allocations: 4 kB / 487 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.8e-05/0.1056, allocations: 121.5 kB / 487.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1056, allocations: 0 / 487.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002272/0.1058, allocations: 8 kB / 487.1 MB, free: 14.53 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0008206/0.1067, allocations: 404.4 kB / 487.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.1068, allocations: 43.97 kB / 487.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1069, allocations: 4 kB / 487.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.772e-05/0.1069, allocations: 27.97 kB / 487.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.1072, allocations: 18.61 kB / 487.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003447/0.1076, allocations: 174 kB / 487.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.1078, allocations: 0.6994 MB / 488.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.236e-05/0.1078, allocations: 11.94 kB / 488.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.1079, allocations: 15.44 kB / 488.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1079, allocations: 3.938 kB / 488.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of Templates: time 0.003041/0.1109, allocations: 1.107 MB / 489.6 MB, free: 12.12 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches