Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 108.3 kB / 18.4 MB, free: 4.719 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.001788/0.001788, allocations: 191 kB / 19.34 MB, free: 3.789 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.364/1.364, allocations: 222.9 MB / 243 MB, free: 15.17 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.207/0.207, allocations: 44.18 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 67.09 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1125, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003163/0.1157, allocations: 1.627 MB / 472.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000756/0.1165, allocations: 435.1 kB / 472.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.405e-05/0.1166, allocations: 0 / 472.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004833/0.117, allocations: 447.1 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003383/0.1174, allocations: 259.4 kB / 473.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.1177, allocations: 130.3 kB / 473.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.118, allocations: 163.7 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1181, allocations: 19.98 kB / 473.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.1182, allocations: 111.7 kB / 473.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.1184, allocations: 211.6 kB / 474.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.1185, allocations: 4 kB / 474.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.1186, allocations: 47.98 kB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.1187, allocations: 83.67 kB / 474.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.434e-05/0.1188, allocations: 103 kB / 474.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.1191, allocations: 263 kB / 474.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/0.1191, allocations: 7.984 kB / 474.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.1191, allocations: 4 kB / 474.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.1191, allocations: 3.938 kB / 474.6 MB, free: 9.773 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007838/0.1199, allocations: 0.6298 MB / 475.2 MB, free: 9.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1199, allocations: 8.031 kB / 475.2 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.218e-05/0.12, allocations: 48.38 kB / 475.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.1203, allocations: 296.1 kB / 475.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.1203, allocations: 4.375 kB / 475.6 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.1204, allocations: 4.375 kB / 475.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.1205, allocations: 69.73 kB / 475.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1206, allocations: 0 / 475.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.1206, allocations: 0 / 475.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1206, allocations: 0 / 475.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.706e-05/0.1207, allocations: 27.98 kB / 475.7 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004855/0.1212, allocations: 392.6 kB / 476 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.913e-05/0.1213, allocations: 54.55 kB / 476.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.085e-05/0.1213, allocations: 20.94 kB / 476.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.1214, allocations: 0 / 476.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.1214, allocations: 34.5 kB / 476.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.1214, allocations: 0 / 476.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009113/0.1223, allocations: 299.9 kB / 476.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.1224, allocations: 59.34 kB / 476.5 MB, free: 7.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007219/0.1231, allocations: 0.8496 MB / 477.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.1231, allocations: 29.69 kB / 477.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.1233, allocations: 220.1 kB / 477.6 MB, free: 6.551 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.1233, allocations: 35.48 kB / 477.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.1234, allocations: 25.7 kB / 477.7 MB, free: 6.484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1235, allocations: 358.8 kB / 478 MB, free: 6.125 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.363e-05/0.1236, allocations: 23.98 kB / 478 MB, free: 6.102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.632e-05/0.1236, allocations: 31.97 kB / 478.1 MB, free: 6.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.1238, allocations: 52.84 kB / 478.1 MB, free: 6.016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1238, allocations: 4 kB / 478.1 MB, free: 6.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002137/0.124, allocations: 141 kB / 478.3 MB, free: 5.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.124, allocations: 4 kB / 478.3 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.124, allocations: 0 / 478.3 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1241, allocations: 0 / 478.3 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.453e-05/0.1242, allocations: 19.98 kB / 478.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1242, allocations: 3.938 kB / 478.3 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.96e-05/0.1242, allocations: 4 kB / 478.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.1242, allocations: 3.984 kB / 478.3 MB, free: 5.832 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 (8): * Single equations (assignments): 8 * 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.0001824/0.1244, allocations: 213.8 kB / 478.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/0.1245, allocations: 39.53 kB / 478.5 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002979/0.1248, allocations: 169.6 kB / 478.7 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1248, allocations: 0 / 478.7 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.1248, allocations: 3.938 kB / 478.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1248, allocations: 0 / 478.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005983/0.1254, allocations: 0.5032 MB / 479.2 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.1254, allocations: 3.938 kB / 479.2 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.401e-05/0.1255, allocations: 15.98 kB / 479.2 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1255, allocations: 0 / 479.2 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.1255, allocations: 4 kB / 479.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1255, allocations: 0 / 479.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.1255, allocations: 3.984 kB / 479.2 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.1258, allocations: 239.7 kB / 479.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.126, allocations: 112.6 kB / 479.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.126, allocations: 4 kB / 479.6 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.806e-05/0.1261, allocations: 4 kB / 479.6 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.1262, allocations: 7.984 kB / 479.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.1262, allocations: 4 kB / 479.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005732/0.1268, allocations: 0.6511 MB / 480.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1268, allocations: 0 / 480.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.127, allocations: 28 kB / 480.3 MB, free: 3.727 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001024/0.128, allocations: 465 kB / 480.7 MB, free: 3.453 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.1283, allocations: 71.89 kB / 480.8 MB, free: 3.383 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1283, allocations: 0 / 480.8 MB, free: 3.383 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.928e-05/0.1284, allocations: 31.92 kB / 480.8 MB, free: 3.352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.1288, allocations: 29.89 kB / 480.9 MB, free: 3.324 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.1298, allocations: 0.808 MB / 481.7 MB, free: 2.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004393/0.1302, allocations: 0.8337 MB / 482.5 MB, free: 1.621 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.278e-05/0.1303, allocations: 12.97 kB / 482.5 MB, free: 1.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.1303, allocations: 11.44 kB / 482.5 MB, free: 1.594 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1304, allocations: 0 / 482.5 MB, free: 1.594 MB / 350.1 MB Notification: Performance of Templates: time 0.005032/0.1354, allocations: 1.698 MB / 484.2 MB, free: 15.9 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches