Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 98.7 kB / 18.01 MB, free: 5.734 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.00121/0.00121, allocations: 181.3 kB / 18.91 MB, free: 4.871 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.432/1.432, allocations: 223.3 MB / 243 MB, free: 14.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.1927/0.1927, allocations: 44.24 MB / 338.3 MB, free: 2.445 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003351, allocations: 9.969 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1158, allocations: 61.92 MB / 472.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.00216/0.118, allocations: 1.306 MB / 474.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007918/0.1188, allocations: 383.5 kB / 474.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.747e-05/0.1189, allocations: 0 / 474.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005941/0.1195, allocations: 447.2 kB / 475 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003454/0.1199, allocations: 247.5 kB / 475.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003889/0.1203, allocations: 110.4 kB / 475.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000258/0.1205, allocations: 147.8 kB / 475.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1206, allocations: 11.98 kB / 475.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.1208, allocations: 107.7 kB / 475.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002602/0.1211, allocations: 195.7 kB / 475.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.1211, allocations: 0 / 475.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.996e-05/0.1212, allocations: 20 kB / 475.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.1213, allocations: 87.62 kB / 475.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.359e-05/0.1215, allocations: 120.7 kB / 476 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.1217, allocations: 171.7 kB / 476.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.1217, allocations: 0 / 476.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1217, allocations: 0 / 476.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.1217, allocations: 0 / 476.2 MB, free: 10.01 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.0007217/0.1224, allocations: 0.5836 MB / 476.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.1225, allocations: 8.031 kB / 476.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.877e-05/0.1226, allocations: 44.47 kB / 476.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.1229, allocations: 288.2 kB / 477.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.1229, allocations: 8.375 kB / 477.1 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.1229, allocations: 384 / 477.1 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.1231, allocations: 49.81 kB / 477.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.1231, allocations: 7.984 kB / 477.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1232, allocations: 4 kB / 477.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1232, allocations: 0 / 477.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.538e-05/0.1233, allocations: 23.98 kB / 477.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000519/0.1238, allocations: 380.6 kB / 477.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.468e-05/0.1239, allocations: 34.56 kB / 477.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.628e-05/0.124, allocations: 12.92 kB / 477.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.124, allocations: 4 kB / 477.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.124, allocations: 34.56 kB / 477.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.124, allocations: 0 / 477.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002958/0.1243, allocations: 101.1 kB / 477.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.1244, allocations: 51.41 kB / 477.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008371/0.1252, allocations: 0.8575 MB / 478.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.1253, allocations: 29.7 kB / 478.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.1254, allocations: 220 kB / 478.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.1255, allocations: 11.91 kB / 478.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.1255, allocations: 9.719 kB / 478.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.1257, allocations: 358.7 kB / 479.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.696e-05/0.1257, allocations: 15.98 kB / 479.3 MB, free: 6.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.465e-05/0.1258, allocations: 12 kB / 479.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.622e-05/0.1259, allocations: 24.84 kB / 479.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1259, allocations: 0 / 479.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001771/0.1261, allocations: 97.06 kB / 479.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.1261, allocations: 7.984 kB / 479.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1261, allocations: 4.094 kB / 479.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.1261, allocations: 4 kB / 479.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.302e-05/0.1262, allocations: 4 kB / 479.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1262, allocations: 0 / 479.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.979e-05/0.1263, allocations: 4 kB / 479.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-06/0.1263, allocations: 0 / 479.5 MB, free: 6.527 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.0001995/0.1265, allocations: 213.7 kB / 479.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.466e-05/0.1265, allocations: 39.47 kB / 479.7 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002229/0.1268, allocations: 120.5 kB / 479.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1268, allocations: 0 / 479.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1268, allocations: 0 / 479.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1268, allocations: 0 / 479.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.1271, allocations: 285.5 kB / 480.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1271, allocations: 0 / 480.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.594e-05/0.1272, allocations: 8 kB / 480.1 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1272, allocations: 0 / 480.1 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.1272, allocations: 4.031 kB / 480.1 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1272, allocations: 0 / 480.1 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1272, allocations: 0 / 480.1 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.1275, allocations: 194.9 kB / 480.3 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.279e-05/0.1276, allocations: 104.6 kB / 480.4 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.1276, allocations: 4 kB / 480.4 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.426e-05/0.1277, allocations: 8.016 kB / 480.4 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.1277, allocations: 4 kB / 480.4 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.1278, allocations: 0 / 480.4 MB, free: 5.457 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007616/0.1285, allocations: 0.6511 MB / 481.1 MB, free: 4.809 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1285, allocations: 3.938 kB / 481.1 MB, free: 4.805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.1288, allocations: 15.94 kB / 481.1 MB, free: 4.789 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.0008868/0.1297, allocations: 366.6 kB / 481.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001391/0.1298, allocations: 27.98 kB / 481.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1298, allocations: 0 / 481.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.045e-05/0.1299, allocations: 20.05 kB / 481.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.1303, allocations: 17.97 kB / 481.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.1315, allocations: 0.8657 MB / 482.4 MB, free: 3.602 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007877/0.1323, allocations: 0.8184 MB / 483.2 MB, free: 2.754 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.1323, allocations: 11.44 kB / 483.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of SimCode: time 2.394e-06/0.1324, allocations: 0 / 483.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of Templates: time 0.007271/0.1396, allocations: 3.339 MB / 486.6 MB, free: 15.4 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches