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.001275/0.001276, allocations: 121 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00129/0.00129, allocations: 212.5 kB / 19.36 MB, free: 3.742 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.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1892/0.1892, allocations: 46.11 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 75.88 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1027, allocations: 62.43 MB / 481.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.00283/0.1056, allocations: 1.598 MB / 483.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008588/0.1065, allocations: 0.5261 MB / 483.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.654e-05/0.1065, allocations: 3.938 kB / 483.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.1067, allocations: 27.84 kB / 483.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002519/0.107, allocations: 75.69 kB / 483.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.1072, allocations: 99.14 kB / 483.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.1073, allocations: 63.83 kB / 483.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.957e-05/0.1074, allocations: 11.98 kB / 483.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.084e-05/0.1075, allocations: 31.84 kB / 483.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.33e-05/0.1075, allocations: 23.86 kB / 483.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.1076, allocations: 0 / 483.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.623e-05/0.1076, allocations: 24 kB / 483.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.304e-05/0.1077, allocations: 11.98 kB / 483.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.834e-05/0.1077, allocations: 31.73 kB / 484 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.1079, allocations: 79.78 kB / 484.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1079, allocations: 4 kB / 484.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1079, allocations: 0 / 484.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1079, allocations: 0 / 484.1 MB, free: 1.91 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.0004156/0.1083, allocations: 391.1 kB / 484.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.1084, allocations: 8.031 kB / 484.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/0.1084, allocations: 8.844 kB / 484.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.1086, allocations: 180.3 kB / 484.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-06/0.1086, allocations: 8.375 kB / 484.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.1086, allocations: 4.375 kB / 484.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.1087, allocations: 57.73 kB / 484.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1088, allocations: 3.906 kB / 484.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.1088, allocations: 0 / 484.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1088, allocations: 0 / 484.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.164e-05/0.1089, allocations: 23.98 kB / 484.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002959/0.1092, allocations: 272.9 kB / 485 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.1094, allocations: 50.5 kB / 485 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.507e-05/0.1094, allocations: 16.94 kB / 485.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.1094, allocations: 0 / 485.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.1095, allocations: 30.56 kB / 485.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.1095, allocations: 0 / 485.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004879/0.11, allocations: 153.2 kB / 485.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.11, allocations: 55.39 kB / 485.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.1101, allocations: 149.2 kB / 485.4 MB, free: 344 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.1102, allocations: 29.7 kB / 485.5 MB, free: 308 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.1102, allocations: 96.12 kB / 485.6 MB, free: 208 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.1102, allocations: 7.812 kB / 485.6 MB, free: 200 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.1103, allocations: 17.72 kB / 485.6 MB, free: 176 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1104, allocations: 330.8 kB / 485.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.498e-05/0.1104, allocations: 19.98 kB / 485.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.058e-05/0.1105, allocations: 19.92 kB / 485.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.1106, allocations: 48.77 kB / 486 MB, free: 15.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1106, allocations: 0 / 486 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001605/0.1108, allocations: 81.58 kB / 486.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.1108, allocations: 4 kB / 486.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1108, allocations: 0 / 486.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1108, allocations: 4 kB / 486.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.985e-05/0.1109, allocations: 11.98 kB / 486.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.1109, allocations: 0 / 486.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.907e-05/0.111, allocations: 11.98 kB / 486.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.111, allocations: 0 / 486.1 MB, free: 15.63 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 (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 7.646e-05/0.1111, allocations: 121.8 kB / 486.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.1111, allocations: 7.906 kB / 486.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002053/0.1113, allocations: 93.84 kB / 486.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1113, allocations: 320 / 486.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.1113, allocations: 4 kB / 486.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.1113, allocations: 3.984 kB / 486.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003587/0.1117, allocations: 358.3 kB / 486.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1117, allocations: 4 kB / 486.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.201e-05/0.1118, allocations: 11.98 kB / 486.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1118, allocations: 0 / 486.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1118, allocations: 4 kB / 486.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1118, allocations: 3.938 kB / 486.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1118, allocations: 0 / 486.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.112, allocations: 179.7 kB / 486.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.057e-05/0.112, allocations: 77.11 kB / 487 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.1121, allocations: 7.984 kB / 487 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.648e-05/0.1121, allocations: 7.938 kB / 487 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.1122, allocations: 7.984 kB / 487 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.1122, allocations: 3.938 kB / 487 MB, free: 14.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.99e-05/0.1123, allocations: 119.2 kB / 487.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1123, allocations: 0 / 487.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002382/0.1125, allocations: 12 kB / 487.1 MB, free: 14.52 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.000848/0.1134, allocations: 402.4 kB / 487.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001723/0.1136, allocations: 47.97 kB / 487.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1136, allocations: 0 / 487.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.51e-05/0.1136, allocations: 27.92 kB / 487.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.114, allocations: 19.23 kB / 487.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.1143, allocations: 182 kB / 487.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.1145, allocations: 0.6916 MB / 488.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.552e-05/0.1146, allocations: 11.98 kB / 488.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.1146, allocations: 15.42 kB / 488.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1146, allocations: 0 / 488.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of Templates: time 0.003295/0.1179, allocations: 1.106 MB / 489.6 MB, free: 12.11 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 -s gbode -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