Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001102/0.001102, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001248/0.001248, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2346/0.2346, allocations: 46.11 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 77.59 kB / 417.6 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1324, allocations: 62.45 MB / 480 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003469/0.1359, allocations: 1.917 MB / 481.9 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.1378, allocations: 1.134 MB / 483.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.549e-05/0.1379, allocations: 0 / 483.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004561/0.1384, allocations: 219.4 kB / 483.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004231/0.1388, allocations: 215.2 kB / 483.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.139, allocations: 123.5 kB / 483.6 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002955/0.1393, allocations: 247.3 kB / 483.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.1395, allocations: 29.69 kB / 483.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.1396, allocations: 123.6 kB / 484 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.1398, allocations: 155.4 kB / 484.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.1399, allocations: 8 kB / 484.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.14, allocations: 59.98 kB / 484.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.591e-05/0.1401, allocations: 63.75 kB / 484.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002111/0.1403, allocations: 99.22 kB / 484.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.1406, allocations: 239.5 kB / 484.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1406, allocations: 0 / 484.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1406, allocations: 7.938 kB / 484.6 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.024e-05/0.1406, allocations: 0 / 484.6 MB, free: 0.6289 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006783/0.1413, allocations: 0.5564 MB / 485.2 MB, free: 24 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1414, allocations: 12.03 kB / 485.2 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.415e-05/0.1414, allocations: 36.53 kB / 485.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.1417, allocations: 280 kB / 485.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.1418, allocations: 4.359 kB / 485.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.1418, allocations: 16.12 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.1421, allocations: 115.3 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1421, allocations: 3.938 kB / 485.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.1421, allocations: 0 / 485.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.1421, allocations: 4 kB / 485.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.1422, allocations: 43.97 kB / 485.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005597/0.1428, allocations: 480.7 kB / 486.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003823/0.1432, allocations: 117.2 kB / 486.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.1433, allocations: 49.75 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.1433, allocations: 4 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002839/0.1436, allocations: 117.1 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.1436, allocations: 0 / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001455/0.1451, allocations: 0.5077 MB / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.1452, allocations: 81.11 kB / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000434/0.1456, allocations: 444.5 kB / 487.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.1456, allocations: 33.7 kB / 487.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.1458, allocations: 156.5 kB / 487.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.449e-05/0.1458, allocations: 71 kB / 487.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.125e-05/0.1459, allocations: 41.7 kB / 487.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1461, allocations: 350.8 kB / 488.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.1462, allocations: 55.98 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.1463, allocations: 95.39 kB / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002541/0.1466, allocations: 155.3 kB / 488.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1466, allocations: 0 / 488.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003802/0.147, allocations: 245.2 kB / 488.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.147, allocations: 7.938 kB / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.147, allocations: 4 kB / 488.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1471, allocations: 0 / 488.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.1472, allocations: 39.98 kB / 488.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1472, allocations: 0 / 488.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.157e-05/0.1473, allocations: 15.92 kB / 488.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.1473, allocations: 8 kB / 488.7 MB, free: 12.25 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001632/0.1475, allocations: 169.9 kB / 488.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.51e-05/0.1476, allocations: 39.47 kB / 488.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.171e-05/0.1476, allocations: 39.75 kB / 489 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1477, allocations: 7.938 kB / 489 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1477, allocations: 0 / 489 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.1477, allocations: 3.984 kB / 489 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009/0.1486, allocations: 0.735 MB / 489.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.1486, allocations: 4 kB / 489.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.873e-05/0.1487, allocations: 27.92 kB / 489.7 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1487, allocations: 4 kB / 489.7 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.1487, allocations: 11.98 kB / 489.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1487, allocations: 4.125 kB / 489.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1487, allocations: 4 kB / 489.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005056/0.1493, allocations: 421.6 kB / 490.2 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.447e-05/0.1493, allocations: 104.7 kB / 490.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/0.1494, allocations: 8 kB / 490.3 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.1495, allocations: 11.98 kB / 490.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/0.1496, allocations: 19.92 kB / 490.3 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.1496, allocations: 11.94 kB / 490.3 MB, free: 10.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003919/0.15, allocations: 331 kB / 490.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.15, allocations: 0 / 490.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000343/0.1504, allocations: 51.98 kB / 490.7 MB, free: 10.14 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001188/0.1516, allocations: 0.5147 MB / 491.2 MB, free: 9.812 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003547/0.1519, allocations: 171.7 kB / 491.4 MB, free: 9.645 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1519, allocations: 3.938 kB / 491.4 MB, free: 9.641 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.1521, allocations: 75.92 kB / 491.5 MB, free: 9.566 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005415/0.1527, allocations: 64.55 kB / 491.5 MB, free: 9.508 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008159/0.1535, allocations: 0.5629 MB / 492.1 MB, free: 8.902 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.1539, allocations: 0.7714 MB / 492.9 MB, free: 8.105 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001246/0.154, allocations: 45.86 kB / 492.9 MB, free: 8.055 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.246e-05/0.1541, allocations: 27.42 kB / 492.9 MB, free: 8.027 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1541, allocations: 0 / 492.9 MB, free: 8.027 MB / 366.1 MB Notification: Performance of Templates: time 0.006684/0.1608, allocations: 3.154 MB / 496.1 MB, free: 4.902 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches