Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7") translateModel(ModelicaTest.Tables.CombiTable2D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 117.6 kB / 17.08 MB, free: 5.965 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.002144/0.002144, allocations: 194.4 kB / 18.01 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.769/2.769, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4284/0.4284, allocations: 43.52 MB / 314.8 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002979/0.002979, allocations: 69.45 kB / 442.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2164, allocations: 57.78 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test7): time 0.004329/0.2208, allocations: 1.566 MB / 0.4901 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009202/0.2217, allocations: 311.6 kB / 0.4904 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.045e-05/0.2218, allocations: 0 / 0.4904 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000793/0.2227, allocations: 447.2 kB / 0.4908 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005072/0.2232, allocations: 255.5 kB / 0.491 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005792/0.2238, allocations: 107.7 kB / 0.4911 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004878/0.2243, allocations: 155.6 kB / 0.4913 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.2245, allocations: 19.98 kB / 0.4913 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002026/0.2247, allocations: 103.8 kB / 0.4914 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003984/0.2251, allocations: 199.7 kB / 0.4916 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.419e-05/0.2252, allocations: 7.938 kB / 0.4916 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.2253, allocations: 19.94 kB / 0.4916 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.2255, allocations: 79.75 kB / 0.4917 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.2256, allocations: 98.98 kB / 0.4918 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004934/0.2262, allocations: 247 kB / 0.492 GB, free: 8.188 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.2262, allocations: 0 / 0.492 GB, free: 8.188 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2262, allocations: 0 / 0.492 GB, free: 8.188 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.2262, allocations: 0 / 0.492 GB, free: 8.188 MB / 382.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.001161/0.2274, allocations: 0.618 MB / 0.4926 GB, free: 7.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.414e-05/0.2275, allocations: 15.89 kB / 0.4927 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.2276, allocations: 40.47 kB / 0.4927 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004396/0.2281, allocations: 296.1 kB / 0.493 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.2281, allocations: 8.375 kB / 0.493 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.2281, allocations: 4.375 kB / 0.493 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.2284, allocations: 49.81 kB / 0.493 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.2284, allocations: 0 / 0.493 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.2285, allocations: 0 / 0.493 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.2285, allocations: 0 / 0.493 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.2286, allocations: 19.98 kB / 0.4931 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007864/0.2294, allocations: 372.8 kB / 0.4934 GB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.2296, allocations: 30.58 kB / 0.4934 GB, free: 6.594 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.805e-05/0.2297, allocations: 20.91 kB / 0.4935 GB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.2298, allocations: 0 / 0.4935 GB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.684e-05/0.2298, allocations: 34.56 kB / 0.4935 GB, free: 6.527 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 2.204e-06/0.2299, allocations: 0 / 0.4935 GB, free: 6.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004855/0.2303, allocations: 101.1 kB / 0.4936 GB, free: 6.422 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.2304, allocations: 55.44 kB / 0.4936 GB, free: 6.355 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/0.2319, allocations: 0.8535 MB / 0.4945 GB, free: 5.488 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.232, allocations: 25.7 kB / 0.4945 GB, free: 5.457 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003141/0.2323, allocations: 216.1 kB / 0.4947 GB, free: 5.242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.2324, allocations: 11.89 kB / 0.4947 GB, free: 5.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.168e-05/0.2324, allocations: 17.66 kB / 0.4947 GB, free: 5.207 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002458/0.2327, allocations: 362.7 kB / 0.4951 GB, free: 4.844 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.77e-05/0.2328, allocations: 15.98 kB / 0.4951 GB, free: 4.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.727e-05/0.2329, allocations: 8 kB / 0.4951 GB, free: 4.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.2331, allocations: 24.84 kB / 0.4951 GB, free: 4.793 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.2331, allocations: 0 / 0.4951 GB, free: 4.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002781/0.2334, allocations: 89.16 kB / 0.4952 GB, free: 4.699 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.2335, allocations: 4 kB / 0.4952 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.2335, allocations: 0 / 0.4952 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.2335, allocations: 8.078 kB / 0.4952 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.2337, allocations: 7.984 kB / 0.4952 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.2337, allocations: 0 / 0.4952 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.601e-05/0.2338, allocations: 11.84 kB / 0.4952 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.2338, allocations: 0 / 0.4952 GB, free: 4.668 MB / 382.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 (2): * Single equations (assignments): 2 * 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.0003489/0.2342, allocations: 217.6 kB / 0.4955 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.312e-05/0.2343, allocations: 39.53 kB / 0.4955 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000364/0.2347, allocations: 108.6 kB / 0.4956 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2347, allocations: 0 / 0.4956 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.2347, allocations: 0 / 0.4956 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.2347, allocations: 0 / 0.4956 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004936/0.2352, allocations: 281.5 kB / 0.4959 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2353, allocations: 0 / 0.4959 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-05/0.2353, allocations: 4 kB / 0.4959 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.2354, allocations: 0 / 0.4959 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.2354, allocations: 4 kB / 0.4959 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2354, allocations: 0 / 0.4959 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2354, allocations: 0 / 0.4959 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003438/0.2358, allocations: 194.9 kB / 0.4961 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.2359, allocations: 104.6 kB / 0.4962 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.236, allocations: 0 / 0.4962 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.2361, allocations: 4 kB / 0.4962 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/0.2362, allocations: 3.938 kB / 0.4962 GB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.2362, allocations: 0 / 0.4962 GB, free: 3.625 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009124/0.2371, allocations: 0.655 MB / 0.4968 GB, free: 2.973 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2372, allocations: 0 / 0.4968 GB, free: 2.973 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004031/0.2376, allocations: 16 kB / 0.4968 GB, free: 2.957 MB / 382.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 (2): * Single equations (assignments): 2 * 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.001179/0.2388, allocations: 355.5 kB / 0.4972 GB, free: 2.645 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.239, allocations: 19.98 kB / 0.4972 GB, free: 2.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.239, allocations: 0 / 0.4972 GB, free: 2.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.924e-05/0.2391, allocations: 15.94 kB / 0.4972 GB, free: 2.609 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006109/0.2397, allocations: 25.81 kB / 0.4972 GB, free: 2.582 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.2416, allocations: 0.7924 MB / 0.498 GB, free: 1.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009137/0.2425, allocations: 0.8143 MB / 0.4988 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.811e-05/0.2426, allocations: 15.44 kB / 0.4988 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of SimCode: time 1.492e-06/0.2426, allocations: 0 / 0.4988 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of Templates: time 0.01333/0.2559, allocations: 3.473 MB / 0.5022 GB, free: 13.42 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches