Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,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",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,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",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001/0.001, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001053/0.001053, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.242/1.242, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1918/0.1918, allocations: 46.11 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 82.95 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09727/0.0986, allocations: 62.45 MB / 481.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003106/0.1017, allocations: 1.607 MB / 483.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.1034, allocations: 1.163 MB / 484.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.428e-05/0.1035, allocations: 4 kB / 484.3 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002029/0.1037, allocations: 19.86 kB / 484.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000294/0.1041, allocations: 83.61 kB / 484.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.1043, allocations: 95.69 kB / 484.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.1045, allocations: 71.78 kB / 484.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1046, allocations: 19.98 kB / 484.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.93e-05/0.1047, allocations: 31.91 kB / 484.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.1049, allocations: 35.84 kB / 484.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.1049, allocations: 11.92 kB / 484.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.1051, allocations: 95.89 kB / 484.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.706e-05/0.1051, allocations: 19.97 kB / 484.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.734e-05/0.1052, allocations: 23.81 kB / 484.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002572/0.1054, allocations: 155.6 kB / 484.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1054, allocations: 0 / 484.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1054, allocations: 0 / 484.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1055, allocations: 0 / 484.9 MB, free: 1.09 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004796/0.1059, allocations: 419 kB / 485.3 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.106, allocations: 12.02 kB / 485.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.53e-05/0.106, allocations: 8.844 kB / 485.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.1062, allocations: 196.2 kB / 485.5 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.1063, allocations: 384 / 485.5 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.1063, allocations: 4.375 kB / 485.5 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.1064, allocations: 79.52 kB / 485.6 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1065, allocations: 3.906 kB / 485.6 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.1065, allocations: 4 kB / 485.6 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1065, allocations: 0 / 485.6 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.1066, allocations: 39.88 kB / 485.7 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.107, allocations: 300.8 kB / 485.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.1071, allocations: 46.56 kB / 486 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.916e-05/0.1072, allocations: 28.91 kB / 486 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.1072, allocations: 7.984 kB / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.1072, allocations: 34.56 kB / 486.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1073, allocations: 0 / 486.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005875/0.1078, allocations: 173.3 kB / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.1079, allocations: 81.11 kB / 486.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.1081, allocations: 152.3 kB / 486.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.1081, allocations: 25.7 kB / 486.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.003e-05/0.1081, allocations: 104.1 kB / 486.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.1082, allocations: 27.64 kB / 486.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.1082, allocations: 21.72 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1083, allocations: 318.8 kB / 486.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.33e-05/0.1084, allocations: 31.98 kB / 487 MB, free: 14.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.206e-05/0.1085, allocations: 33.7 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.1087, allocations: 64.77 kB / 487.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1087, allocations: 0 / 487.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000201/0.1089, allocations: 101.5 kB / 487.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1089, allocations: 8.031 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1089, allocations: 4 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1089, allocations: 0 / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.109, allocations: 15.98 kB / 487.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.109, allocations: 0 / 487.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.731e-05/0.1091, allocations: 7.938 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1091, allocations: 7.984 kB / 487.2 MB, free: 14.54 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.636e-05/0.1092, allocations: 117.8 kB / 487.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.1093, allocations: 11.81 kB / 487.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002619/0.1095, allocations: 126.6 kB / 487.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1095, allocations: 0 / 487.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1095, allocations: 4 kB / 487.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1096, allocations: 4.312 kB / 487.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004357/0.11, allocations: 390.4 kB / 487.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.11, allocations: 4 kB / 487.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.678e-05/0.1101, allocations: 27.92 kB / 487.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1101, allocations: 3.938 kB / 487.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.1101, allocations: 0 / 487.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1101, allocations: 0 / 487.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1101, allocations: 0 / 487.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.1104, allocations: 195.4 kB / 488.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.344e-05/0.1104, allocations: 93 kB / 488.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.1105, allocations: 7.938 kB / 488.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.157e-05/0.1105, allocations: 4 kB / 488.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.857e-05/0.1106, allocations: 7.984 kB / 488.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.1106, allocations: 0 / 488.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.634e-05/0.1107, allocations: 121.3 kB / 488.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1107, allocations: 4 kB / 488.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003121/0.111, allocations: 39.94 kB / 488.4 MB, free: 13.29 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 (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.001045/0.1121, allocations: 480.5 kB / 488.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002071/0.1123, allocations: 71.88 kB / 488.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1123, allocations: 4 kB / 488.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.1124, allocations: 31.98 kB / 488.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.1127, allocations: 19.86 kB / 488.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000441/0.1132, allocations: 193.8 kB / 489.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.1135, allocations: 0.7002 MB / 489.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.262e-05/0.1135, allocations: 16.97 kB / 489.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.299e-05/0.1136, allocations: 23.36 kB / 489.9 MB, free: 11.87 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1136, allocations: 0 / 489.9 MB, free: 11.87 MB / 366.1 MB Notification: Performance of Templates: time 0.004308/0.1179, allocations: 1.823 MB / 491.7 MB, free: 10.05 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches