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.001026/0.001026, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.000946/0.0009459, allocations: 192 kB / 18.56 MB, free: 4.434 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.329/1.329, allocations: 222.9 MB / 242.2 MB, free: 15.16 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.2036/0.2036, allocations: 44.19 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 62.91 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1251, allocations: 60.83 MB / 469.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003339/0.1284, allocations: 1.552 MB / 470.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008192/0.1293, allocations: 407.3 kB / 471.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.97e-05/0.1294, allocations: 4 kB / 471.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002308/0.1297, allocations: 23.84 kB / 471.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002175/0.1299, allocations: 43.78 kB / 471.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003243/0.1302, allocations: 110.6 kB / 471.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.1304, allocations: 59.78 kB / 471.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1305, allocations: 12 kB / 471.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.177e-05/0.1306, allocations: 19.92 kB / 471.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.099e-05/0.1306, allocations: 19.86 kB / 471.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.1306, allocations: 4 kB / 471.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.354e-05/0.1307, allocations: 27.98 kB / 471.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.477e-05/0.1308, allocations: 23.92 kB / 471.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.194e-05/0.1308, allocations: 15.88 kB / 471.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.131, allocations: 83.66 kB / 471.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.131, allocations: 0 / 471.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.131, allocations: 0 / 471.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1311, allocations: 0 / 471.6 MB, free: 11.96 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.0004601/0.1315, allocations: 387.4 kB / 472 MB, free: 11.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.1316, allocations: 12.03 kB / 472 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/0.1316, allocations: 8.844 kB / 472 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.1318, allocations: 187.7 kB / 472.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.1318, allocations: 384 / 472.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.1319, allocations: 384 / 472.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.132, allocations: 61.75 kB / 472.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.132, allocations: 0 / 472.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.1321, allocations: 0 / 472.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1321, allocations: 4 kB / 472.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.445e-05/0.1322, allocations: 23.98 kB / 472.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003632/0.1325, allocations: 284.8 kB / 472.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.1328, allocations: 46.48 kB / 472.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.146e-05/0.1328, allocations: 20.94 kB / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.1328, allocations: 4 kB / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.1329, allocations: 34.56 kB / 472.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1329, allocations: 0 / 472.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005534/0.1334, allocations: 145.3 kB / 472.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.1335, allocations: 55.41 kB / 472.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.1336, allocations: 157.7 kB / 473 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.1336, allocations: 25.7 kB / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/0.1337, allocations: 96.12 kB / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.1337, allocations: 11.8 kB / 473.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.1338, allocations: 17.72 kB / 473.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.815e-05/0.1339, allocations: 326.8 kB / 473.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.822e-05/0.1339, allocations: 19.98 kB / 473.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.396e-05/0.134, allocations: 23.98 kB / 473.5 MB, free: 9.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.1341, allocations: 60.75 kB / 473.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1342, allocations: 0 / 473.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00017/0.1343, allocations: 85.52 kB / 473.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1344, allocations: 4 kB / 473.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1344, allocations: 0 / 473.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.1344, allocations: 4 kB / 473.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.966e-05/0.1344, allocations: 11.98 kB / 473.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1345, allocations: 4 kB / 473.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.828e-05/0.1345, allocations: 7.984 kB / 473.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.1345, allocations: 3.938 kB / 473.7 MB, free: 9.652 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 8.285e-05/0.1346, allocations: 121.8 kB / 473.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.1346, allocations: 11.84 kB / 473.9 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.1349, allocations: 102.1 kB / 474 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1349, allocations: 4 kB / 474 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.1349, allocations: 4 kB / 474 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1349, allocations: 0 / 474 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003819/0.1353, allocations: 346.5 kB / 474.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1353, allocations: 3.984 kB / 474.3 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.071e-05/0.1354, allocations: 11.94 kB / 474.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1354, allocations: 0 / 474.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.1354, allocations: 4 kB / 474.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.1354, allocations: 7.938 kB / 474.3 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1354, allocations: 0 / 474.3 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.1356, allocations: 183.4 kB / 474.5 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.17e-05/0.1356, allocations: 81.02 kB / 474.6 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.1357, allocations: 3.984 kB / 474.6 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.254e-05/0.1357, allocations: 7.938 kB / 474.6 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.1358, allocations: 8 kB / 474.6 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.1358, allocations: 0 / 474.6 MB, free: 8.664 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.747e-05/0.1359, allocations: 121.3 kB / 474.7 MB, free: 8.547 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1359, allocations: 0 / 474.7 MB, free: 8.547 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.1361, allocations: 20 kB / 474.7 MB, free: 8.527 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.0008429/0.137, allocations: 404.4 kB / 475.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.1372, allocations: 59.95 kB / 475.2 MB, free: 8.223 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1372, allocations: 0 / 475.2 MB, free: 8.223 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.506e-05/0.1373, allocations: 31.92 kB / 475.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.1376, allocations: 19.92 kB / 475.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003618/0.138, allocations: 185.4 kB / 475.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.1382, allocations: 0.6923 MB / 476.1 MB, free: 7.246 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.816e-05/0.1383, allocations: 15.97 kB / 476.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.1383, allocations: 15.44 kB / 476.2 MB, free: 7.215 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1383, allocations: 0 / 476.2 MB, free: 7.215 MB / 350.1 MB Notification: Performance of Templates: time 0.003356/0.1417, allocations: 1.103 MB / 477.3 MB, free: 6.121 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