Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 105.9 kB / 18.3 MB, free: 4.887 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.001036/0.001036, allocations: 195.5 kB / 19.23 MB, free: 3.961 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.437/1.437, allocations: 222.9 MB / 242.9 MB, free: 15.23 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.2142/0.2142, allocations: 44.18 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 65.55 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1218, allocations: 60.83 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003853/0.1257, allocations: 1.572 MB / 471.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009091/0.1266, allocations: 423.2 kB / 471.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.1268, allocations: 0 / 471.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004394/0.1273, allocations: 83.7 kB / 472 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003732/0.1277, allocations: 55.81 kB / 472 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004358/0.1282, allocations: 110.4 kB / 472.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.1284, allocations: 75.81 kB / 472.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.1285, allocations: 20.19 kB / 472.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.797e-05/0.1286, allocations: 35.84 kB / 472.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.1288, allocations: 55.81 kB / 472.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.1288, allocations: 0 / 472.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.1289, allocations: 47.92 kB / 472.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.248e-05/0.129, allocations: 15.98 kB / 472.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.834e-05/0.1291, allocations: 35.73 kB / 472.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.1293, allocations: 91.98 kB / 472.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.1293, allocations: 8 kB / 472.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1293, allocations: 0 / 472.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1294, allocations: 0 / 472.5 MB, free: 11.77 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.0006051/0.13, allocations: 403 kB / 472.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.13, allocations: 12.03 kB / 472.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.5e-05/0.1301, allocations: 12.83 kB / 472.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.1303, allocations: 196.1 kB / 473.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.1304, allocations: 4.375 kB / 473.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.1304, allocations: 8.375 kB / 473.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.1306, allocations: 57.61 kB / 473.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.1306, allocations: 3.906 kB / 473.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.1307, allocations: 3.984 kB / 473.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1307, allocations: 0 / 473.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.1308, allocations: 35.95 kB / 473.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004834/0.1313, allocations: 296.8 kB / 473.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.1314, allocations: 46.56 kB / 473.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.364e-05/0.1315, allocations: 16.94 kB / 473.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.1315, allocations: 4 kB / 473.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.1316, allocations: 34.56 kB / 473.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.895e-06/0.1316, allocations: 0 / 473.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.00104/0.1326, allocations: 237 kB / 473.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.1327, allocations: 55.41 kB / 473.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.1329, allocations: 214.1 kB / 474.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.133, allocations: 25.7 kB / 474.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.948e-05/0.1331, allocations: 108 kB / 474.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.1331, allocations: 31.7 kB / 474.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.1332, allocations: 25.72 kB / 474.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1333, allocations: 318.8 kB / 474.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.708e-05/0.1334, allocations: 23.98 kB / 474.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.832e-05/0.1335, allocations: 35.97 kB / 474.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.1337, allocations: 68.83 kB / 474.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1337, allocations: 4 kB / 474.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000239/0.1339, allocations: 121.4 kB / 474.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.134, allocations: 11.88 kB / 474.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.134, allocations: 0 / 474.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.134, allocations: 0 / 474.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.1341, allocations: 19.98 kB / 474.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1341, allocations: 3.938 kB / 474.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.552e-05/0.1342, allocations: 4 kB / 474.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.1342, allocations: 4 kB / 474.9 MB, free: 9.145 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.0001077/0.1343, allocations: 129.8 kB / 475 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.1344, allocations: 7.906 kB / 475.1 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003154/0.1347, allocations: 130.3 kB / 475.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1347, allocations: 0 / 475.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.1347, allocations: 7.922 kB / 475.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1347, allocations: 0 / 475.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005789/0.1353, allocations: 415.6 kB / 475.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1353, allocations: 0 / 475.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.434e-05/0.1354, allocations: 23.92 kB / 475.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.1354, allocations: 4 kB / 475.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.1354, allocations: 4 kB / 475.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1354, allocations: 0 / 475.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.1354, allocations: 8.031 kB / 475.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.1357, allocations: 220.2 kB / 475.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.837e-05/0.1358, allocations: 85.38 kB / 475.9 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.1358, allocations: 4 kB / 475.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.538e-05/0.1359, allocations: 4 kB / 475.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.136, allocations: 11.98 kB / 476 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.136, allocations: 4 kB / 476 MB, free: 7.996 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001331/0.1361, allocations: 155.2 kB / 476.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1361, allocations: 0 / 476.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.1364, allocations: 20 kB / 476.1 MB, free: 7.824 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.001172/0.1376, allocations: 471.7 kB / 476.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002603/0.1378, allocations: 79.88 kB / 476.7 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1379, allocations: 0 / 476.7 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.138, allocations: 39.92 kB / 476.7 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/0.1384, allocations: 23.92 kB / 476.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005478/0.139, allocations: 284.8 kB / 477 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.1393, allocations: 0.7119 MB / 477.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.01e-05/0.1393, allocations: 15.44 kB / 477.7 MB, free: 6.332 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1393, allocations: 0 / 477.7 MB, free: 6.332 MB / 350.1 MB Notification: Performance of Templates: time 0.004267/0.1436, allocations: 1.754 MB / 479.5 MB, free: 4.582 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches