Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,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.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001547/0.001547, allocations: 114.1 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002154/0.002154, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2158/0.2158, allocations: 46.11 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 78.88 kB / 417.1 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1303, allocations: 62.43 MB / 479.5 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003638/0.134, allocations: 1.984 MB / 481.5 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.1358, allocations: 1.117 MB / 482.6 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.63e-05/0.1359, allocations: 3.938 kB / 482.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000467/0.1364, allocations: 211.6 kB / 482.8 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004339/0.1369, allocations: 199.4 kB / 483 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.1371, allocations: 103.8 kB / 483.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002832/0.1374, allocations: 247.3 kB / 483.3 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.1376, allocations: 29.66 kB / 483.4 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.1377, allocations: 127.5 kB / 483.5 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.1379, allocations: 159.5 kB / 483.6 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.138, allocations: 8 kB / 483.7 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.1381, allocations: 71.89 kB / 483.7 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.362e-05/0.1382, allocations: 55.78 kB / 483.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.1383, allocations: 95.34 kB / 483.9 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.1386, allocations: 235.4 kB / 484.1 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.1386, allocations: 0 / 484.1 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1386, allocations: 0 / 484.1 MB, free: 1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.1386, allocations: 0 / 484.1 MB, free: 1 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.0007574/0.1394, allocations: 0.5681 MB / 484.7 MB, free: 392 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.1394, allocations: 12.03 kB / 484.7 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.759e-05/0.1395, allocations: 28.56 kB / 484.7 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.1398, allocations: 280 kB / 485 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.1398, allocations: 12.31 kB / 485 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.1399, allocations: 12.12 kB / 485 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.1402, allocations: 115.3 kB / 485.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.1402, allocations: 8 kB / 485.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.1402, allocations: 4 kB / 485.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.1402, allocations: 4 kB / 485.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.1404, allocations: 43.91 kB / 485.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005905/0.141, allocations: 468.8 kB / 485.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003804/0.1413, allocations: 133.2 kB / 485.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.1415, allocations: 41.81 kB / 485.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.1415, allocations: 8.141 kB / 485.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003037/0.1418, allocations: 121 kB / 485.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.1418, allocations: 0 / 485.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001311/0.1431, allocations: 0.5005 MB / 486.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.1432, allocations: 81.11 kB / 486.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004379/0.1436, allocations: 448.5 kB / 486.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.1437, allocations: 37.64 kB / 487 MB, free: 13.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.1438, allocations: 160.5 kB / 487.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.231e-05/0.1439, allocations: 67.02 kB / 487.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.345e-05/0.1439, allocations: 41.7 kB / 487.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.1441, allocations: 346.8 kB / 487.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.1442, allocations: 55.97 kB / 487.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.1443, allocations: 95.34 kB / 487.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.1446, allocations: 159.3 kB / 487.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1446, allocations: 0 / 487.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000392/0.145, allocations: 237.5 kB / 488.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1451, allocations: 10.44 kB / 488.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.1451, allocations: 4 kB / 488.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1451, allocations: 0 / 488.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.1453, allocations: 51.91 kB / 488.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1453, allocations: 0 / 488.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.414e-05/0.1454, allocations: 8 kB / 488.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.1454, allocations: 12 kB / 488.2 MB, free: 12.6 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.000153/0.1455, allocations: 170.3 kB / 488.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-05/0.1456, allocations: 43.47 kB / 488.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.634e-05/0.1457, allocations: 42.8 kB / 488.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.1457, allocations: 0 / 488.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.1457, allocations: 4 kB / 488.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1457, allocations: 0 / 488.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000885/0.1466, allocations: 0.7389 MB / 489.2 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1466, allocations: 0 / 489.2 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.944e-05/0.1467, allocations: 27.98 kB / 489.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.1467, allocations: 4 kB / 489.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.1468, allocations: 8 kB / 489.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1468, allocations: 4 kB / 489.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1468, allocations: 3.938 kB / 489.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000464/0.1472, allocations: 433.3 kB / 489.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.28e-05/0.1473, allocations: 100.7 kB / 489.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.61e-05/0.1474, allocations: 11.98 kB / 489.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.1475, allocations: 8 kB / 489.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.1476, allocations: 23.86 kB / 489.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/0.1476, allocations: 15.98 kB / 489.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003075/0.1479, allocations: 335 kB / 490.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1479, allocations: 0 / 490.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000358/0.1483, allocations: 44 kB / 490.2 MB, free: 10.49 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.001184/0.1495, allocations: 0.5078 MB / 490.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003675/0.1499, allocations: 167.8 kB / 490.9 MB, free: 10 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.1499, allocations: 0 / 490.9 MB, free: 10 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.15, allocations: 83.91 kB / 490.9 MB, free: 9.918 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005635/0.1506, allocations: 65.06 kB / 491 MB, free: 9.859 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008643/0.1515, allocations: 0.6336 MB / 491.6 MB, free: 9.184 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.1519, allocations: 0.7792 MB / 492.4 MB, free: 8.375 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001235/0.152, allocations: 45.91 kB / 492.5 MB, free: 8.324 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.914e-05/0.1521, allocations: 27.42 kB / 492.5 MB, free: 8.297 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1521, allocations: 0 / 492.5 MB, free: 8.297 MB / 366.1 MB Notification: Performance of Templates: time 0.006928/0.159, allocations: 3.108 MB / 495.6 MB, free: 5.223 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches