Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 110 kB / 17.86 MB, free: 5.504 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.001527/0.001527, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.357/1.357, allocations: 222.9 MB / 242.5 MB, free: 13.64 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.1948/0.1948, allocations: 44.17 MB / 336.8 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 64.31 kB / 408.4 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1014, allocations: 60.83 MB / 469.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.00316/0.1045, allocations: 1.681 MB / 470.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007541/0.1053, allocations: 423.2 kB / 471.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.965e-05/0.1054, allocations: 0 / 471.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.1057, allocations: 67.83 kB / 471.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001679/0.1059, allocations: 63.75 kB / 471.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.1062, allocations: 118.7 kB / 471.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.1063, allocations: 75.75 kB / 471.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.1065, allocations: 27.97 kB / 471.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.257e-05/0.1065, allocations: 35.84 kB / 471.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.857e-05/0.1066, allocations: 47.83 kB / 471.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.1066, allocations: 0 / 471.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.1068, allocations: 43.98 kB / 471.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.221e-05/0.1068, allocations: 31.89 kB / 471.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.649e-05/0.1069, allocations: 27.75 kB / 471.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.107, allocations: 79.83 kB / 471.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1071, allocations: 0 / 471.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1071, allocations: 4 kB / 471.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1071, allocations: 0 / 471.9 MB, free: 12.07 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.0004887/0.1076, allocations: 415.3 kB / 472.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.1076, allocations: 12.03 kB / 472.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.1077, allocations: 12.75 kB / 472.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.1078, allocations: 188.1 kB / 472.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.1079, allocations: 12.36 kB / 472.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.1079, allocations: 4.375 kB / 472.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.1081, allocations: 69.73 kB / 472.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1081, allocations: 0 / 472.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.1081, allocations: 0 / 472.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1081, allocations: 4 kB / 472.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.1083, allocations: 35.97 kB / 472.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.1087, allocations: 308.7 kB / 472.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/0.1089, allocations: 54.56 kB / 473 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.264e-05/0.109, allocations: 36.89 kB / 473 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.1091, allocations: 0 / 473 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.1091, allocations: 34.56 kB / 473 MB, free: 10.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1091, allocations: 0 / 473 MB, free: 10.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001407/0.1105, allocations: 392.8 kB / 473.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.1106, allocations: 59.34 kB / 473.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.1107, allocations: 202.2 kB / 473.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.1108, allocations: 25.7 kB / 473.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.197e-05/0.1108, allocations: 112 kB / 473.8 MB, free: 9.938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.1109, allocations: 43.39 kB / 473.9 MB, free: 9.895 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.1109, allocations: 21.72 kB / 473.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.111, allocations: 326.8 kB / 474.2 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.1112, allocations: 35.97 kB / 474.2 MB, free: 9.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.1113, allocations: 39.97 kB / 474.3 MB, free: 9.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.1115, allocations: 108.7 kB / 474.4 MB, free: 9.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1115, allocations: 0 / 474.4 MB, free: 9.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003001/0.1118, allocations: 137.5 kB / 474.5 MB, free: 9.215 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1119, allocations: 4 kB / 474.5 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1119, allocations: 4 kB / 474.5 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1119, allocations: 0 / 474.5 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.112, allocations: 35.92 kB / 474.6 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.112, allocations: 3.984 kB / 474.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.956e-05/0.1121, allocations: 8 kB / 474.6 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.1121, allocations: 0 / 474.6 MB, free: 9.16 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 0.000102/0.1122, allocations: 134.3 kB / 474.7 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.853e-05/0.1123, allocations: 15.75 kB / 474.7 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000357/0.1126, allocations: 163.3 kB / 474.9 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1126, allocations: 7.938 kB / 474.9 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1127, allocations: 4 kB / 474.9 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1127, allocations: 0 / 474.9 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006169/0.1133, allocations: 472 kB / 475.4 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1133, allocations: 0 / 475.4 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.903e-05/0.1134, allocations: 27.97 kB / 475.4 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1134, allocations: 0 / 475.4 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.1134, allocations: 8 kB / 475.4 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1134, allocations: 3.938 kB / 475.4 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1134, allocations: 0 / 475.4 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003323/0.1138, allocations: 261 kB / 475.6 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.99e-05/0.1138, allocations: 85.02 kB / 475.7 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.1139, allocations: 4 kB / 475.7 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.38e-05/0.114, allocations: 11.98 kB / 475.7 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.777e-05/0.114, allocations: 15.97 kB / 475.8 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.926e-06/0.114, allocations: 11.94 kB / 475.8 MB, free: 7.844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.1141, allocations: 151.3 kB / 475.9 MB, free: 7.695 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1141, allocations: 3.938 kB / 475.9 MB, free: 7.691 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000256/0.1144, allocations: 20 kB / 475.9 MB, free: 7.672 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.00101/0.1154, allocations: 453.4 kB / 476.4 MB, free: 7.406 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003037/0.1157, allocations: 99.88 kB / 476.5 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1157, allocations: 0 / 476.5 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.1159, allocations: 67.89 kB / 476.5 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.1163, allocations: 27.8 kB / 476.6 MB, free: 7.219 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005265/0.1168, allocations: 347.7 kB / 476.9 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.1171, allocations: 0.716 MB / 477.6 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.578e-05/0.1171, allocations: 15.44 kB / 477.6 MB, free: 6.082 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1171, allocations: 3.938 kB / 477.7 MB, free: 6.078 MB / 350.1 MB Notification: Performance of Templates: time 0.003549/0.1207, allocations: 1.9 MB / 479.6 MB, free: 4.188 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches