Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001441/0.001441, allocations: 194 kB / 18.77 MB, free: 4.742 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: 15.47 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.2195/0.2195, allocations: 44.17 MB / 336.8 MB, free: 2.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 59.19 kB / 408.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1265, allocations: 60.83 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.003548/0.1301, allocations: 1.626 MB / 470.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008668/0.131, allocations: 415.2 kB / 471.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.6e-05/0.131, allocations: 0 / 471.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005665/0.1316, allocations: 447.2 kB / 471.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003455/0.132, allocations: 243.5 kB / 471.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.1324, allocations: 111.3 kB / 472 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002577/0.1326, allocations: 147.8 kB / 472.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1327, allocations: 12 kB / 472.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.1329, allocations: 103.7 kB / 472.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002335/0.1331, allocations: 199.6 kB / 472.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.1332, allocations: 0 / 472.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.454e-05/0.1332, allocations: 23.98 kB / 472.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.1334, allocations: 87.62 kB / 472.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.748e-05/0.1335, allocations: 99 kB / 472.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.1337, allocations: 163.8 kB / 472.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.1337, allocations: 8 kB / 472.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.52e-07/0.1337, allocations: 0 / 472.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.1337, allocations: 0 / 472.8 MB, free: 11.17 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007441/0.1345, allocations: 0.6261 MB / 473.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.1345, allocations: 8.031 kB / 473.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.185e-05/0.1346, allocations: 44.38 kB / 473.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.1349, allocations: 284.3 kB / 473.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.1349, allocations: 384 / 473.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.1349, allocations: 4.312 kB / 473.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.1351, allocations: 57.8 kB / 473.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1351, allocations: 0 / 473.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1351, allocations: 0 / 473.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.1352, allocations: 4 kB / 473.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.341e-05/0.1352, allocations: 19.98 kB / 473.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000478/0.1357, allocations: 372.7 kB / 474.2 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.096e-05/0.1358, allocations: 38.56 kB / 474.3 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.589e-05/0.1359, allocations: 8.859 kB / 474.3 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/0.1359, allocations: 11.92 kB / 474.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.136, allocations: 30.56 kB / 474.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.136, allocations: 0 / 474.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002734/0.1362, allocations: 101.1 kB / 474.4 MB, free: 9.406 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.1363, allocations: 51.41 kB / 474.5 MB, free: 9.344 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008057/0.1371, allocations: 0.8574 MB / 475.3 MB, free: 8.477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.1371, allocations: 33.77 kB / 475.3 MB, free: 8.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.1373, allocations: 216.1 kB / 475.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.1373, allocations: 7.906 kB / 475.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.1374, allocations: 9.719 kB / 475.6 MB, free: 8.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1375, allocations: 370.7 kB / 475.9 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.312e-05/0.1376, allocations: 8 kB / 475.9 MB, free: 7.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.652e-05/0.1376, allocations: 11.98 kB / 476 MB, free: 7.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.441e-05/0.1377, allocations: 24.92 kB / 476 MB, free: 7.781 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1377, allocations: 0 / 476 MB, free: 7.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001583/0.1379, allocations: 93.05 kB / 476.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1379, allocations: 6.188 kB / 476.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1379, allocations: 0 / 476.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1379, allocations: 0 / 476.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.753e-05/0.138, allocations: 8 kB / 476.1 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.138, allocations: 4 kB / 476.1 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.607e-05/0.138, allocations: 4.031 kB / 476.1 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.1381, allocations: 0 / 476.1 MB, free: 7.664 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 (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.000183/0.1382, allocations: 213.7 kB / 476.3 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.553e-05/0.1383, allocations: 43.44 kB / 476.3 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/0.1385, allocations: 100.6 kB / 476.4 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1385, allocations: 0 / 476.4 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1385, allocations: 0 / 476.4 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.1385, allocations: 0 / 476.4 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.1388, allocations: 293.5 kB / 476.7 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1388, allocations: 4 kB / 476.7 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.413e-05/0.1389, allocations: 4 kB / 476.7 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1389, allocations: 0 / 476.7 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.1389, allocations: 0 / 476.7 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1389, allocations: 0 / 476.7 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.1389, allocations: 3.984 kB / 476.7 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.1391, allocations: 183 kB / 476.9 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.1e-05/0.1392, allocations: 108.5 kB / 477 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.1392, allocations: 4 kB / 477 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.415e-05/0.1393, allocations: 4 kB / 477 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.02e-05/0.1393, allocations: 3.984 kB / 477 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.1393, allocations: 4 kB / 477 MB, free: 6.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006066/0.14, allocations: 0.651 MB / 477.7 MB, free: 5.961 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.14, allocations: 0 / 477.7 MB, free: 5.961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.1402, allocations: 19.94 kB / 477.7 MB, free: 5.941 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 (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.0008757/0.1411, allocations: 363 kB / 478.1 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000142/0.1412, allocations: 23.98 kB / 478.1 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1413, allocations: 4.062 kB / 478.1 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.113e-05/0.1413, allocations: 4 kB / 478.1 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.1417, allocations: 32.89 kB / 478.1 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.1428, allocations: 0.8604 MB / 479 MB, free: 4.766 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.1433, allocations: 0.8145 MB / 479.8 MB, free: 3.922 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.194e-05/0.1433, allocations: 11.44 kB / 479.8 MB, free: 3.91 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1433, allocations: 8 kB / 479.8 MB, free: 3.902 MB / 350.1 MB Notification: Performance of Templates: time 0.006798/0.1501, allocations: 3.402 MB / 483.2 MB, free: 0.4961 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches