Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007867/0.0007869, allocations: 97.92 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008534/0.0008534, allocations: 201.9 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 227.7 MB / 247.5 MB, free: 11.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1865/0.1865, allocations: 46.18 MB / 345.9 MB, free: 11.35 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002659/0.000266, allocations: 8 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0964/0.09668, allocations: 63.55 MB / 483.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.001875/0.09859, allocations: 1.33 MB / 485.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009408/0.09955, allocations: 0.5302 MB / 485.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.609e-05/0.09962, allocations: 0 / 485.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001969/0.09983, allocations: 23.86 kB / 485.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002072/0.1, allocations: 63.81 kB / 485.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.1003, allocations: 75.84 kB / 485.7 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.1005, allocations: 71.83 kB / 485.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.825e-05/0.1006, allocations: 11.94 kB / 485.8 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.17e-05/0.1006, allocations: 31.84 kB / 485.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.879e-05/0.1007, allocations: 27.8 kB / 485.9 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.1007, allocations: 8 kB / 485.9 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.1009, allocations: 95.92 kB / 486 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.169e-05/0.101, allocations: 11.94 kB / 486 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.125e-05/0.101, allocations: 57.48 kB / 486.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.1012, allocations: 103.8 kB / 486.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.1012, allocations: 0 / 486.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1012, allocations: 0 / 486.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.1012, allocations: 4 kB / 486.2 MB, free: 1.707 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004579/0.1017, allocations: 395.5 kB / 486.5 MB, free: 1.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.1017, allocations: 16.03 kB / 486.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.1018, allocations: 8.844 kB / 486.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.102, allocations: 194.8 kB / 486.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.102, allocations: 8.375 kB / 486.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.102, allocations: 384 / 486.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.1022, allocations: 79.45 kB / 486.8 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1022, allocations: 0 / 486.8 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1022, allocations: 0 / 486.8 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1023, allocations: 8 kB / 486.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.1024, allocations: 31.97 kB / 486.9 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000405/0.1028, allocations: 296.8 kB / 487.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.1029, allocations: 70.48 kB / 487.2 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.271e-05/0.103, allocations: 24.97 kB / 487.3 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.103, allocations: 4 kB / 487.3 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.1031, allocations: 30.56 kB / 487.3 MB, free: 408 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1031, allocations: 0 / 487.3 MB, free: 408 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006519/0.1037, allocations: 205.2 kB / 487.5 MB, free: 196 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.1038, allocations: 81.11 kB / 487.6 MB, free: 96 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.104, allocations: 156.4 kB / 487.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.104, allocations: 29.7 kB / 487.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.876e-05/0.1041, allocations: 100 kB / 487.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.1041, allocations: 27.64 kB / 487.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/0.1041, allocations: 9.719 kB / 487.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1042, allocations: 326.8 kB / 488.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.043e-05/0.1043, allocations: 31.98 kB / 488.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.1044, allocations: 61.56 kB / 488.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.1046, allocations: 80.81 kB / 488.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1046, allocations: 0 / 488.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002457/0.1049, allocations: 121.5 kB / 488.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1049, allocations: 7.938 kB / 488.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1049, allocations: 4 kB / 488.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.1049, allocations: 0 / 488.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.1051, allocations: 23.98 kB / 488.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1051, allocations: 0 / 488.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.484e-05/0.1051, allocations: 12 kB / 488.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1051, allocations: 0 / 488.6 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 (9): * Single equations (assignments): 9 * 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.359e-05/0.1052, allocations: 125.7 kB / 488.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.1053, allocations: 7.906 kB / 488.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002896/0.1056, allocations: 126.4 kB / 488.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1056, allocations: 4 kB / 488.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1056, allocations: 0 / 488.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1056, allocations: 0 / 488.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005124/0.1061, allocations: 414.3 kB / 489.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1061, allocations: 0 / 489.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.67e-05/0.1062, allocations: 19.98 kB / 489.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1062, allocations: 0 / 489.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.1062, allocations: 3.938 kB / 489.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.1063, allocations: 4.375 kB / 489.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1063, allocations: 0 / 489.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.1065, allocations: 207.4 kB / 489.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.1066, allocations: 93.28 kB / 489.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.1066, allocations: 7.938 kB / 489.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.036e-05/0.1067, allocations: 7.984 kB / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.1067, allocations: 15.94 kB / 489.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-06/0.1068, allocations: 0 / 489.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.474e-05/0.1069, allocations: 121.7 kB / 489.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1069, allocations: 0 / 489.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.1072, allocations: 39.98 kB / 489.7 MB, free: 13.79 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 (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.001086/0.1083, allocations: 499.8 kB / 490.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002349/0.1085, allocations: 83.89 kB / 490.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1085, allocations: 0 / 490.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.841e-05/0.1086, allocations: 35.98 kB / 490.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.1089, allocations: 16.17 kB / 490.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004619/0.1094, allocations: 266.6 kB / 490.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.1097, allocations: 0.7043 MB / 491.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.454e-05/0.1097, allocations: 15.44 kB / 491.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1097, allocations: 4 kB / 491.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of Templates: time 0.003994/0.1137, allocations: 2.14 MB / 493.5 MB, free: 10.14 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches