Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 109.9 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.001252/0.001252, 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.37/1.37, allocations: 222.9 MB / 242.5 MB, free: 13.62 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.2142/0.2142, allocations: 44.17 MB / 336.8 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 64.59 kB / 408.3 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1034, allocations: 60.83 MB / 469.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003267/0.1067, allocations: 1.673 MB / 470.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.1083, allocations: 1.023 MB / 471.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.126e-05/0.1084, allocations: 0 / 471.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002187/0.1086, allocations: 19.91 kB / 471.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001706/0.1088, allocations: 31.86 kB / 471.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.1091, allocations: 122.2 kB / 472 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.1093, allocations: 55.84 kB / 472.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.156e-05/0.1094, allocations: 16.17 kB / 472.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.053e-05/0.1094, allocations: 23.86 kB / 472.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.1096, allocations: 27.86 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.1096, allocations: 0 / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.1097, allocations: 55.95 kB / 472.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.386e-05/0.1098, allocations: 15.92 kB / 472.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.1098, allocations: 23.88 kB / 472.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.11, allocations: 67.83 kB / 472.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.11, allocations: 0 / 472.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.11, allocations: 0 / 472.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.11, allocations: 3.938 kB / 472.3 MB, free: 11.63 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.0004961/0.1105, allocations: 387.6 kB / 472.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.1106, allocations: 12.02 kB / 472.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.1106, allocations: 8.844 kB / 472.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.1108, allocations: 180.2 kB / 472.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.1109, allocations: 8.375 kB / 472.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.1109, allocations: 384 / 472.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.1111, allocations: 79.27 kB / 473 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1111, allocations: 0 / 473 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1111, allocations: 0 / 473 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1111, allocations: 0 / 473 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.1113, allocations: 39.95 kB / 473 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.1117, allocations: 288.7 kB / 473.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.1119, allocations: 46.5 kB / 473.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.2e-05/0.1119, allocations: 20.94 kB / 473.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.473e-05/0.112, allocations: 11.98 kB / 473.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.112, allocations: 30.56 kB / 473.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.112, allocations: 0 / 473.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.00077/0.1128, allocations: 201.2 kB / 473.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.1129, allocations: 85.11 kB / 473.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.113, allocations: 133.8 kB / 473.8 MB, free: 9.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.1131, allocations: 29.64 kB / 473.9 MB, free: 9.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.563e-05/0.1131, allocations: 100 kB / 474 MB, free: 9.789 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.1131, allocations: 19.66 kB / 474 MB, free: 9.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.043e-05/0.1132, allocations: 21.7 kB / 474 MB, free: 9.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1133, allocations: 318.8 kB / 474.3 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.1134, allocations: 35.91 kB / 474.3 MB, free: 9.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.1136, allocations: 49.75 kB / 474.4 MB, free: 9.332 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.1138, allocations: 76.8 kB / 474.5 MB, free: 9.254 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1138, allocations: 7.938 kB / 474.5 MB, free: 9.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002623/0.1141, allocations: 105.6 kB / 474.6 MB, free: 9.137 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.1141, allocations: 8 kB / 474.6 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1141, allocations: 0 / 474.6 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1141, allocations: 3.984 kB / 474.6 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.1143, allocations: 19.98 kB / 474.6 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.1143, allocations: 0 / 474.6 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.275e-05/0.1143, allocations: 15.92 kB / 474.6 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.1144, allocations: 8 kB / 474.6 MB, free: 9.082 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 9.429e-05/0.1145, allocations: 114.4 kB / 474.7 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/0.1145, allocations: 7.906 kB / 474.8 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00032/0.1148, allocations: 121.9 kB / 474.9 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1148, allocations: 0 / 474.9 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.1149, allocations: 4 kB / 474.9 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.1149, allocations: 3.938 kB / 474.9 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005478/0.1154, allocations: 382.8 kB / 475.3 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1154, allocations: 0 / 475.3 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.696e-05/0.1155, allocations: 24.27 kB / 475.3 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1155, allocations: 0 / 475.3 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.1156, allocations: 7.938 kB / 475.3 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1156, allocations: 0 / 475.3 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.1156, allocations: 3.984 kB / 475.3 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/0.1159, allocations: 215.4 kB / 475.5 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.39e-05/0.1159, allocations: 81.02 kB / 475.6 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.116, allocations: 7.938 kB / 475.6 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.734e-05/0.1161, allocations: 15.92 kB / 475.6 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.1161, allocations: 11.98 kB / 475.6 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.1161, allocations: 3.938 kB / 475.6 MB, free: 7.992 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.773e-05/0.1162, allocations: 109.8 kB / 475.7 MB, free: 7.887 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1162, allocations: 0 / 475.7 MB, free: 7.887 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000276/0.1165, allocations: 20 kB / 475.7 MB, free: 7.867 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.001054/0.1176, allocations: 436.9 kB / 476.2 MB, free: 7.609 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002844/0.1179, allocations: 75.92 kB / 476.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1179, allocations: 0 / 476.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.118, allocations: 51.91 kB / 476.3 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.1183, allocations: 22.3 kB / 476.3 MB, free: 7.469 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004108/0.1188, allocations: 213.5 kB / 476.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.119, allocations: 0.6965 MB / 477.2 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.024e-05/0.1191, allocations: 19.42 kB / 477.2 MB, free: 6.48 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1191, allocations: 0 / 477.2 MB, free: 6.48 MB / 350.1 MB Notification: Performance of Templates: time 0.003522/0.1227, allocations: 1.707 MB / 478.9 MB, free: 4.773 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches