Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001049/0.001049, allocations: 115.8 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.001209/0.001209, allocations: 199.5 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.261/1.261, 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.1999/0.1999, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 76.72 kB / 419 MB, free: 19.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09844/0.09975, allocations: 62.46 MB / 481.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002781/0.1026, allocations: 1.607 MB / 483.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008302/0.1034, allocations: 0.5455 MB / 483.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.149e-05/0.1035, allocations: 0 / 483.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.1037, allocations: 75.77 kB / 483.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002422/0.1039, allocations: 103.6 kB / 483.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.1042, allocations: 111.5 kB / 483.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.1044, allocations: 79.86 kB / 484 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.855e-05/0.1045, allocations: 15.94 kB / 484 MB, free: 2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.043e-05/0.1045, allocations: 47.83 kB / 484 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.653e-05/0.1046, allocations: 43.84 kB / 484.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.1046, allocations: 7.938 kB / 484.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.881e-05/0.1047, allocations: 47.97 kB / 484.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.416e-05/0.1048, allocations: 19.92 kB / 484.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.1048, allocations: 27.75 kB / 484.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.105, allocations: 107.6 kB / 484.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.105, allocations: 4 kB / 484.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.105, allocations: 0 / 484.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.105, allocations: 0 / 484.3 MB, free: 1.699 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.000382/0.1054, allocations: 407 kB / 484.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.756e-05/0.1054, allocations: 8.031 kB / 484.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/0.1054, allocations: 16.75 kB / 484.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.1056, allocations: 196.1 kB / 484.9 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-06/0.1057, allocations: 4.375 kB / 484.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.1057, allocations: 4.375 kB / 484.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.1058, allocations: 57.8 kB / 485 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1058, allocations: 3.938 kB / 485 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.1059, allocations: 4 kB / 485 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.1059, allocations: 4 kB / 485 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.582e-05/0.1059, allocations: 27.97 kB / 485 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.1063, allocations: 292.8 kB / 485.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.959e-05/0.1064, allocations: 54.48 kB / 485.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.575e-05/0.1065, allocations: 16.86 kB / 485.4 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.1065, allocations: 8.078 kB / 485.4 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.1065, allocations: 30.56 kB / 485.4 MB, free: 436 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.404e-06/0.1065, allocations: 3.984 kB / 485.4 MB, free: 432 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000794/0.1073, allocations: 249 kB / 485.6 MB, free: 176 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.1074, allocations: 55.41 kB / 485.7 MB, free: 108 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.1076, allocations: 203.3 kB / 485.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.1076, allocations: 29.7 kB / 485.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.747e-05/0.1076, allocations: 100.1 kB / 486 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.1077, allocations: 27.56 kB / 486.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.1077, allocations: 25.7 kB / 486.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.1078, allocations: 326.8 kB / 486.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.828e-05/0.1079, allocations: 27.98 kB / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.877e-05/0.108, allocations: 31.97 kB / 486.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.1081, allocations: 72.77 kB / 486.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1081, allocations: 0 / 486.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001941/0.1083, allocations: 109.5 kB / 486.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1084, allocations: 15.92 kB / 486.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.1084, allocations: 0 / 486.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.1084, allocations: 4 kB / 486.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.956e-05/0.1085, allocations: 15.98 kB / 486.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.1085, allocations: 3.938 kB / 486.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.221e-05/0.1086, allocations: 11.94 kB / 486.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.1086, allocations: 4 kB / 486.7 MB, free: 15.07 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 7.787e-05/0.1086, allocations: 125.8 kB / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.1087, allocations: 11.81 kB / 486.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002662/0.109, allocations: 135 kB / 487 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.109, allocations: 0 / 487 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.109, allocations: 4 kB / 487 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.109, allocations: 3.938 kB / 487 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004626/0.1095, allocations: 411.3 kB / 487.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1095, allocations: 8.031 kB / 487.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.579e-05/0.1095, allocations: 19.92 kB / 487.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1096, allocations: 3.938 kB / 487.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.1096, allocations: 4 kB / 487.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1096, allocations: 0 / 487.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1096, allocations: 480 / 487.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.1098, allocations: 220.2 kB / 487.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.275e-05/0.1099, allocations: 88.95 kB / 487.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.1099, allocations: 7.984 kB / 487.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-05/0.11, allocations: 4 kB / 487.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.11, allocations: 11.92 kB / 487.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.11, allocations: 4 kB / 487.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001034/0.1101, allocations: 151.9 kB / 487.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1101, allocations: 0 / 487.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002383/0.1104, allocations: 24 kB / 487.9 MB, free: 13.74 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.0009479/0.1113, allocations: 456 kB / 488.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002085/0.1116, allocations: 79.89 kB / 488.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1116, allocations: 0 / 488.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.743e-05/0.1117, allocations: 39.97 kB / 488.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.112, allocations: 19.98 kB / 488.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004462/0.1124, allocations: 263 kB / 488.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.1127, allocations: 0.7119 MB / 489.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.558e-05/0.1128, allocations: 20.95 kB / 489.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.1128, allocations: 15.42 kB / 489.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1128, allocations: 0 / 489.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of Templates: time 0.003419/0.1163, allocations: 1.373 MB / 490.9 MB, free: 10.89 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches