Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001393/0.001393, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.392/1.392, allocations: 222.9 MB / 242.9 MB, free: 15.21 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.2153/0.2153, allocations: 44.18 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 58.44 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09529/0.09651, allocations: 60.83 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003155/0.09971, allocations: 1.608 MB / 471.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007588/0.1005, allocations: 443 kB / 472 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.882e-05/0.1006, allocations: 0 / 472 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005132/0.1011, allocations: 451.1 kB / 472.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003768/0.1015, allocations: 255.4 kB / 472.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003703/0.1019, allocations: 118.7 kB / 472.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.1021, allocations: 167.6 kB / 472.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1022, allocations: 28.16 kB / 473 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.1024, allocations: 103.8 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002401/0.1026, allocations: 211.6 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.1027, allocations: 4 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.584e-05/0.1028, allocations: 27.98 kB / 473.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.697e-05/0.1029, allocations: 83.67 kB / 473.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.901e-05/0.103, allocations: 107 kB / 473.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.1032, allocations: 255 kB / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1033, allocations: 0 / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1033, allocations: 0 / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1033, allocations: 0 / 473.7 MB, free: 10.55 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.000693/0.104, allocations: 0.6339 MB / 474.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.104, allocations: 8.031 kB / 474.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.292e-05/0.1041, allocations: 44.38 kB / 474.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.1044, allocations: 296.1 kB / 474.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.1044, allocations: 4.375 kB / 474.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.1044, allocations: 4.375 kB / 474.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.1046, allocations: 65.59 kB / 474.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1046, allocations: 0 / 474.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.1046, allocations: 0 / 474.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1046, allocations: 0 / 474.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.1048, allocations: 31.97 kB / 474.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.1052, allocations: 392.7 kB / 475.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.1053, allocations: 38.56 kB / 475.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.812e-05/0.1054, allocations: 20.94 kB / 475.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.1054, allocations: 4 kB / 475.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.1055, allocations: 34.56 kB / 475.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1055, allocations: 0 / 475.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008098/0.1063, allocations: 283.8 kB / 475.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.1063, allocations: 51.41 kB / 475.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007834/0.1071, allocations: 0.8612 MB / 476.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.1071, allocations: 29.7 kB / 476.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.1073, allocations: 215.9 kB / 476.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.1073, allocations: 27.72 kB / 476.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.536e-05/0.1074, allocations: 21.7 kB / 476.8 MB, free: 7.301 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1075, allocations: 362.7 kB / 477.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.1076, allocations: 31.97 kB / 477.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.1078, allocations: 35.97 kB / 477.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.108, allocations: 77.03 kB / 477.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.108, allocations: 0 / 477.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002901/0.1083, allocations: 141.1 kB / 477.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1083, allocations: 8 kB / 477.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1083, allocations: 0 / 477.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.1083, allocations: 0 / 477.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.1085, allocations: 23.92 kB / 477.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1085, allocations: 0 / 477.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.361e-05/0.1086, allocations: 11.92 kB / 477.4 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.1086, allocations: 8 kB / 477.5 MB, free: 6.598 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 (7): * Single equations (assignments): 7 * 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 0.0001771/0.1087, allocations: 213.8 kB / 477.7 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.999e-05/0.1088, allocations: 35.53 kB / 477.7 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003513/0.1092, allocations: 165.4 kB / 477.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1092, allocations: 3.938 kB / 477.9 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.1092, allocations: 4 kB / 477.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1092, allocations: 3.938 kB / 477.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006042/0.1098, allocations: 494.4 kB / 478.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1098, allocations: 0 / 478.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.291e-05/0.1099, allocations: 19.98 kB / 478.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.1099, allocations: 288 / 478.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1099, allocations: 3.938 kB / 478.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1099, allocations: 0 / 478.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.11, allocations: 3.938 kB / 478.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.1103, allocations: 246.9 kB / 478.6 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.789e-05/0.1104, allocations: 116.5 kB / 478.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.1104, allocations: 3.938 kB / 478.7 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.1105, allocations: 7.984 kB / 478.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.1106, allocations: 7.984 kB / 478.8 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.1106, allocations: 12 kB / 478.8 MB, free: 5.172 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005527/0.1111, allocations: 0.6432 MB / 479.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1112, allocations: 0 / 479.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.1114, allocations: 24 kB / 479.4 MB, free: 4.508 MB / 350.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 (7): * Single equations (assignments): 7 * 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.0008863/0.1123, allocations: 402.7 kB / 479.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003073/0.1126, allocations: 91.86 kB / 479.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1127, allocations: 0 / 479.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.1128, allocations: 43.89 kB / 480 MB, free: 4.137 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.1132, allocations: 29.61 kB / 480 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.1143, allocations: 0.84 MB / 480.8 MB, free: 3.234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.1147, allocations: 0.8221 MB / 481.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.103e-05/0.1147, allocations: 15.44 kB / 481.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1147, allocations: 0 / 481.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of Templates: time 0.006901/0.1216, allocations: 3.756 MB / 485.4 MB, free: 14.61 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches