Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001078, allocations: 105.2 kB / 17.32 MB, free: 6.008 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.001089/0.001089, allocations: 193.3 kB / 18.25 MB, free: 5.098 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.381/1.381, allocations: 222.9 MB / 241.9 MB, free: 13.78 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.2237/0.2237, allocations: 44.18 MB / 336.2 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 71.77 kB / 407.9 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1163, allocations: 60.82 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002847/0.1192, allocations: 1.675 MB / 470.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007056/0.1199, allocations: 447.2 kB / 470.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.99e-05/0.12, allocations: 8 kB / 470.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000505/0.1205, allocations: 451.2 kB / 471.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00031/0.1208, allocations: 239.5 kB / 471.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003717/0.1212, allocations: 170.2 kB / 471.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.1214, allocations: 163.7 kB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1215, allocations: 16.19 kB / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.1216, allocations: 111.7 kB / 472 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.1218, allocations: 215.6 kB / 472.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.1219, allocations: 4 kB / 472.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.86e-05/0.122, allocations: 35.92 kB / 472.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.575e-05/0.1221, allocations: 83.69 kB / 472.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.562e-05/0.1221, allocations: 99 kB / 472.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.1224, allocations: 251.3 kB / 472.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1224, allocations: 4 kB / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1224, allocations: 0 / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1224, allocations: 0 / 472.6 MB, free: 10.79 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.0006284/0.1231, allocations: 0.6336 MB / 473.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.1231, allocations: 8.031 kB / 473.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.956e-05/0.1232, allocations: 44.38 kB / 473.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.1234, allocations: 296.1 kB / 473.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.1234, allocations: 4.375 kB / 473.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.1234, allocations: 4.312 kB / 473.6 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.1236, allocations: 65.61 kB / 473.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1236, allocations: 0 / 473.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.1236, allocations: 0 / 473.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-06/0.1236, allocations: 0 / 473.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.1237, allocations: 31.92 kB / 473.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004275/0.1242, allocations: 388.7 kB / 474.1 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.1244, allocations: 46.56 kB / 474.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.976e-05/0.1244, allocations: 20.94 kB / 474.2 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.1245, allocations: 3.938 kB / 474.2 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.1245, allocations: 30.56 kB / 474.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1245, allocations: 0 / 474.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.00057/0.1251, allocations: 244 kB / 474.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.1251, allocations: 51.41 kB / 474.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007273/0.1258, allocations: 0.865 MB / 475.3 MB, free: 7.887 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.1259, allocations: 25.7 kB / 475.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.126, allocations: 224.1 kB / 475.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.126, allocations: 11.81 kB / 475.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.1261, allocations: 17.72 kB / 475.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1262, allocations: 366.8 kB / 476 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.2e-05/0.1263, allocations: 19.98 kB / 476 MB, free: 7.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.998e-05/0.1263, allocations: 19.98 kB / 476 MB, free: 7.191 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.1265, allocations: 52.83 kB / 476.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1265, allocations: 0 / 476.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002027/0.1267, allocations: 129.2 kB / 476.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1267, allocations: 8 kB / 476.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.1267, allocations: 4.062 kB / 476.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.1267, allocations: 0 / 476.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.971e-05/0.1268, allocations: 11.98 kB / 476.2 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.1268, allocations: 0 / 476.2 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.119e-05/0.1269, allocations: 7.938 kB / 476.2 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1269, allocations: 4 kB / 476.2 MB, free: 6.969 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 0.0001687/0.1271, allocations: 218.3 kB / 476.4 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.966e-05/0.1271, allocations: 35.53 kB / 476.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002661/0.1274, allocations: 145.3 kB / 476.6 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1274, allocations: 0 / 476.6 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1274, allocations: 0 / 476.6 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1274, allocations: 7.922 kB / 476.6 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000485/0.1279, allocations: 470.3 kB / 477.1 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1279, allocations: 0 / 477.1 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.275e-05/0.128, allocations: 12 kB / 477.1 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.128, allocations: 0 / 477.1 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.128, allocations: 11.88 kB / 477.1 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.128, allocations: 3.938 kB / 477.1 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.128, allocations: 3.984 kB / 477.1 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.1283, allocations: 215.1 kB / 477.3 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-05/0.1283, allocations: 112.5 kB / 477.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.1284, allocations: 3.938 kB / 477.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.402e-05/0.1285, allocations: 8 kB / 477.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.1285, allocations: 12.11 kB / 477.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.1285, allocations: 4 kB / 477.5 MB, free: 5.621 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005398/0.129, allocations: 0.6472 MB / 478.1 MB, free: 4.977 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1291, allocations: 0 / 478.1 MB, free: 4.977 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002496/0.1293, allocations: 20 kB / 478.1 MB, free: 4.957 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.0008567/0.1302, allocations: 398 kB / 478.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.1304, allocations: 55.89 kB / 478.6 MB, free: 4.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1304, allocations: 0 / 478.6 MB, free: 4.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.557e-05/0.1305, allocations: 27.98 kB / 478.6 MB, free: 4.633 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.1308, allocations: 32.23 kB / 478.6 MB, free: 4.605 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009875/0.1318, allocations: 0.877 MB / 479.5 MB, free: 3.703 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.1322, allocations: 0.8221 MB / 480.3 MB, free: 2.852 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.625e-05/0.1323, allocations: 16.22 kB / 480.3 MB, free: 2.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.205e-05/0.1323, allocations: 19.42 kB / 480.4 MB, free: 2.816 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1323, allocations: 4 kB / 480.4 MB, free: 2.812 MB / 350.1 MB Notification: Performance of Templates: time 0.004689/0.137, allocations: 1.447 MB / 481.8 MB, free: 1.375 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches