Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.001284/0.001283, allocations: 182.9 kB / 19.32 MB, free: 3.832 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.509/1.509, allocations: 222.9 MB / 243 MB, free: 15.14 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.2412/0.2412, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 65.73 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1213, allocations: 60.84 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.00271/0.124, allocations: 1.633 MB / 472.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006974/0.1247, allocations: 459 kB / 472.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.654e-05/0.1248, allocations: 0 / 472.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002138/0.125, allocations: 51.81 kB / 472.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.1252, allocations: 55.75 kB / 472.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.1256, allocations: 169.6 kB / 473.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.1257, allocations: 87.73 kB / 473.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.013e-05/0.1258, allocations: 16 kB / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.525e-05/0.1259, allocations: 31.89 kB / 473.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.055e-05/0.126, allocations: 47.78 kB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.126, allocations: 8 kB / 473.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.81e-05/0.1261, allocations: 47.92 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.531e-05/0.1261, allocations: 23.97 kB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.663e-05/0.1262, allocations: 27.75 kB / 473.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.1263, allocations: 103.7 kB / 473.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1263, allocations: 4 kB / 473.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1264, allocations: 0 / 473.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1264, allocations: 0 / 473.4 MB, free: 10.89 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.0004178/0.1268, allocations: 399.1 kB / 473.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.1268, allocations: 16.03 kB / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.164e-05/0.1269, allocations: 12.75 kB / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.127, allocations: 188.2 kB / 474 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.127, allocations: 8.375 kB / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.1271, allocations: 384 / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.1272, allocations: 65.8 kB / 474.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1272, allocations: 4 kB / 474.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1273, allocations: 11.92 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.1273, allocations: 4 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.1274, allocations: 43.95 kB / 474.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.1278, allocations: 320.6 kB / 474.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.128, allocations: 62.59 kB / 474.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.164e-05/0.1281, allocations: 32.95 kB / 474.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.1281, allocations: 0 / 474.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.1281, allocations: 30.56 kB / 474.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.1281, allocations: 7.938 kB / 474.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001214/0.1293, allocations: 408.9 kB / 475 MB, free: 9.145 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.1294, allocations: 63.28 kB / 475.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.1295, allocations: 169.8 kB / 475.3 MB, free: 8.895 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.1295, allocations: 25.7 kB / 475.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.1296, allocations: 104 kB / 475.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.1296, allocations: 39.39 kB / 475.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.1297, allocations: 21.72 kB / 475.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.919e-05/0.1298, allocations: 322.8 kB / 475.8 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.1299, allocations: 59.95 kB / 475.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.13, allocations: 56.02 kB / 475.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/0.1302, allocations: 124.7 kB / 476 MB, free: 8.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1302, allocations: 0 / 476 MB, free: 8.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002787/0.1305, allocations: 165.5 kB / 476.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1305, allocations: 4 kB / 476.2 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1306, allocations: 7.875 kB / 476.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1306, allocations: 4 kB / 476.2 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.1307, allocations: 24.55 kB / 476.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1307, allocations: 0 / 476.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.003e-05/0.1308, allocations: 7.984 kB / 476.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.1308, allocations: 11.94 kB / 476.2 MB, free: 7.902 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 (11): * Single equations (assignments): 11 * 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.127e-05/0.1309, allocations: 125.8 kB / 476.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.1309, allocations: 11.91 kB / 476.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003496/0.1312, allocations: 190.2 kB / 476.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1313, allocations: 4 kB / 476.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1313, allocations: 0 / 476.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1313, allocations: 4 kB / 476.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005725/0.1319, allocations: 499.9 kB / 477 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1319, allocations: 4 kB / 477 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.861e-05/0.132, allocations: 23.98 kB / 477.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.132, allocations: 4.047 kB / 477.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.132, allocations: 8 kB / 477.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.132, allocations: 4 kB / 477.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.132, allocations: 0 / 477.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.1323, allocations: 273 kB / 477.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.738e-05/0.1324, allocations: 88.94 kB / 477.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.1324, allocations: 4 kB / 477.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-05/0.1325, allocations: 11.98 kB / 477.4 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.1325, allocations: 11.98 kB / 477.4 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.1325, allocations: 0 / 477.4 MB, free: 6.543 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.701e-05/0.1326, allocations: 134.9 kB / 477.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1326, allocations: 0 / 477.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002388/0.1329, allocations: 28 kB / 477.6 MB, free: 6.387 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009166/0.1338, allocations: 464 kB / 478.1 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002957/0.1341, allocations: 127.9 kB / 478.2 MB, free: 5.984 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1341, allocations: 3.938 kB / 478.2 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.1342, allocations: 71.89 kB / 478.3 MB, free: 5.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.1346, allocations: 19.5 kB / 478.3 MB, free: 5.895 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004398/0.135, allocations: 288 kB / 478.6 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.1353, allocations: 0.7119 MB / 479.3 MB, free: 4.836 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.734e-05/0.1353, allocations: 32.53 kB / 479.3 MB, free: 4.805 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.349e-05/0.1354, allocations: 11.44 kB / 479.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1354, allocations: 4 kB / 479.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of Templates: time 0.1232/0.2586, allocations: 1.596 MB / 480.9 MB, free: 3.203 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches