Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,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.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001743/0.001743, allocations: 117.3 kB / 17.98 MB, free: 5.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00207/0.00207, allocations: 201.8 kB / 18.92 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.541/1.541, allocations: 227.4 MB / 247.1 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2306/0.2306, allocations: 46.12 MB / 344.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 75.28 kB / 417.8 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1312, allocations: 62.46 MB / 480.2 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.004023/0.1353, allocations: 1.975 MB / 482.2 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.1372, allocations: 1.115 MB / 483.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.308e-05/0.1373, allocations: 3.938 kB / 483.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005199/0.1379, allocations: 251.4 kB / 483.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004499/0.1383, allocations: 211.4 kB / 483.8 MB, free: 2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.1386, allocations: 95.84 kB / 483.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003345/0.139, allocations: 275.2 kB / 484.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.1391, allocations: 29.66 kB / 484.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.1393, allocations: 131.5 kB / 484.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.1395, allocations: 199.4 kB / 484.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.1396, allocations: 8 kB / 484.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.1397, allocations: 67.97 kB / 484.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.775e-05/0.1398, allocations: 63.77 kB / 484.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.1399, allocations: 99.22 kB / 484.7 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002578/0.1402, allocations: 195.9 kB / 484.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1402, allocations: 0 / 484.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1402, allocations: 0 / 484.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1402, allocations: 4 kB / 484.9 MB, free: 0.8555 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.0008035/0.1411, allocations: 0.5796 MB / 485.5 MB, free: 232 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.1411, allocations: 8.031 kB / 485.5 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.101e-05/0.1412, allocations: 32.56 kB / 485.5 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.1415, allocations: 290.4 kB / 485.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.1416, allocations: 8.375 kB / 485.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/0.1416, allocations: 8.125 kB / 485.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.1419, allocations: 111.3 kB / 485.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.1419, allocations: 7.906 kB / 486 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.1419, allocations: 0 / 486 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.1419, allocations: 4 kB / 486 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.1421, allocations: 51.89 kB / 486 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006054/0.1427, allocations: 488.7 kB / 486.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003791/0.1431, allocations: 121.2 kB / 486.6 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.1432, allocations: 45.81 kB / 486.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.1432, allocations: 4 kB / 486.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003004/0.1435, allocations: 133.1 kB / 486.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/0.1435, allocations: 0 / 486.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001345/0.1449, allocations: 0.5004 MB / 487.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.145, allocations: 85.11 kB / 487.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005128/0.1455, allocations: 0.4899 MB / 487.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.1455, allocations: 29.7 kB / 487.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.1456, allocations: 168.5 kB / 488 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.377e-05/0.1457, allocations: 71 kB / 488.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.481e-05/0.1458, allocations: 41.7 kB / 488.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.146, allocations: 350.8 kB / 488.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.1461, allocations: 55.98 kB / 488.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.1462, allocations: 91.33 kB / 488.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.1465, allocations: 163.5 kB / 488.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1465, allocations: 0 / 488.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003988/0.1469, allocations: 237.1 kB / 489 MB, free: 12.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.147, allocations: 11.94 kB / 489 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.147, allocations: 0 / 489 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.147, allocations: 4 kB / 489.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.1472, allocations: 39.92 kB / 489.1 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.1472, allocations: 4 kB / 489.1 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.273e-05/0.1473, allocations: 15.89 kB / 489.1 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.1473, allocations: 8 kB / 489.1 MB, free: 12.36 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.0001898/0.1475, allocations: 186.3 kB / 489.3 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.104e-05/0.1475, allocations: 35.56 kB / 489.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.26e-05/0.1476, allocations: 42.89 kB / 489.4 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.1476, allocations: 4 kB / 489.4 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.1477, allocations: 3.984 kB / 489.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1477, allocations: 0 / 489.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000933/0.1486, allocations: 0.7467 MB / 490.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1486, allocations: 4 kB / 490.1 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.478e-05/0.1487, allocations: 28.17 kB / 490.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1487, allocations: 0 / 490.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.1487, allocations: 11.94 kB / 490.2 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.1487, allocations: 4 kB / 490.2 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.1488, allocations: 12.05 kB / 490.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000497/0.1493, allocations: 417.6 kB / 490.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.757e-05/0.1494, allocations: 112.7 kB / 490.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.321e-05/0.1494, allocations: 8 kB / 490.7 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.1495, allocations: 8 kB / 490.7 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/0.1496, allocations: 27.84 kB / 490.8 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.1496, allocations: 12 kB / 490.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000379/0.15, allocations: 371.1 kB / 491.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.15, allocations: 4 kB / 491.1 MB, free: 10.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003463/0.1504, allocations: 47.98 kB / 491.2 MB, free: 10.18 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.001911/0.1523, allocations: 0.4999 MB / 491.7 MB, free: 9.855 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003785/0.1527, allocations: 167.7 kB / 491.8 MB, free: 9.691 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.1527, allocations: 7.938 kB / 491.8 MB, free: 9.684 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.1529, allocations: 79.84 kB / 491.9 MB, free: 9.605 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005551/0.1534, allocations: 72.75 kB / 492 MB, free: 9.543 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.1545, allocations: 0.7091 MB / 492.7 MB, free: 8.789 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.1549, allocations: 0.7831 MB / 493.5 MB, free: 7.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.356e-05/0.155, allocations: 35.42 kB / 493.5 MB, free: 7.945 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.155, allocations: 0 / 493.5 MB, free: 7.945 MB / 366.1 MB Notification: Performance of Templates: time 0.006741/0.1618, allocations: 3.862 MB / 497.4 MB, free: 4.094 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches