Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001175/0.001175, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.44/1.44, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2047/0.2047, allocations: 44.17 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 67.8 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1045, allocations: 60.82 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.002896/0.1075, allocations: 1.62 MB / 471.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007084/0.1082, allocations: 439 kB / 472 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.85e-05/0.1082, allocations: 0 / 472 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.1085, allocations: 51.8 kB / 472 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002035/0.1087, allocations: 59.75 kB / 472.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.109, allocations: 134.4 kB / 472.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000132/0.1092, allocations: 75.81 kB / 472.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.515e-05/0.1093, allocations: 12 kB / 472.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.44e-05/0.1093, allocations: 31.84 kB / 472.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.649e-05/0.1094, allocations: 51.81 kB / 472.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.1094, allocations: 8 kB / 472.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.1096, allocations: 47.98 kB / 472.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.777e-05/0.1096, allocations: 23.91 kB / 472.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.023e-05/0.1097, allocations: 31.75 kB / 472.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.1098, allocations: 103.7 kB / 472.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1099, allocations: 0 / 472.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1099, allocations: 4 kB / 472.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1099, allocations: 0 / 472.6 MB, free: 11.67 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.0004839/0.1104, allocations: 411.2 kB / 473 MB, free: 11.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.1104, allocations: 12.03 kB / 473 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.1104, allocations: 12.84 kB / 473 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.1106, allocations: 196.6 kB / 473.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.1107, allocations: 384 / 473.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.1107, allocations: 7.938 kB / 473.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.1109, allocations: 61.61 kB / 473.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1109, allocations: 4 kB / 473.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1109, allocations: 4 kB / 473.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.1109, allocations: 3.984 kB / 473.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.1111, allocations: 39.97 kB / 473.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003625/0.1114, allocations: 304.7 kB / 473.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.1117, allocations: 54.59 kB / 473.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.838e-05/0.1118, allocations: 32.91 kB / 473.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.1118, allocations: 0 / 473.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.1118, allocations: 38.55 kB / 473.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.1118, allocations: 0 / 473.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001462/0.1133, allocations: 384.8 kB / 474.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.1133, allocations: 59.34 kB / 474.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.1135, allocations: 182.1 kB / 474.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.1135, allocations: 25.7 kB / 474.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.558e-05/0.1136, allocations: 112 kB / 474.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.1136, allocations: 31.55 kB / 474.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.878e-05/0.1137, allocations: 25.72 kB / 474.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1138, allocations: 318.8 kB / 474.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.1139, allocations: 43.97 kB / 474.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.1141, allocations: 48.52 kB / 475 MB, free: 9.094 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.1143, allocations: 96.75 kB / 475.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1143, allocations: 0 / 475.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003082/0.1146, allocations: 149.4 kB / 475.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1147, allocations: 6.969 kB / 475.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.1147, allocations: 3.938 kB / 475.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1147, allocations: 8 kB / 475.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.1148, allocations: 27.97 kB / 475.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1148, allocations: 0 / 475.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.223e-05/0.1149, allocations: 4 kB / 475.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.1149, allocations: 11.98 kB / 475.3 MB, free: 8.785 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.216e-05/0.115, allocations: 121.8 kB / 475.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.1151, allocations: 15.84 kB / 475.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003678/0.1154, allocations: 166.1 kB / 475.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.1155, allocations: 4 kB / 475.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1155, allocations: 0 / 475.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1155, allocations: 4 kB / 475.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006344/0.1161, allocations: 467.9 kB / 476 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1161, allocations: 4 kB / 476 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.1162, allocations: 32.03 kB / 476.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1162, allocations: 0 / 476.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.1163, allocations: 8 kB / 476.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1163, allocations: 0 / 476.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1163, allocations: 0 / 476.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003511/0.1166, allocations: 252.9 kB / 476.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.1167, allocations: 85 kB / 476.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.1167, allocations: 8 kB / 476.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.292e-05/0.1168, allocations: 7.984 kB / 476.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.1169, allocations: 8 kB / 476.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.1169, allocations: 7.984 kB / 476.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001051/0.117, allocations: 135.2 kB / 476.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.117, allocations: 4 kB / 476.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.1173, allocations: 31.91 kB / 476.6 MB, free: 7.332 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.00105/0.1183, allocations: 465 kB / 477 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000339/0.1187, allocations: 119.8 kB / 477.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1187, allocations: 0 / 477.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.1189, allocations: 59.91 kB / 477.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.1192, allocations: 21.61 kB / 477.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005293/0.1198, allocations: 297.6 kB / 477.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.1201, allocations: 0.7119 MB / 478.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.1201, allocations: 19.38 kB / 478.3 MB, free: 5.773 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1201, allocations: 0 / 478.3 MB, free: 5.773 MB / 350.1 MB Notification: Performance of Templates: time 0.00369/0.1238, allocations: 1.876 MB / 480.1 MB, free: 3.902 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches