Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007656/0.0007656, allocations: 95.31 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009459/0.000946, allocations: 204.2 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.7 MB / 247.5 MB, free: 9.484 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1954/0.1954, allocations: 46.19 MB / 345.9 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004162/0.000416, allocations: 8 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1291, allocations: 63.57 MB / 483.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.001952/0.1311, allocations: 1.446 MB / 485.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.1327, allocations: 0.9824 MB / 486.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.151e-05/0.1328, allocations: 4 kB / 486.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.1331, allocations: 83.77 kB / 486.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002835/0.1334, allocations: 95.7 kB / 486.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.1336, allocations: 63.88 kB / 486.4 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.1338, allocations: 107.7 kB / 486.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.277e-05/0.1339, allocations: 15.94 kB / 486.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.134, allocations: 51.77 kB / 486.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.1341, allocations: 59.75 kB / 486.6 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.1342, allocations: 0 / 486.6 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.1343, allocations: 47.92 kB / 486.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.425e-05/0.1343, allocations: 23.92 kB / 486.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.313e-05/0.1344, allocations: 65.36 kB / 486.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.1346, allocations: 88.05 kB / 486.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1346, allocations: 0 / 486.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1346, allocations: 0 / 486.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1346, allocations: 4 kB / 486.9 MB, free: 0.9883 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004814/0.1351, allocations: 411 kB / 487.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1351, allocations: 12.88 kB / 487.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.1352, allocations: 12.75 kB / 487.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.1354, allocations: 208.6 kB / 487.5 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.1354, allocations: 4.375 kB / 487.5 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.1354, allocations: 4.125 kB / 487.5 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.1356, allocations: 57.61 kB / 487.6 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.1356, allocations: 0 / 487.6 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.1356, allocations: 4 kB / 487.6 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1356, allocations: 4 kB / 487.6 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.409e-05/0.1357, allocations: 15.98 kB / 487.6 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.1361, allocations: 296.8 kB / 487.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.1363, allocations: 54.62 kB / 487.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.548e-05/0.1363, allocations: 28.84 kB / 488 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.1364, allocations: 4 kB / 488 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.1365, allocations: 67.39 kB / 488 MB, free: 15.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 2.865e-06/0.1365, allocations: 0 / 488 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005239/0.1371, allocations: 181.1 kB / 488.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.1371, allocations: 55.41 kB / 488.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.1373, allocations: 227.4 kB / 488.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.1373, allocations: 25.7 kB / 488.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.1374, allocations: 108.1 kB / 488.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.1375, allocations: 23.66 kB / 488.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/0.1375, allocations: 17.7 kB / 488.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1376, allocations: 330.8 kB / 489 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.674e-05/0.1377, allocations: 16 kB / 489 MB, free: 14.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.385e-05/0.1377, allocations: 41.64 kB / 489 MB, free: 14.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.1379, allocations: 61.7 kB / 489.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1379, allocations: 0 / 489.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001839/0.1381, allocations: 109.8 kB / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.1381, allocations: 4 kB / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1381, allocations: 3.938 kB / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.1381, allocations: 4 kB / 489.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.288e-05/0.1382, allocations: 12 kB / 489.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1382, allocations: 4.031 kB / 489.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.345e-05/0.1383, allocations: 15.92 kB / 489.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.1383, allocations: 0 / 489.2 MB, free: 14.37 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001022/0.1384, allocations: 133.8 kB / 489.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.1384, allocations: 15.81 kB / 489.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.456e-05/0.1385, allocations: 21.38 kB / 489.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1385, allocations: 4 kB / 489.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1385, allocations: 0 / 489.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1385, allocations: 3.938 kB / 489.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004196/0.1389, allocations: 399.3 kB / 489.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.139, allocations: 0 / 489.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.139, allocations: 8 kB / 489.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.139, allocations: 0 / 489.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.139, allocations: 7.938 kB / 489.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.139, allocations: 3.984 kB / 489.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.139, allocations: 0 / 489.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.1392, allocations: 208.2 kB / 490 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-05/0.1393, allocations: 92.92 kB / 490.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.1393, allocations: 7.938 kB / 490.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.627e-05/0.1394, allocations: 12.3 kB / 490.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.1395, allocations: 0 / 490.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.1395, allocations: 4 kB / 490.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.1396, allocations: 173.2 kB / 490.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1396, allocations: 0 / 490.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.1399, allocations: 24 kB / 490.3 MB, free: 13.17 MB / 366.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001035/0.1409, allocations: 458.2 kB / 490.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001667/0.1411, allocations: 59.91 kB / 490.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1411, allocations: 0 / 490.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.02e-05/0.1412, allocations: 27.98 kB / 490.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.1416, allocations: 27.92 kB / 490.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004657/0.142, allocations: 312.6 kB / 491.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.1423, allocations: 0.7082 MB / 491.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.1423, allocations: 15.44 kB / 491.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1423, allocations: 4 kB / 491.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of Templates: time 0.003806/0.1462, allocations: 1.97 MB / 493.9 MB, free: 9.707 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches