Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.CombiTable1Ds.Test27,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.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.CombiTable1Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 107.4 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.002011/0.002011, 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.486/1.486, allocations: 222.9 MB / 241.8 MB, free: 15.44 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.2245/0.2245, allocations: 44.17 MB / 336.1 MB, free: 3 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 62.88 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1225, allocations: 60.82 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.003218/0.1258, allocations: 1.641 MB / 470.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008138/0.1266, allocations: 407.3 kB / 470.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.508e-05/0.1267, allocations: 3.938 kB / 470.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003477/0.1271, allocations: 131.7 kB / 470.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001814/0.1273, allocations: 75.83 kB / 470.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.1276, allocations: 75.84 kB / 470.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.1278, allocations: 83.81 kB / 470.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.1279, allocations: 16.17 kB / 470.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.842e-05/0.128, allocations: 47.83 kB / 471 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.1282, allocations: 79.78 kB / 471.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.1282, allocations: 0 / 471.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.1284, allocations: 43.97 kB / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.453e-05/0.1284, allocations: 23.92 kB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.705e-05/0.1285, allocations: 31.69 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.1287, allocations: 108 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1287, allocations: 3.938 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1288, allocations: 3.938 kB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1288, allocations: 0 / 471.3 MB, free: 12.08 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.0005936/0.1294, allocations: 434.8 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.1294, allocations: 12.03 kB / 471.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.526e-05/0.1295, allocations: 8.844 kB / 471.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.1297, allocations: 203.9 kB / 471.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.1298, allocations: 8.375 kB / 471.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.1298, allocations: 4.359 kB / 471.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.13, allocations: 57.62 kB / 472 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.13, allocations: 3.984 kB / 472 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.13, allocations: 4 kB / 472 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.13, allocations: 3.938 kB / 472 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.1301, allocations: 23.98 kB / 472 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/0.1306, allocations: 300.7 kB / 472.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.1307, allocations: 42.59 kB / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.663e-05/0.1308, allocations: 24.84 kB / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.1308, allocations: 0 / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.1309, allocations: 34.56 kB / 472.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.1309, allocations: 0 / 472.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.00103/0.1319, allocations: 225.1 kB / 472.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.1319, allocations: 55.34 kB / 472.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.1322, allocations: 274.2 kB / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.1323, allocations: 29.7 kB / 473 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.1323, allocations: 112 kB / 473.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/0.1324, allocations: 23.64 kB / 473.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.256e-05/0.1324, allocations: 21.72 kB / 473.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1326, allocations: 330.8 kB / 473.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.976e-05/0.1327, allocations: 27.91 kB / 473.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.472e-05/0.1327, allocations: 27.98 kB / 473.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.1329, allocations: 68.77 kB / 473.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1329, allocations: 0 / 473.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000246/0.1331, allocations: 105.5 kB / 473.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1332, allocations: 4 kB / 473.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1332, allocations: 0 / 473.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.1332, allocations: 0 / 473.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.507e-05/0.1333, allocations: 19.98 kB / 473.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1333, allocations: 3.938 kB / 473.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.339e-05/0.1334, allocations: 11.98 kB / 473.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.1334, allocations: 0 / 473.7 MB, free: 9.402 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 9.825e-05/0.1335, allocations: 138.3 kB / 473.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.646e-05/0.1335, allocations: 19.81 kB / 473.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002534/0.1338, allocations: 115.3 kB / 474 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.1338, allocations: 4 kB / 474 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1338, allocations: 3.938 kB / 474 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1338, allocations: 0 / 474 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005234/0.1343, allocations: 411.3 kB / 474.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1344, allocations: 0 / 474.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.725e-05/0.1344, allocations: 23.86 kB / 474.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.1344, allocations: 432 / 474.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.1345, allocations: 8 kB / 474.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1345, allocations: 0 / 474.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1345, allocations: 0 / 474.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.1347, allocations: 204.2 kB / 474.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.421e-05/0.1348, allocations: 96.84 kB / 474.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.1349, allocations: 4 kB / 474.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.875e-05/0.1349, allocations: 7.922 kB / 474.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.135, allocations: 8 kB / 474.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.135, allocations: 4 kB / 474.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001855/0.1352, allocations: 211.1 kB / 475 MB, free: 8.062 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1352, allocations: 0 / 475 MB, free: 8.062 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.1355, allocations: 16 kB / 475 MB, free: 8.047 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.00109/0.1366, allocations: 459.8 kB / 475.4 MB, free: 7.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000211/0.1368, allocations: 59.97 kB / 475.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1368, allocations: 0 / 475.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.594e-05/0.1369, allocations: 35.91 kB / 475.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.1373, allocations: 19.94 kB / 475.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005667/0.1379, allocations: 341.2 kB / 475.9 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.1382, allocations: 0.72 MB / 476.6 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.593e-05/0.1382, allocations: 8.969 kB / 476.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/0.1383, allocations: 15.44 kB / 476.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of SimCode: time 1.573e-06/0.1383, allocations: 0 / 476.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of Templates: time 0.004008/0.1423, allocations: 1.298 MB / 477.9 MB, free: 5.227 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches