Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009717/0.0009718, allocations: 92.5 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00118/0.001181, allocations: 201.8 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.7 MB / 246.8 MB, free: 9.656 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2302/0.2302, allocations: 46.18 MB / 345.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003082/0.0003083, allocations: 11.94 kB / 419.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1248, allocations: 63.56 MB / 483.1 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.002043/0.1269, allocations: 1.314 MB / 484.4 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.1288, allocations: 1.125 MB / 485.5 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.831e-05/0.1289, allocations: 3.938 kB / 485.5 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.1291, allocations: 27.91 kB / 485.6 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002787/0.1294, allocations: 67.75 kB / 485.6 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.1297, allocations: 95.83 kB / 485.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.1299, allocations: 63.83 kB / 485.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.154e-05/0.13, allocations: 12 kB / 485.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.546e-05/0.1301, allocations: 27.84 kB / 485.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.1302, allocations: 27.86 kB / 485.8 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.1302, allocations: 0 / 485.8 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.1304, allocations: 91.88 kB / 485.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.817e-05/0.1305, allocations: 15.98 kB / 486 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.08e-05/0.1306, allocations: 49.5 kB / 486 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.1308, allocations: 131.7 kB / 486.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1308, allocations: 0 / 486.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.1309, allocations: 0 / 486.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1309, allocations: 3.938 kB / 486.1 MB, free: 1.051 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.0005311/0.1314, allocations: 387.5 kB / 486.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.1314, allocations: 12.88 kB / 486.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.1315, allocations: 4.844 kB / 486.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.1317, allocations: 204.2 kB / 486.7 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.1318, allocations: 384 / 486.7 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.1318, allocations: 4.375 kB / 486.7 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.132, allocations: 63.53 kB / 486.8 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.132, allocations: 3.938 kB / 486.8 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.132, allocations: 4 kB / 486.8 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.132, allocations: 3.938 kB / 486.8 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.1321, allocations: 31.97 kB / 486.8 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000417/0.1326, allocations: 288.8 kB / 487.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.1328, allocations: 50.5 kB / 487.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.876e-05/0.1329, allocations: 24.94 kB / 487.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.1329, allocations: 0 / 487.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.1329, allocations: 30.56 kB / 487.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.1329, allocations: 0 / 487.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006604/0.1336, allocations: 177.4 kB / 487.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.1337, allocations: 77.11 kB / 487.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.1338, allocations: 141.8 kB / 487.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.1339, allocations: 29.7 kB / 487.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.377e-05/0.1339, allocations: 100 kB / 487.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.134, allocations: 15.75 kB / 487.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.134, allocations: 13.72 kB / 487.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1341, allocations: 318.8 kB / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.872e-05/0.1342, allocations: 23.98 kB / 488.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.865e-05/0.1343, allocations: 49.69 kB / 488.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.1345, allocations: 56.83 kB / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1345, allocations: 0 / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000233/0.1347, allocations: 101.5 kB / 488.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1347, allocations: 4 kB / 488.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1348, allocations: 3.984 kB / 488.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.1348, allocations: 0 / 488.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.432e-05/0.1348, allocations: 16.25 kB / 488.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.1349, allocations: 3.984 kB / 488.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.752e-05/0.1349, allocations: 16 kB / 488.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1349, allocations: 3.938 kB / 488.4 MB, free: 14.59 MB / 366.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 9.553e-05/0.135, allocations: 113.8 kB / 488.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/0.1351, allocations: 7.906 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002835/0.1354, allocations: 113.9 kB / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1354, allocations: 0 / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1354, allocations: 0 / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1354, allocations: 0 / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005028/0.1359, allocations: 366.5 kB / 488.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1359, allocations: 0 / 488.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.707e-05/0.136, allocations: 27.92 kB / 489 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.136, allocations: 0 / 489 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.136, allocations: 0 / 489 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.136, allocations: 7.938 kB / 489 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.136, allocations: 0 / 489 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.1363, allocations: 187.4 kB / 489.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.971e-05/0.1364, allocations: 96.94 kB / 489.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.1364, allocations: 0 / 489.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.218e-05/0.1365, allocations: 11.94 kB / 489.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.1365, allocations: 3.984 kB / 489.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.1365, allocations: 0 / 489.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.795e-05/0.1366, allocations: 113.3 kB / 489.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.473e-06/0.1367, allocations: 4 kB / 489.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003038/0.137, allocations: 43.92 kB / 489.4 MB, free: 13.41 MB / 366.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.00113/0.1381, allocations: 497.1 kB / 489.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002211/0.1383, allocations: 55.97 kB / 490 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1383, allocations: 0 / 490 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.1385, allocations: 35.97 kB / 490 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.1388, allocations: 19.92 kB / 490 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004648/0.1393, allocations: 200.6 kB / 490.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.1396, allocations: 0.6926 MB / 490.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.517e-05/0.1397, allocations: 11.98 kB / 490.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.572e-05/0.1398, allocations: 23.36 kB / 490.9 MB, free: 12 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1398, allocations: 0 / 490.9 MB, free: 12 MB / 366.1 MB Notification: Performance of Templates: time 0.005361/0.1451, allocations: 1.718 MB / 492.7 MB, free: 10.29 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches