Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001281/0.001281, allocations: 112.5 kB / 17.86 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001334/0.001334, allocations: 209.7 kB / 18.79 MB, free: 4.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 246.9 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2086/0.2086, allocations: 46.11 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 77.97 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1036, allocations: 62.44 MB / 479.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002927/0.1066, allocations: 1.657 MB / 481.6 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009063/0.1075, allocations: 0.5261 MB / 482.1 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.079e-05/0.1075, allocations: 7.938 kB / 482.1 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001741/0.1077, allocations: 23.91 kB / 482.1 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001909/0.1079, allocations: 63.83 kB / 482.2 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002152/0.1082, allocations: 79.78 kB / 482.3 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.1083, allocations: 51.91 kB / 482.3 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.963e-05/0.1084, allocations: 19.92 kB / 482.4 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.966e-05/0.1084, allocations: 19.86 kB / 482.4 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.162e-05/0.1085, allocations: 23.86 kB / 482.4 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.1085, allocations: 4 kB / 482.4 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.828e-05/0.1086, allocations: 35.98 kB / 482.4 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.177e-05/0.1086, allocations: 7.938 kB / 482.4 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.1087, allocations: 23.84 kB / 482.5 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.1088, allocations: 59.86 kB / 482.5 MB, free: 3.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1088, allocations: 0 / 482.5 MB, free: 3.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1088, allocations: 0 / 482.5 MB, free: 3.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.1088, allocations: 0 / 482.5 MB, free: 3.102 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.0004253/0.1093, allocations: 383.5 kB / 482.9 MB, free: 2.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.1093, allocations: 16.81 kB / 482.9 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.1093, allocations: 12.84 kB / 482.9 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.1095, allocations: 180.3 kB / 483.1 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.1095, allocations: 384 / 483.1 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.1096, allocations: 8.281 kB / 483.1 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.1097, allocations: 57.8 kB / 483.2 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1097, allocations: 0 / 483.2 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1097, allocations: 0 / 483.2 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.1098, allocations: 4 kB / 483.2 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.176e-05/0.1098, allocations: 19.98 kB / 483.2 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/0.1102, allocations: 280.8 kB / 483.5 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.1104, allocations: 42.56 kB / 483.5 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.932e-05/0.1104, allocations: 16.94 kB / 483.5 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.1105, allocations: 4 kB / 483.5 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.1105, allocations: 34.56 kB / 483.6 MB, free: 1.902 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.1105, allocations: 0 / 483.6 MB, free: 1.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005237/0.111, allocations: 145.5 kB / 483.7 MB, free: 1.754 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.1111, allocations: 51.41 kB / 483.8 MB, free: 1.691 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.1112, allocations: 146.2 kB / 483.9 MB, free: 1.539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.1112, allocations: 29.7 kB / 483.9 MB, free: 1.504 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.804e-05/0.1113, allocations: 100.1 kB / 484 MB, free: 1.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.1113, allocations: 19.75 kB / 484 MB, free: 1.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.1114, allocations: 17.72 kB / 484.1 MB, free: 1.359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1115, allocations: 326.8 kB / 484.4 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.544e-05/0.1116, allocations: 11.98 kB / 484.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.451e-05/0.1116, allocations: 23.92 kB / 484.4 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.1118, allocations: 52.83 kB / 484.5 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1118, allocations: 0 / 484.5 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001682/0.1119, allocations: 81.56 kB / 484.5 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.112, allocations: 6.656 kB / 484.6 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.112, allocations: 0 / 484.6 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.112, allocations: 0 / 484.6 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.512e-05/0.1121, allocations: 19.92 kB / 484.6 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.1121, allocations: 0 / 484.6 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.008e-05/0.1121, allocations: 7.984 kB / 484.6 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.1121, allocations: 4 kB / 484.6 MB, free: 0.8203 MB / 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 (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 8.272e-05/0.1122, allocations: 117.8 kB / 484.7 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.1123, allocations: 7.906 kB / 484.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002133/0.1125, allocations: 94.22 kB / 484.8 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1125, allocations: 4 kB / 484.8 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1125, allocations: 0 / 484.8 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1125, allocations: 7.984 kB / 484.8 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003893/0.1129, allocations: 350.4 kB / 485.2 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1129, allocations: 0 / 485.2 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.565e-05/0.113, allocations: 15.98 kB / 485.2 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.113, allocations: 0 / 485.2 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.113, allocations: 0 / 485.2 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.113, allocations: 3.938 kB / 485.2 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.113, allocations: 0 / 485.2 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.1132, allocations: 183.4 kB / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.489e-05/0.1133, allocations: 81.11 kB / 485.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.1133, allocations: 0 / 485.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.767e-05/0.1134, allocations: 7.938 kB / 485.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.1134, allocations: 3.984 kB / 485.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.1134, allocations: 8 kB / 485.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.546e-05/0.1135, allocations: 125.4 kB / 485.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1135, allocations: 0 / 485.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.1138, allocations: 12 kB / 485.6 MB, free: 15.71 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.0008641/0.1146, allocations: 395.7 kB / 486 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.1148, allocations: 47.91 kB / 486 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1148, allocations: 0 / 486 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.994e-05/0.1149, allocations: 31.92 kB / 486.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.1152, allocations: 15.98 kB / 486.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.1156, allocations: 221.5 kB / 486.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.1159, allocations: 0.7032 MB / 487 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.113e-05/0.1159, allocations: 11.44 kB / 487 MB, free: 14.38 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1159, allocations: 0 / 487 MB, free: 14.38 MB / 366.1 MB Notification: Performance of Templates: time 0.002732/0.1187, allocations: 1.42 MB / 488.4 MB, free: 12.95 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches