Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, 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.001174/0.001174, 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.406/1.406, 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.2136/0.2136, allocations: 44.19 MB / 337.3 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 63.2 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09732/0.09875, allocations: 60.82 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.00276/0.1015, allocations: 1.572 MB / 471.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007714/0.1023, allocations: 451.1 kB / 471.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.707e-05/0.1024, allocations: 0 / 471.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005037/0.1029, allocations: 447.1 kB / 472.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003363/0.1033, allocations: 247.5 kB / 472.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000407/0.1037, allocations: 171.3 kB / 472.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.1039, allocations: 167.7 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.677e-05/0.104, allocations: 8.188 kB / 473 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.1042, allocations: 119.7 kB / 473.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.1044, allocations: 207.6 kB / 473.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.1045, allocations: 4 kB / 473.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.868e-05/0.1045, allocations: 16 kB / 473.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.1046, allocations: 83.62 kB / 473.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.182e-05/0.1047, allocations: 107 kB / 473.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.105, allocations: 235 kB / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.105, allocations: 0 / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.105, allocations: 4 kB / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.105, allocations: 0 / 473.7 MB, free: 10.57 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.000664/0.1057, allocations: 0.6261 MB / 474.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.1057, allocations: 12.03 kB / 474.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.274e-05/0.1058, allocations: 40.38 kB / 474.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.1061, allocations: 308.1 kB / 474.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.492e-06/0.1061, allocations: 384 / 474.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.1061, allocations: 384 / 474.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.1063, allocations: 69.55 kB / 474.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.1063, allocations: 0 / 474.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.1063, allocations: 0 / 474.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1063, allocations: 0 / 474.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.1065, allocations: 31.97 kB / 474.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000483/0.107, allocations: 392.8 kB / 475.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.1071, allocations: 46.5 kB / 475.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.186e-05/0.1072, allocations: 24.94 kB / 475.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.1072, allocations: 3.984 kB / 475.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.1072, allocations: 34.56 kB / 475.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.1072, allocations: 0 / 475.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003295/0.1076, allocations: 121.1 kB / 475.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.1076, allocations: 55.41 kB / 475.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007791/0.1084, allocations: 0.8573 MB / 476.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.1084, allocations: 25.7 kB / 476.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.1086, allocations: 212.1 kB / 476.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.1086, allocations: 3.906 kB / 476.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/0.1086, allocations: 21.7 kB / 476.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1088, allocations: 366.7 kB / 476.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.12e-05/0.1089, allocations: 19.98 kB / 476.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.94e-05/0.1089, allocations: 19.98 kB / 477 MB, free: 7.094 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.1091, allocations: 40.81 kB / 477 MB, free: 7.051 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1091, allocations: 0 / 477 MB, free: 7.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002007/0.1093, allocations: 113.1 kB / 477.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1093, allocations: 4 kB / 477.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1093, allocations: 0 / 477.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1093, allocations: 0 / 477.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.025e-05/0.1094, allocations: 15.92 kB / 477.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1094, allocations: 0 / 477.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.522e-05/0.1095, allocations: 7.938 kB / 477.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.1095, allocations: 4 kB / 477.1 MB, free: 6.902 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 (3): * Single equations (assignments): 3 * 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.0001665/0.1097, allocations: 217.7 kB / 477.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/0.1097, allocations: 51.38 kB / 477.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000244/0.11, allocations: 125.3 kB / 477.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.11, allocations: 0 / 477.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.11, allocations: 48 / 477.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.11, allocations: 3.984 kB / 477.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.1103, allocations: 285.5 kB / 477.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1103, allocations: 0 / 477.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.442e-05/0.1104, allocations: 15.92 kB / 477.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.1104, allocations: 4 kB / 477.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.1104, allocations: 4 kB / 477.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.1104, allocations: 0 / 477.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1104, allocations: 0 / 477.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.1106, allocations: 203 kB / 478 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.687e-05/0.1107, allocations: 112.5 kB / 478.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.1107, allocations: 0 / 478.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.858e-05/0.1108, allocations: 4 kB / 478.1 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.1109, allocations: 7.984 kB / 478.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1109, allocations: 0 / 478.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005459/0.1114, allocations: 0.6472 MB / 478.8 MB, free: 5.137 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1114, allocations: 0 / 478.8 MB, free: 5.137 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.1117, allocations: 16 kB / 478.8 MB, free: 5.121 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 (3): * Single equations (assignments): 3 * 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.0007634/0.1124, allocations: 369.9 kB / 479.2 MB, free: 4.887 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001835/0.1126, allocations: 35.97 kB / 479.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1126, allocations: 0 / 479.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.336e-05/0.1127, allocations: 31.91 kB / 479.2 MB, free: 4.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.1131, allocations: 21.97 kB / 479.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009976/0.1141, allocations: 0.8163 MB / 480.1 MB, free: 3.953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.1145, allocations: 0.8259 MB / 480.9 MB, free: 3.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/0.1145, allocations: 11.44 kB / 480.9 MB, free: 3.09 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1146, allocations: 0 / 480.9 MB, free: 3.09 MB / 350.1 MB Notification: Performance of Templates: time 0.006539/0.1211, allocations: 3.531 MB / 484.5 MB, free: 15.56 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches