Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 109.4 kB / 17.21 MB, free: 6.27 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.001287/0.001287, allocations: 194 kB / 18.12 MB, free: 5.363 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.372/1.372, allocations: 222.9 MB / 241.8 MB, free: 15.57 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.2138/0.2138, allocations: 44.16 MB / 336.1 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 65.03 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1304, allocations: 60.81 MB / 468.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.003189/0.1337, allocations: 1.636 MB / 470.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008142/0.1345, allocations: 427.2 kB / 470.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.645e-05/0.1346, allocations: 0 / 470.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002897/0.1349, allocations: 99.78 kB / 470.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.1351, allocations: 71.84 kB / 470.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.1354, allocations: 103.3 kB / 470.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.1355, allocations: 75.81 kB / 470.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.799e-05/0.1356, allocations: 20.12 kB / 470.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.613e-05/0.1357, allocations: 39.83 kB / 471 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.1358, allocations: 67.8 kB / 471 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.1358, allocations: 4 kB / 471 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.619e-05/0.1359, allocations: 39.98 kB / 471.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.507e-05/0.136, allocations: 23.92 kB / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.055e-05/0.136, allocations: 23.75 kB / 471.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.1362, allocations: 115.8 kB / 471.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1362, allocations: 0 / 471.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1362, allocations: 0 / 471.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1362, allocations: 4 kB / 471.2 MB, free: 12.12 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.000512/0.1367, allocations: 414.9 kB / 471.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1368, allocations: 12.03 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.1368, allocations: 12.83 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.137, allocations: 208.5 kB / 471.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.137, allocations: 4.375 kB / 471.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.1371, allocations: 8.359 kB / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.1372, allocations: 57.55 kB / 471.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1372, allocations: 4 kB / 471.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.1372, allocations: 8 kB / 472 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1373, allocations: 0 / 472 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.1374, allocations: 27.97 kB / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004209/0.1378, allocations: 304.7 kB / 472.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.1379, allocations: 46.48 kB / 472.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.313e-05/0.138, allocations: 20.86 kB / 472.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.138, allocations: 4.078 kB / 472.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.138, allocations: 38.5 kB / 472.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1381, allocations: 0 / 472.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009405/0.139, allocations: 241 kB / 472.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.1391, allocations: 51.41 kB / 472.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003289/0.1394, allocations: 246.6 kB / 472.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.1394, allocations: 25.7 kB / 472.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.237e-05/0.1395, allocations: 108.1 kB / 473 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.1395, allocations: 23.56 kB / 473.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.1396, allocations: 25.7 kB / 473.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1397, allocations: 330.8 kB / 473.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.88e-05/0.1398, allocations: 23.98 kB / 473.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.461e-05/0.1399, allocations: 35.91 kB / 473.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.1401, allocations: 72.89 kB / 473.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1401, allocations: 4 kB / 473.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002414/0.1404, allocations: 105.6 kB / 473.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.1404, allocations: 10.34 kB / 473.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1404, allocations: 3.938 kB / 473.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.1404, allocations: 0 / 473.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.1406, allocations: 19.98 kB / 473.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.1406, allocations: 11.88 kB / 473.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.28e-05/0.1406, allocations: 3.984 kB / 473.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.1407, allocations: 4 kB / 473.7 MB, free: 9.43 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.0001186/0.1408, allocations: 129.8 kB / 473.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.1408, allocations: 19.81 kB / 473.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003021/0.1411, allocations: 123.4 kB / 474 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.1411, allocations: 3.984 kB / 474 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1412, allocations: 3.938 kB / 474 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1412, allocations: 0 / 474 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005651/0.1417, allocations: 435.4 kB / 474.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.1418, allocations: 432 / 474.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.913e-05/0.1418, allocations: 19.88 kB / 474.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1419, allocations: 7.938 kB / 474.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1419, allocations: 3.984 kB / 474.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1419, allocations: 0 / 474.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1419, allocations: 0 / 474.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.1422, allocations: 220.2 kB / 474.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.1422, allocations: 92.84 kB / 474.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.1422, allocations: 4 kB / 474.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.456e-05/0.1423, allocations: 11.98 kB / 474.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.1424, allocations: 3.938 kB / 474.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.1424, allocations: 4 kB / 474.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001504/0.1425, allocations: 192.3 kB / 475 MB, free: 8.074 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1425, allocations: 0 / 475 MB, free: 8.074 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.1428, allocations: 23.98 kB / 475 MB, free: 8.051 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.001145/0.144, allocations: 450.9 kB / 475.4 MB, free: 7.785 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002735/0.1442, allocations: 71.94 kB / 475.5 MB, free: 7.715 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1442, allocations: 7.875 kB / 475.5 MB, free: 7.707 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.555e-05/0.1443, allocations: 35.98 kB / 475.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.1448, allocations: 19.92 kB / 475.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005168/0.1453, allocations: 320.9 kB / 475.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.1457, allocations: 0.716 MB / 476.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.01e-05/0.1457, allocations: 28.94 kB / 476.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.1458, allocations: 11.44 kB / 476.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1458, allocations: 0 / 476.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of Templates: time 0.003893/0.1497, allocations: 1.323 MB / 477.9 MB, free: 5.211 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches