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.001159/0.001159, allocations: 95.08 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.001269/0.001269, allocations: 181.6 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.324/1.324, allocations: 223.3 MB / 243 MB, free: 14.45 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.1843/0.1843, allocations: 44.25 MB / 338.3 MB, free: 2.395 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003014/0.0003014, allocations: 12 kB / 411 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1023, allocations: 61.92 MB / 472.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.001963/0.1043, allocations: 1.294 MB / 474.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008155/0.1051, allocations: 423.3 kB / 474.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.212e-05/0.1052, allocations: 0 / 474.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005404/0.1058, allocations: 455.2 kB / 475.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003131/0.1061, allocations: 239.6 kB / 475.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/0.1065, allocations: 161.3 kB / 475.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.1068, allocations: 163.7 kB / 475.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.579e-05/0.1069, allocations: 4.188 kB / 475.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.107, allocations: 107.7 kB / 475.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.1073, allocations: 203.6 kB / 475.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.1073, allocations: 0 / 475.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.406e-05/0.1074, allocations: 27.98 kB / 476 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.1075, allocations: 79.69 kB / 476 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.488e-05/0.1076, allocations: 128.7 kB / 476.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.1078, allocations: 167.8 kB / 476.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1078, allocations: 0 / 476.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1078, allocations: 0 / 476.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.1079, allocations: 4 kB / 476.3 MB, free: 9.863 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.0007643/0.1086, allocations: 0.5953 MB / 476.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1087, allocations: 8.031 kB / 476.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.145e-05/0.1088, allocations: 44.38 kB / 477 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.109, allocations: 288.2 kB / 477.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-06/0.109, allocations: 384 / 477.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.1091, allocations: 4.375 kB / 477.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.1092, allocations: 77.48 kB / 477.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1093, allocations: 0 / 477.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1093, allocations: 4 kB / 477.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1093, allocations: 0 / 477.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.1094, allocations: 39.97 kB / 477.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005056/0.1099, allocations: 392.7 kB / 477.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.1101, allocations: 54.48 kB / 477.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.875e-05/0.1102, allocations: 32.94 kB / 477.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.381e-05/0.1102, allocations: 0 / 477.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.1102, allocations: 34.56 kB / 477.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.743e-06/0.1103, allocations: 0 / 477.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003713/0.1106, allocations: 137.2 kB / 478 MB, free: 8.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.1107, allocations: 55.41 kB / 478.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007836/0.1115, allocations: 0.8496 MB / 478.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.1115, allocations: 25.7 kB / 478.9 MB, free: 7.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.1117, allocations: 216 kB / 479.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.1117, allocations: 7.891 kB / 479.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.1117, allocations: 17.72 kB / 479.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1118, allocations: 366.7 kB / 479.5 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.729e-05/0.1119, allocations: 23.97 kB / 479.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.55e-05/0.112, allocations: 23.98 kB / 479.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.1122, allocations: 49.11 kB / 479.6 MB, free: 6.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.1122, allocations: 3.938 kB / 479.6 MB, free: 6.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002189/0.1124, allocations: 121.2 kB / 479.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1124, allocations: 4 kB / 479.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.1124, allocations: 0 / 479.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.1124, allocations: 4 kB / 479.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.699e-05/0.1125, allocations: 12 kB / 479.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1125, allocations: 3.938 kB / 479.8 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.278e-05/0.1126, allocations: 15.83 kB / 479.8 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.1126, allocations: 0 / 479.8 MB, free: 6.168 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.000184/0.1128, allocations: 214.2 kB / 480 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-05/0.1129, allocations: 39.53 kB / 480 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002692/0.1132, allocations: 137 kB / 480.2 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1132, allocations: 0 / 480.2 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.1132, allocations: 0 / 480.2 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1132, allocations: 0 / 480.2 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.1135, allocations: 285.5 kB / 480.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.1135, allocations: 3.984 kB / 480.5 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.441e-05/0.1135, allocations: 12 kB / 480.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1135, allocations: 0 / 480.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.1136, allocations: 8 kB / 480.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1136, allocations: 7.875 kB / 480.5 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1136, allocations: 0 / 480.5 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.1138, allocations: 214.9 kB / 480.7 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.441e-05/0.1139, allocations: 112.6 kB / 480.8 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.1139, allocations: 0 / 480.8 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.491e-05/0.114, allocations: 4 kB / 480.8 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.1141, allocations: 4 kB / 480.8 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.719e-06/0.1141, allocations: 11.98 kB / 480.8 MB, free: 5.027 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006056/0.1147, allocations: 0.6433 MB / 481.5 MB, free: 4.387 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1147, allocations: 0 / 481.5 MB, free: 4.387 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.115, allocations: 31.91 kB / 481.5 MB, free: 4.355 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.0008219/0.1158, allocations: 341.8 kB / 481.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.116, allocations: 55.89 kB / 481.9 MB, free: 4.086 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.116, allocations: 0 / 481.9 MB, free: 4.086 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.218e-05/0.1161, allocations: 23.98 kB / 481.9 MB, free: 4.062 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.1165, allocations: 25.95 kB / 481.9 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.1176, allocations: 0.8859 MB / 482.8 MB, free: 3.121 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.118, allocations: 0.8185 MB / 483.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.2e-05/0.1181, allocations: 11.44 kB / 483.6 MB, free: 2.262 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1181, allocations: 0 / 483.6 MB, free: 2.262 MB / 350.1 MB Notification: Performance of Templates: time 0.006748/0.1248, allocations: 3.451 MB / 487.1 MB, free: 14.81 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