Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 105.4 kB / 18.4 MB, free: 4.57 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.001185/0.001185, allocations: 188 kB / 19.34 MB, free: 3.641 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.459/1.459, allocations: 222.9 MB / 243 MB, free: 15.15 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.1865/0.1865, allocations: 44.17 MB / 337.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 60.69 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1211, allocations: 60.84 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002828/0.124, allocations: 1.552 MB / 472.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007244/0.1247, allocations: 415.1 kB / 472.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.804e-05/0.1248, allocations: 0 / 472.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001854/0.125, allocations: 19.86 kB / 472.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.1252, allocations: 35.84 kB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.1255, allocations: 115.2 kB / 472.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.1256, allocations: 51.91 kB / 472.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1257, allocations: 12 kB / 472.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.153e-05/0.1258, allocations: 23.86 kB / 472.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.464e-05/0.1258, allocations: 23.91 kB / 472.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.1259, allocations: 0 / 472.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.917e-05/0.1259, allocations: 35.92 kB / 473 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.835e-05/0.126, allocations: 11.94 kB / 473 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.703e-05/0.126, allocations: 19.88 kB / 473 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.1262, allocations: 79.78 kB / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1262, allocations: 0 / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1262, allocations: 0 / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1262, allocations: 0 / 473.1 MB, free: 11.27 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.0004812/0.1267, allocations: 375.2 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.1268, allocations: 8.031 kB / 473.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.1268, allocations: 8.844 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.127, allocations: 194.8 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.127, allocations: 4.375 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.1271, allocations: 384 / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.1272, allocations: 57.81 kB / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1272, allocations: 3.906 kB / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.1272, allocations: 0 / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1273, allocations: 4 kB / 473.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.534e-05/0.1273, allocations: 27.91 kB / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.1277, allocations: 276.9 kB / 474 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.1279, allocations: 50.48 kB / 474.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.018e-05/0.128, allocations: 20.94 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.128, allocations: 0 / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.128, allocations: 30.56 kB / 474.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.128, allocations: 0 / 474.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005355/0.1286, allocations: 153.3 kB / 474.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.1286, allocations: 51.41 kB / 474.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.1288, allocations: 142 kB / 474.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.1288, allocations: 29.7 kB / 474.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.1288, allocations: 88.14 kB / 474.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.1289, allocations: 23.78 kB / 474.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.1289, allocations: 17.72 kB / 474.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.129, allocations: 326.8 kB / 474.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.613e-05/0.1291, allocations: 15.98 kB / 475 MB, free: 9.188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.657e-05/0.1292, allocations: 31.86 kB / 475 MB, free: 9.156 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.1293, allocations: 48.83 kB / 475 MB, free: 9.105 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1293, allocations: 0 / 475 MB, free: 9.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001658/0.1295, allocations: 89.56 kB / 475.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1295, allocations: 8 kB / 475.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1295, allocations: 0 / 475.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1295, allocations: 0 / 475.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.781e-05/0.1296, allocations: 11.98 kB / 475.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.1296, allocations: 4 kB / 475.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.209e-05/0.1296, allocations: 0 / 475.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1297, allocations: 4 kB / 475.2 MB, free: 8.984 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 (5): * Single equations (assignments): 5 * 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 8.639e-05/0.1297, allocations: 133.6 kB / 475.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.1298, allocations: 7.906 kB / 475.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002155/0.13, allocations: 90.22 kB / 475.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.13, allocations: 64 / 475.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.13, allocations: 8 kB / 475.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.13, allocations: 0 / 475.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003714/0.1304, allocations: 358.4 kB / 475.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1304, allocations: 0 / 475.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.042e-05/0.1305, allocations: 11.98 kB / 475.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1305, allocations: 0 / 475.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.1305, allocations: 0 / 475.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1305, allocations: 7.938 kB / 475.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1305, allocations: 0 / 475.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.1307, allocations: 187.4 kB / 475.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.1308, allocations: 85.02 kB / 476 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.1308, allocations: 3.938 kB / 476 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.648e-05/0.1308, allocations: 7.938 kB / 476 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.1309, allocations: 3.984 kB / 476 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.1309, allocations: 4 kB / 476 MB, free: 7.988 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.243e-05/0.131, allocations: 108.5 kB / 476.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.131, allocations: 0 / 476.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002277/0.1312, allocations: 15.98 kB / 476.2 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 (5): * Single equations (assignments): 5 * 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.0009099/0.1321, allocations: 399.8 kB / 476.6 MB, free: 7.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.1323, allocations: 55.95 kB / 476.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1324, allocations: 0 / 476.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.587e-05/0.1324, allocations: 27.92 kB / 476.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.1328, allocations: 26.67 kB / 476.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/0.1331, allocations: 173.4 kB / 476.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.1334, allocations: 0.6924 MB / 477.5 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.208e-05/0.1334, allocations: 15.97 kB / 477.5 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.1334, allocations: 15.44 kB / 477.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1334, allocations: 0 / 477.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of Templates: time 0.4518/0.5853, allocations: 1.095 MB / 478.7 MB, free: 5.488 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches