Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001279/0.001279, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001235/0.001235, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 246.9 MB, free: 9.078 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2114/0.2114, allocations: 46.1 MB / 344.3 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 77 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09962/0.101, allocations: 62.44 MB / 479.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003069/0.1041, allocations: 1.673 MB / 481.6 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009693/0.1051, allocations: 0.534 MB / 482.1 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.172e-05/0.1052, allocations: 0 / 482.1 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002452/0.1054, allocations: 75.7 kB / 482.2 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002326/0.1057, allocations: 83.8 kB / 482.3 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.106, allocations: 79.72 kB / 482.4 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.1061, allocations: 87.73 kB / 482.5 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.467e-05/0.1062, allocations: 16 kB / 482.5 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.939e-05/0.1063, allocations: 31.91 kB / 482.5 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.1064, allocations: 55.81 kB / 482.6 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.1064, allocations: 0 / 482.6 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.363e-05/0.1065, allocations: 43.94 kB / 482.6 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.391e-05/0.1066, allocations: 23.91 kB / 482.6 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.224e-05/0.1066, allocations: 31.67 kB / 482.7 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.1068, allocations: 83.89 kB / 482.7 MB, free: 2.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1068, allocations: 4 kB / 482.7 MB, free: 2.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1068, allocations: 0 / 482.7 MB, free: 2.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.1068, allocations: 0 / 482.7 MB, free: 2.871 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.0004603/0.1072, allocations: 415.2 kB / 483.2 MB, free: 2.418 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.1073, allocations: 8.875 kB / 483.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.247e-05/0.1073, allocations: 8.844 kB / 483.2 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.1076, allocations: 202.6 kB / 483.4 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.783e-06/0.1076, allocations: 4.375 kB / 483.4 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.1076, allocations: 8.359 kB / 483.4 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.1077, allocations: 65.78 kB / 483.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1078, allocations: 0 / 483.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.1078, allocations: 3.984 kB / 483.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1078, allocations: 0 / 483.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.239e-05/0.1079, allocations: 23.98 kB / 483.5 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003541/0.1083, allocations: 304.6 kB / 483.8 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.1084, allocations: 46.5 kB / 483.8 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.74e-05/0.1084, allocations: 16.94 kB / 483.8 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.1085, allocations: 4 kB / 483.8 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.1085, allocations: 30.56 kB / 483.9 MB, free: 1.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.1085, allocations: 0 / 483.9 MB, free: 1.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008436/0.1093, allocations: 221.1 kB / 484.1 MB, free: 1.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.1094, allocations: 59.33 kB / 484.1 MB, free: 1.297 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.1096, allocations: 218.8 kB / 484.4 MB, free: 1.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.1096, allocations: 25.7 kB / 484.4 MB, free: 1.043 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.1097, allocations: 108.1 kB / 484.5 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.1097, allocations: 27.56 kB / 484.5 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.1098, allocations: 21.7 kB / 484.5 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.1099, allocations: 322.8 kB / 484.8 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.916e-05/0.11, allocations: 27.98 kB / 484.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.489e-05/0.11, allocations: 19.98 kB / 484.9 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.1102, allocations: 68.77 kB / 485 MB, free: 448 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1102, allocations: 0 / 485 MB, free: 448 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001965/0.1104, allocations: 101.6 kB / 485.1 MB, free: 340 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.1104, allocations: 10.59 kB / 485.1 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1104, allocations: 0 / 485.1 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.1104, allocations: 0 / 485.1 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.421e-05/0.1105, allocations: 19.98 kB / 485.1 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1106, allocations: 0 / 485.1 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.628e-05/0.1106, allocations: 11.94 kB / 485.1 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.1106, allocations: 0 / 485.1 MB, free: 300 kB / 350.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.541e-05/0.1107, allocations: 129.8 kB / 485.2 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.1108, allocations: 11.81 kB / 485.2 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002659/0.111, allocations: 131.2 kB / 485.4 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.1111, allocations: 4 kB / 485.4 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.1111, allocations: 0 / 485.4 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.728e-05/0.1111, allocations: 7.938 kB / 485.4 MB, free: 0 / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005073/0.1116, allocations: 407.4 kB / 485.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1116, allocations: 3.938 kB / 485.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.894e-05/0.1117, allocations: 19.98 kB / 485.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.1117, allocations: 4.359 kB / 485.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.1117, allocations: 0 / 485.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1117, allocations: 8.031 kB / 485.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1117, allocations: 0 / 485.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.112, allocations: 204.1 kB / 486 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/0.112, allocations: 96.94 kB / 486.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.112, allocations: 3.984 kB / 486.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.1121, allocations: 4 kB / 486.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.1122, allocations: 11.98 kB / 486.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.1122, allocations: 0 / 486.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.1123, allocations: 168.7 kB / 486.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1123, allocations: 0 / 486.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002435/0.1126, allocations: 20 kB / 486.3 MB, free: 14.97 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.0009657/0.1135, allocations: 444.4 kB / 486.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002059/0.1137, allocations: 67.89 kB / 486.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1138, allocations: 0 / 486.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.721e-05/0.1138, allocations: 31.98 kB / 486.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.1142, allocations: 31.42 kB / 486.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004997/0.1147, allocations: 314.5 kB / 487.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.115, allocations: 0.7043 MB / 487.9 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.701e-05/0.115, allocations: 11.44 kB / 487.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.115, allocations: 0 / 487.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of Templates: time 0.003308/0.1183, allocations: 1.754 MB / 489.6 MB, free: 11.72 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches