Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,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.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 108.1 kB / 17.21 MB, free: 6.289 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.00192/0.00192, allocations: 194 kB / 18.12 MB, free: 5.383 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.522/1.522, allocations: 222.9 MB / 241.8 MB, free: 15.45 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.2334/0.2334, allocations: 44.17 MB / 336.1 MB, free: 2.996 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 65.25 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1214, allocations: 60.82 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003458/0.1249, allocations: 1.617 MB / 470.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008/0.1257, allocations: 411.3 kB / 470.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.102e-05/0.1258, allocations: 0 / 470.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.126, allocations: 19.91 kB / 470.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.1262, allocations: 23.92 kB / 470.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.1265, allocations: 95.81 kB / 470.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.1266, allocations: 55.78 kB / 470.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1267, allocations: 19.98 kB / 470.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.445e-05/0.1268, allocations: 19.92 kB / 470.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.27e-05/0.1268, allocations: 19.81 kB / 470.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.1269, allocations: 4 kB / 470.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.988e-05/0.127, allocations: 27.98 kB / 470.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.827e-05/0.127, allocations: 15.91 kB / 470.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.614e-05/0.127, allocations: 19.88 kB / 470.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.1272, allocations: 79.73 kB / 470.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1272, allocations: 0 / 470.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1272, allocations: 4 kB / 470.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.1272, allocations: 0 / 470.9 MB, free: 12.41 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.0004716/0.1277, allocations: 383.4 kB / 471.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1277, allocations: 8.031 kB / 471.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.1278, allocations: 8.844 kB / 471.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.128, allocations: 188.2 kB / 471.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.128, allocations: 4.375 kB / 471.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.128, allocations: 384 / 471.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.1282, allocations: 57.75 kB / 471.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.1282, allocations: 0 / 471.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.1282, allocations: 0 / 471.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1282, allocations: 0 / 471.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.666e-05/0.1283, allocations: 35.95 kB / 471.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00038/0.1287, allocations: 276.8 kB / 471.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.1289, allocations: 50.5 kB / 471.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.699e-05/0.129, allocations: 24.94 kB / 472 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.1291, allocations: 0 / 472 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.1291, allocations: 30.56 kB / 472 MB, free: 11.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.1291, allocations: 0 / 472 MB, free: 11.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005723/0.1297, allocations: 153.3 kB / 472.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.1297, allocations: 51.41 kB / 472.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.1299, allocations: 149.7 kB / 472.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.1299, allocations: 25.7 kB / 472.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.2e-05/0.1299, allocations: 96.12 kB / 472.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.13, allocations: 15.81 kB / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.13, allocations: 17.72 kB / 472.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.941e-05/0.1301, allocations: 326.8 kB / 472.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.237e-05/0.1302, allocations: 19.98 kB / 472.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.099e-05/0.1303, allocations: 31.91 kB / 472.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.1304, allocations: 44.83 kB / 472.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1304, allocations: 0 / 472.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001817/0.1306, allocations: 89.52 kB / 473 MB, free: 10.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.1306, allocations: 8 kB / 473 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1306, allocations: 0 / 473 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.1306, allocations: 0 / 473 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.982e-05/0.1307, allocations: 15.92 kB / 473 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1307, allocations: 4 kB / 473 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.795e-05/0.1308, allocations: 7.984 kB / 473 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.1308, allocations: 7.938 kB / 473 MB, free: 10.1 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 7.307e-05/0.1309, allocations: 118.3 kB / 473.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/0.1309, allocations: 7.906 kB / 473.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.1311, allocations: 109.9 kB / 473.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1311, allocations: 0 / 473.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1312, allocations: 0 / 473.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1312, allocations: 0 / 473.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004745/0.1316, allocations: 354.8 kB / 473.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1316, allocations: 0 / 473.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.291e-05/0.1317, allocations: 19.94 kB / 473.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1317, allocations: 0 / 473.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.1317, allocations: 0 / 473.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1317, allocations: 3.938 kB / 473.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1317, allocations: 3.984 kB / 473.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002165/0.132, allocations: 175.4 kB / 473.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.132, allocations: 85.02 kB / 473.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.132, allocations: 11.98 kB / 473.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.55e-05/0.1321, allocations: 7.938 kB / 473.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.1322, allocations: 3.984 kB / 473.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.1322, allocations: 0 / 473.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.3e-05/0.1323, allocations: 121.8 kB / 474 MB, free: 8.992 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1323, allocations: 0 / 474 MB, free: 8.992 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.1325, allocations: 11.98 kB / 474 MB, free: 8.98 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.0008858/0.1334, allocations: 417 kB / 474.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.1336, allocations: 51.95 kB / 474.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1336, allocations: 0 / 474.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.714e-05/0.1337, allocations: 23.98 kB / 474.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.1341, allocations: 15.98 kB / 474.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003961/0.1345, allocations: 215.1 kB / 474.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.1347, allocations: 0.6926 MB / 475.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.839e-05/0.1348, allocations: 15.97 kB / 475.5 MB, free: 7.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/0.1349, allocations: 11.44 kB / 475.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1349, allocations: 4 kB / 475.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of Templates: time 0.003487/0.1384, allocations: 1.057 MB / 476.5 MB, free: 6.594 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches