Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009662/0.0009662, allocations: 91.44 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000942/0.0009421, allocations: 177.2 kB / 18.91 MB, free: 4.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 223.3 MB / 243 MB, free: 14.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1831/0.1831, allocations: 44.25 MB / 338.3 MB, free: 2.406 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003243, allocations: 10.09 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.101, allocations: 61.93 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.001886/0.1029, allocations: 1.352 MB / 474.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007727/0.1037, allocations: 443.3 kB / 474.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.381e-05/0.1037, allocations: 0 / 474.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.104, allocations: 51.86 kB / 474.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001509/0.1041, allocations: 55.81 kB / 474.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000383/0.1045, allocations: 162.4 kB / 475 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.1047, allocations: 75.77 kB / 475 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1048, allocations: 15.98 kB / 475.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.114e-05/0.1049, allocations: 31.91 kB / 475.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.909e-05/0.105, allocations: 39.78 kB / 475.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.105, allocations: 4 kB / 475.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.684e-05/0.1051, allocations: 47.97 kB / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.419e-05/0.1051, allocations: 15.98 kB / 475.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.426e-05/0.1052, allocations: 53.39 kB / 475.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.1053, allocations: 72.16 kB / 475.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1053, allocations: 4 kB / 475.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1054, allocations: 3.938 kB / 475.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.1054, allocations: 0 / 475.3 MB, free: 10.89 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004713/0.1058, allocations: 403.1 kB / 475.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.1059, allocations: 12.03 kB / 475.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.1059, allocations: 8.844 kB / 475.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.1061, allocations: 196.7 kB / 475.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.1061, allocations: 4.375 kB / 475.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.1061, allocations: 7.938 kB / 475.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.1063, allocations: 69.61 kB / 476 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1063, allocations: 7.984 kB / 476 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.1064, allocations: 4 kB / 476 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1064, allocations: 0 / 476 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.1065, allocations: 43.97 kB / 476.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.107, allocations: 336.6 kB / 476.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.1072, allocations: 58.55 kB / 476.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.047e-05/0.1073, allocations: 32.97 kB / 476.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.1073, allocations: 4 kB / 476.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.1073, allocations: 34.59 kB / 476.5 MB, free: 9.531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.1073, allocations: 0 / 476.5 MB, free: 9.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001535/0.1089, allocations: 0.489 MB / 477 MB, free: 9.035 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.1089, allocations: 51.41 kB / 477.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.1091, allocations: 178.5 kB / 477.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.1091, allocations: 33.7 kB / 477.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.1092, allocations: 108 kB / 477.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.1092, allocations: 31.55 kB / 477.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/0.1093, allocations: 21.7 kB / 477.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.631e-05/0.1094, allocations: 314.8 kB / 477.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.1095, allocations: 59.95 kB / 477.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.1097, allocations: 71.95 kB / 477.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.11, allocations: 140.7 kB / 478 MB, free: 7.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.11, allocations: 0 / 478 MB, free: 7.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003443/0.1103, allocations: 181.4 kB / 478.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.1103, allocations: 8 kB / 478.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1103, allocations: 3.938 kB / 478.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.1104, allocations: 4.547 kB / 478.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.1105, allocations: 27.98 kB / 478.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.1105, allocations: 7.922 kB / 478.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.866e-05/0.1106, allocations: 23.98 kB / 478.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.1106, allocations: 4 kB / 478.3 MB, free: 7.73 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 (11): * Single equations (assignments): 11 * 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.763e-05/0.1107, allocations: 134.3 kB / 478.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.1107, allocations: 7.906 kB / 478.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004193/0.1112, allocations: 210.2 kB / 478.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1112, allocations: 0 / 478.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1112, allocations: 0 / 478.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1112, allocations: 0 / 478.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006962/0.1119, allocations: 0.5155 MB / 479.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1119, allocations: 0 / 479.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.112, allocations: 35.91 kB / 479.1 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.112, allocations: 0 / 479.1 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.112, allocations: 8 kB / 479.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.112, allocations: 0 / 479.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.1121, allocations: 7.984 kB / 479.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003852/0.1124, allocations: 285.6 kB / 479.4 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.437e-05/0.1125, allocations: 92.91 kB / 479.5 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.1125, allocations: 0 / 479.5 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.1126, allocations: 19.98 kB / 479.6 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.1127, allocations: 11.92 kB / 479.6 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.1127, allocations: 4 kB / 479.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.834e-05/0.1128, allocations: 141.5 kB / 479.7 MB, free: 6.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1128, allocations: 4 kB / 479.7 MB, free: 6.156 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.1131, allocations: 27.98 kB / 479.7 MB, free: 6.129 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001001/0.1141, allocations: 451.3 kB / 480.2 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003549/0.1145, allocations: 147.8 kB / 480.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1145, allocations: 4 kB / 480.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.1146, allocations: 79.89 kB / 480.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.115, allocations: 15.98 kB / 480.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005377/0.1155, allocations: 352.7 kB / 480.8 MB, free: 5.242 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.1158, allocations: 0.7121 MB / 481.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.503e-05/0.1159, allocations: 19.44 kB / 481.5 MB, free: 4.484 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1159, allocations: 4 kB / 481.5 MB, free: 4.48 MB / 350.1 MB Notification: Performance of Templates: time 0.003607/0.1195, allocations: 1.984 MB / 483.5 MB, free: 2.508 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches