Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001311/0.001311, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001334/0.001334, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 247.5 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2349/0.2349, allocations: 46.12 MB / 344.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 87.61 kB / 418.3 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1252, allocations: 62.44 MB / 480.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003502/0.1287, allocations: 1.731 MB / 482.5 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002739/0.1315, allocations: 1.619 MB / 484.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.524e-05/0.1316, allocations: 4 kB / 484.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002742/0.1319, allocations: 35.77 kB / 484.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003337/0.1323, allocations: 99.53 kB / 484.3 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.1325, allocations: 79.67 kB / 484.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.1327, allocations: 107.7 kB / 484.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1328, allocations: 15.98 kB / 484.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.675e-05/0.1329, allocations: 47.78 kB / 484.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.133, allocations: 47.77 kB / 484.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.1331, allocations: 4 kB / 484.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.1333, allocations: 107.9 kB / 484.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.88e-05/0.1333, allocations: 19.92 kB / 484.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.601e-05/0.1334, allocations: 39.78 kB / 484.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.1337, allocations: 167.8 kB / 484.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.1337, allocations: 0 / 484.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1337, allocations: 0 / 484.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1337, allocations: 7.938 kB / 484.9 MB, free: 1.086 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.0006085/0.1343, allocations: 423 kB / 485.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1344, allocations: 12.03 kB / 485.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.005e-05/0.1344, allocations: 8.844 kB / 485.3 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.1347, allocations: 212.2 kB / 485.5 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1347, allocations: 11.94 kB / 485.5 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.1348, allocations: 4 kB / 485.5 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.1349, allocations: 67.38 kB / 485.6 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.135, allocations: 0 / 485.6 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.135, allocations: 11.94 kB / 485.6 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.135, allocations: 0 / 485.6 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.023e-05/0.1351, allocations: 15.98 kB / 485.6 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004223/0.1355, allocations: 292.9 kB / 485.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.1357, allocations: 54.67 kB / 486 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.727e-05/0.1358, allocations: 24.8 kB / 486 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.1358, allocations: 0 / 486 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002269/0.136, allocations: 71.38 kB / 486.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.136, allocations: 0 / 486.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005675/0.1366, allocations: 173.1 kB / 486.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.1367, allocations: 89.03 kB / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.1369, allocations: 161.5 kB / 486.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.1369, allocations: 29.69 kB / 486.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.191e-05/0.137, allocations: 96.14 kB / 486.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.137, allocations: 27.64 kB / 486.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/0.137, allocations: 25.72 kB / 486.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.1372, allocations: 322.8 kB / 487 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.084e-05/0.1373, allocations: 19.98 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.789e-05/0.1374, allocations: 46.5 kB / 487 MB, free: 14.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.1375, allocations: 61.64 kB / 487.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.1375, allocations: 4 kB / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002166/0.1377, allocations: 101.5 kB / 487.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.1378, allocations: 4 kB / 487.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.1378, allocations: 0 / 487.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.1378, allocations: 4 kB / 487.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.779e-05/0.1379, allocations: 15.98 kB / 487.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.1379, allocations: 3.938 kB / 487.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.421e-05/0.138, allocations: 8.188 kB / 487.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-06/0.138, allocations: 4.375 kB / 487.2 MB, free: 14.48 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.0001253/0.1381, allocations: 121.8 kB / 487.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/0.1382, allocations: 15.8 kB / 487.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.785e-05/0.1382, allocations: 16.66 kB / 487.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.1382, allocations: 4 kB / 487.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.1382, allocations: 11.88 kB / 487.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1383, allocations: 0 / 487.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004955/0.1388, allocations: 391.3 kB / 487.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1388, allocations: 32 / 487.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.065e-05/0.1388, allocations: 23.92 kB / 487.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.1388, allocations: 4 kB / 487.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.1388, allocations: 0 / 487.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1388, allocations: 0 / 487.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1389, allocations: 0 / 487.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.1391, allocations: 196.3 kB / 488 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.906e-05/0.1392, allocations: 92.95 kB / 488.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.1392, allocations: 7.984 kB / 488.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.562e-05/0.1393, allocations: 0 / 488.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.1393, allocations: 11.94 kB / 488.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.1394, allocations: 7.984 kB / 488.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001349/0.1395, allocations: 123.2 kB / 488.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1395, allocations: 0 / 488.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003071/0.1398, allocations: 47.98 kB / 488.3 MB, free: 13.32 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.001953/0.1418, allocations: 0.5371 MB / 488.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.142, allocations: 55.91 kB / 488.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.142, allocations: 0 / 488.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.875e-05/0.1421, allocations: 35.92 kB / 488.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.1425, allocations: 39.98 kB / 489 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004741/0.1429, allocations: 228.4 kB / 489.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.1433, allocations: 0.7041 MB / 489.9 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.449e-05/0.1434, allocations: 19.42 kB / 489.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1434, allocations: 0 / 489.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of Templates: time 0.004965/0.1484, allocations: 2.403 MB / 492.3 MB, free: 9.43 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches