Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007806/0.0007806, allocations: 97.89 kB / 18.01 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.000864/0.0008642, allocations: 183.5 kB / 18.91 MB, free: 4.734 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.36/1.36, allocations: 223.3 MB / 243 MB, free: 14.28 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.233/0.233, allocations: 44.25 MB / 338.3 MB, free: 2.395 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.000315, allocations: 12 kB / 411 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1108, allocations: 61.92 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.002161/0.113, allocations: 1.33 MB / 474.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.1146, allocations: 1.008 MB / 475.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.171e-05/0.1146, allocations: 0 / 475.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001964/0.1149, allocations: 23.91 kB / 475.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.115, allocations: 31.91 kB / 475.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/0.1154, allocations: 110.5 kB / 475.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.1156, allocations: 59.78 kB / 475.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.1157, allocations: 24.16 kB / 475.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.374e-05/0.1158, allocations: 15.94 kB / 475.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.1159, allocations: 27.84 kB / 475.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.1159, allocations: 7.984 kB / 475.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.1161, allocations: 51.92 kB / 475.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.531e-05/0.1161, allocations: 11.92 kB / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.813e-05/0.1162, allocations: 45.56 kB / 475.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.1164, allocations: 63.89 kB / 475.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1164, allocations: 8 kB / 475.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1164, allocations: 0 / 475.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1164, allocations: 3.938 kB / 475.7 MB, free: 10.46 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.0005171/0.1169, allocations: 379.5 kB / 476.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.117, allocations: 8.031 kB / 476.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.167e-05/0.117, allocations: 4.938 kB / 476.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.1172, allocations: 192.1 kB / 476.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.1172, allocations: 12.31 kB / 476.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.1173, allocations: 8.359 kB / 476.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.1175, allocations: 79.31 kB / 476.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1175, allocations: 0 / 476.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1175, allocations: 0 / 476.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1175, allocations: 0 / 476.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.1177, allocations: 47.97 kB / 476.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.1181, allocations: 280.8 kB / 476.7 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.1182, allocations: 54.56 kB / 476.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.749e-05/0.1183, allocations: 24.94 kB / 476.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.684e-05/0.1184, allocations: 4 kB / 476.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.1184, allocations: 30.56 kB / 476.8 MB, free: 9.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1184, allocations: 0 / 476.8 MB, free: 9.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008447/0.1193, allocations: 241.2 kB / 477.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.1193, allocations: 81.11 kB / 477.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.1195, allocations: 140.9 kB / 477.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1195, allocations: 29.7 kB / 477.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.772e-05/0.1196, allocations: 88.14 kB / 477.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.1196, allocations: 31.7 kB / 477.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.1197, allocations: 13.72 kB / 477.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1198, allocations: 322.8 kB / 477.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.12, allocations: 39.92 kB / 477.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.1201, allocations: 57.67 kB / 477.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.1203, allocations: 92.84 kB / 477.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1204, allocations: 0 / 477.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000302/0.1207, allocations: 125.8 kB / 478.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.1207, allocations: 10.19 kB / 478.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1207, allocations: 3.938 kB / 478.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.1207, allocations: 0 / 478.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.1209, allocations: 31.92 kB / 478.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.1209, allocations: 4 kB / 478.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.022e-05/0.121, allocations: 15.92 kB / 478.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.121, allocations: 4 kB / 478.1 MB, free: 7.816 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.715e-05/0.1211, allocations: 114.4 kB / 478.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.1211, allocations: 7.906 kB / 478.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003902/0.1215, allocations: 142 kB / 478.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1215, allocations: 0 / 478.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.279e-06/0.1216, allocations: 3.938 kB / 478.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.1216, allocations: 3.938 kB / 478.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000565/0.1221, allocations: 402.5 kB / 478.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1222, allocations: 7.984 kB / 478.8 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.006e-05/0.1223, allocations: 19.98 kB / 478.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1223, allocations: 0 / 478.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.1223, allocations: 7.938 kB / 478.8 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1223, allocations: 0 / 478.8 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1223, allocations: 4 kB / 478.8 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.1227, allocations: 227.3 kB / 479 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/0.1227, allocations: 93 kB / 479.1 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.1228, allocations: 3.938 kB / 479.1 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.482e-05/0.1229, allocations: 12 kB / 479.2 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.1229, allocations: 7.984 kB / 479.2 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.1229, allocations: 4 kB / 479.2 MB, free: 6.672 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.895e-05/0.123, allocations: 107.2 kB / 479.3 MB, free: 6.566 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.123, allocations: 0 / 479.3 MB, free: 6.566 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002768/0.1233, allocations: 24 kB / 479.3 MB, free: 6.543 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.001075/0.1244, allocations: 455.9 kB / 479.7 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003271/0.1247, allocations: 95.88 kB / 479.8 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.1247, allocations: 0 / 479.8 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.1249, allocations: 51.97 kB / 479.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.1252, allocations: 11.98 kB / 479.9 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004517/0.1257, allocations: 230.8 kB / 480.1 MB, free: 5.855 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.126, allocations: 0.6887 MB / 480.8 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.873e-05/0.126, allocations: 19.44 kB / 480.8 MB, free: 5.121 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.126, allocations: 0 / 480.8 MB, free: 5.121 MB / 350.1 MB Notification: Performance of Templates: time 0.003791/0.1298, allocations: 1.698 MB / 482.5 MB, free: 3.426 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches