Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009741/0.000974, allocations: 93.78 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.00134/0.00134, allocations: 201.9 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.554/1.554, allocations: 227.7 MB / 246.8 MB, free: 9.766 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2516/0.2516, allocations: 46.19 MB / 345.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002933/0.0002933, allocations: 8.375 kB / 419.5 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1315, allocations: 63.56 MB / 483.1 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002245/0.1338, allocations: 1.45 MB / 484.5 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.1354, allocations: 0.9902 MB / 485.5 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.37e-05/0.1355, allocations: 0 / 485.5 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003045/0.1358, allocations: 43.89 kB / 485.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00026/0.1361, allocations: 79.69 kB / 485.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.1363, allocations: 59.88 kB / 485.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.1365, allocations: 103.7 kB / 485.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.702e-05/0.1366, allocations: 7.984 kB / 485.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.249e-05/0.1367, allocations: 39.73 kB / 485.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.992e-05/0.1368, allocations: 39.78 kB / 485.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.1368, allocations: 4 kB / 485.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.1369, allocations: 43.97 kB / 485.9 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.4e-05/0.137, allocations: 19.92 kB / 486 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.752e-05/0.137, allocations: 53.45 kB / 486 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.1373, allocations: 119.8 kB / 486.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1373, allocations: 0 / 486.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1373, allocations: 0 / 486.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1373, allocations: 3.938 kB / 486.1 MB, free: 1.047 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.0006381/0.1379, allocations: 403.1 kB / 486.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.138, allocations: 12.88 kB / 486.5 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.138, allocations: 8.844 kB / 486.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.1383, allocations: 208.8 kB / 486.8 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.1384, allocations: 384 / 486.8 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.1384, allocations: 12.12 kB / 486.8 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.1386, allocations: 57.55 kB / 486.8 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.1386, allocations: 0 / 486.8 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.1386, allocations: 4 kB / 486.8 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.1386, allocations: 0 / 486.8 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.197e-05/0.1387, allocations: 27.98 kB / 486.9 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004371/0.1392, allocations: 284.8 kB / 487.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.1394, allocations: 62.61 kB / 487.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.65e-05/0.1394, allocations: 16.86 kB / 487.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.1395, allocations: 8 kB / 487.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.1397, allocations: 67.38 kB / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.1397, allocations: 0 / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005947/0.1403, allocations: 173.2 kB / 487.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.1403, allocations: 55.41 kB / 487.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.1406, allocations: 190.9 kB / 487.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1406, allocations: 29.7 kB / 487.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.567e-05/0.1407, allocations: 108.1 kB / 487.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.1407, allocations: 23.7 kB / 487.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.1407, allocations: 13.72 kB / 487.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.1409, allocations: 326.8 kB / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.784e-05/0.1409, allocations: 23.98 kB / 488.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.779e-05/0.141, allocations: 41.64 kB / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.1412, allocations: 57.72 kB / 488.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1412, allocations: 0 / 488.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000197/0.1414, allocations: 101.4 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.1415, allocations: 8 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1415, allocations: 0 / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.1415, allocations: 0 / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.1416, allocations: 15.98 kB / 488.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.1416, allocations: 4 kB / 488.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.106e-05/0.1417, allocations: 8.125 kB / 488.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1417, allocations: 8.031 kB / 488.5 MB, free: 14.5 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.0001196/0.1418, allocations: 133.7 kB / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.1419, allocations: 11.91 kB / 488.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.723e-05/0.1419, allocations: 13.41 kB / 488.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.1419, allocations: 0 / 488.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1419, allocations: 0 / 488.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1419, allocations: 11.88 kB / 488.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004649/0.1424, allocations: 399.2 kB / 489 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.1424, allocations: 4 kB / 489 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.058e-05/0.1425, allocations: 8 kB / 489 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1425, allocations: 4 kB / 489 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.1425, allocations: 3.938 kB / 489 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1425, allocations: 4.359 kB / 489 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.1425, allocations: 4 kB / 489 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.1427, allocations: 204.3 kB / 489.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.138e-05/0.1428, allocations: 92.86 kB / 489.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.1428, allocations: 7.938 kB / 489.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.38e-05/0.1429, allocations: 11.98 kB / 489.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.143, allocations: 4 kB / 489.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.143, allocations: 0 / 489.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001241/0.1431, allocations: 152.7 kB / 489.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1431, allocations: 4 kB / 489.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.1434, allocations: 27.98 kB / 489.5 MB, free: 13.31 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.001156/0.1446, allocations: 455.2 kB / 490 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001775/0.1448, allocations: 63.92 kB / 490 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1448, allocations: 0 / 490 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.707e-05/0.1448, allocations: 23.98 kB / 490.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.1452, allocations: 35.91 kB / 490.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004999/0.1457, allocations: 254.2 kB / 490.3 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.146, allocations: 0.7043 MB / 491 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.798e-05/0.1461, allocations: 16.88 kB / 491.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.1461, allocations: 15.44 kB / 491.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1462, allocations: 4 kB / 491.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of Templates: time 0.004882/0.151, allocations: 1.634 MB / 492.7 MB, free: 10.24 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches