Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,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.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.CombiTable1Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001217/0.001217, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001287/0.001287, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.241/1.241, 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.1917/0.1917, allocations: 46.11 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 72.45 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09544/0.09673, allocations: 62.45 MB / 481.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003013/0.09978, allocations: 1.617 MB / 483.1 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000894/0.1007, allocations: 0.5377 MB / 483.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.777e-05/0.1008, allocations: 0 / 483.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002505/0.101, allocations: 91.73 kB / 483.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002853/0.1013, allocations: 119.6 kB / 483.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.1016, allocations: 95.58 kB / 483.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.1017, allocations: 79.86 kB / 484 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.374e-05/0.1018, allocations: 12 kB / 484 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.875e-05/0.1019, allocations: 43.83 kB / 484 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.724e-05/0.102, allocations: 55.77 kB / 484.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.102, allocations: 4 kB / 484.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.555e-05/0.1021, allocations: 47.97 kB / 484.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.587e-05/0.1021, allocations: 19.92 kB / 484.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.541e-05/0.1022, allocations: 35.69 kB / 484.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.1023, allocations: 111.7 kB / 484.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1024, allocations: 0 / 484.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1024, allocations: 3.938 kB / 484.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.1024, allocations: 0 / 484.3 MB, free: 1.641 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.0004209/0.1028, allocations: 430.8 kB / 484.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1028, allocations: 8.031 kB / 484.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.1029, allocations: 12.75 kB / 484.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.1031, allocations: 200.1 kB / 484.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1031, allocations: 8.375 kB / 485 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.1031, allocations: 384 / 485 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.1032, allocations: 57.8 kB / 485 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1032, allocations: 4 kB / 485 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.1033, allocations: 0 / 485 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.1033, allocations: 4 kB / 485 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.286e-05/0.1034, allocations: 27.97 kB / 485 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003184/0.1037, allocations: 300.7 kB / 485.3 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.322e-05/0.1038, allocations: 42.56 kB / 485.4 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.547e-05/0.1038, allocations: 20.94 kB / 485.4 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.1039, allocations: 4 kB / 485.4 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.1039, allocations: 34.5 kB / 485.4 MB, free: 356 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1039, allocations: 0 / 485.4 MB, free: 356 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007855/0.1047, allocations: 225 kB / 485.7 MB, free: 124 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.1047, allocations: 55.41 kB / 485.7 MB, free: 56 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.105, allocations: 231.1 kB / 485.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.105, allocations: 33.69 kB / 486 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.311e-05/0.1051, allocations: 100.1 kB / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.1051, allocations: 27.55 kB / 486.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.1051, allocations: 25.72 kB / 486.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1053, allocations: 322.8 kB / 486.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.157e-05/0.1053, allocations: 27.97 kB / 486.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.289e-05/0.1054, allocations: 35.92 kB / 486.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.1055, allocations: 60.89 kB / 486.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1056, allocations: 0 / 486.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001758/0.1057, allocations: 97.52 kB / 486.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.1058, allocations: 4 kB / 486.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1058, allocations: 8 kB / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1058, allocations: 3.984 kB / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.791e-05/0.1059, allocations: 16 kB / 486.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.197e-06/0.1059, allocations: 0 / 486.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.218e-05/0.1059, allocations: 11.92 kB / 486.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.974e-06/0.1059, allocations: 4 kB / 486.7 MB, free: 15.02 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.652e-05/0.106, allocations: 130.9 kB / 486.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.1061, allocations: 11.81 kB / 486.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/0.1063, allocations: 127.3 kB / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1063, allocations: 3.938 kB / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1064, allocations: 0 / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1064, allocations: 3.938 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000456/0.1068, allocations: 407.2 kB / 487.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.1068, allocations: 4 kB / 487.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.541e-05/0.1069, allocations: 20.02 kB / 487.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1069, allocations: 4.359 kB / 487.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.1069, allocations: 4 kB / 487.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.107, allocations: 0 / 487.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/0.107, allocations: 3.938 kB / 487.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.1072, allocations: 208.3 kB / 487.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.1072, allocations: 92.86 kB / 487.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.1073, allocations: 7.969 kB / 487.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.884e-05/0.1073, allocations: 4 kB / 487.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.1074, allocations: 7.984 kB / 487.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.1074, allocations: 4 kB / 487.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.1075, allocations: 175.2 kB / 487.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1075, allocations: 0 / 487.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.1078, allocations: 27.98 kB / 487.9 MB, free: 13.69 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.0009129/0.1087, allocations: 449.4 kB / 488.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.1089, allocations: 63.95 kB / 488.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1089, allocations: 0 / 488.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.025e-05/0.109, allocations: 43.91 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.0003172/0.1093, allocations: 15.94 kB / 488.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004298/0.1098, allocations: 266.9 kB / 488.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.11, allocations: 0.7147 MB / 489.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.666e-05/0.1101, allocations: 16.95 kB / 489.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.1101, allocations: 11.44 kB / 489.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1101, allocations: 0 / 489.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of Templates: time 0.003445/0.1136, allocations: 1.364 MB / 490.9 MB, free: 10.86 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches