Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,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.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001583/0.001583, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001669/0.001669, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 247.1 MB, free: 8.961 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2275/0.2275, allocations: 46.12 MB / 344.5 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002272, allocations: 84.48 kB / 417.8 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1238, allocations: 62.46 MB / 480.2 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003713/0.1276, allocations: 1.972 MB / 482.2 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.1296, allocations: 1.114 MB / 483.3 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.1297, allocations: 0 / 483.3 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004317/0.1302, allocations: 155.6 kB / 483.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004135/0.1306, allocations: 167.5 kB / 483.6 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.1309, allocations: 99.77 kB / 483.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003247/0.1312, allocations: 247.3 kB / 484 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.1314, allocations: 21.67 kB / 484 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.1316, allocations: 119.5 kB / 484.1 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.1318, allocations: 135.5 kB / 484.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.1318, allocations: 8 kB / 484.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.1319, allocations: 67.97 kB / 484.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.479e-05/0.132, allocations: 55.77 kB / 484.4 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.512e-05/0.1321, allocations: 83.36 kB / 484.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.1324, allocations: 172 kB / 484.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1324, allocations: 0 / 484.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1324, allocations: 0 / 484.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.1324, allocations: 0 / 484.6 MB, free: 1.113 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.0008113/0.1332, allocations: 0.5371 MB / 485.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.1333, allocations: 8.031 kB / 485.2 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.302e-05/0.1334, allocations: 24.66 kB / 485.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.1337, allocations: 275.4 kB / 485.5 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.1338, allocations: 12.36 kB / 485.5 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.1338, allocations: 8.125 kB / 485.5 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.134, allocations: 111.3 kB / 485.6 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.1341, allocations: 3.938 kB / 485.6 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.1341, allocations: 8 kB / 485.6 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1341, allocations: 4 kB / 485.6 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.1343, allocations: 43.97 kB / 485.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006064/0.1349, allocations: 468.6 kB / 486.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004029/0.1353, allocations: 129.2 kB / 486.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.1354, allocations: 45.77 kB / 486.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.1355, allocations: 160 / 486.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003177/0.1358, allocations: 128.7 kB / 486.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/0.1358, allocations: 0 / 486.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001425/0.1372, allocations: 496.7 kB / 486.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001574/0.1374, allocations: 81.05 kB / 487 MB, free: 14.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004451/0.1379, allocations: 375.3 kB / 487.3 MB, free: 14.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.1379, allocations: 29.7 kB / 487.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.138, allocations: 152.5 kB / 487.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.42e-05/0.1381, allocations: 63.09 kB / 487.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.396e-05/0.1382, allocations: 45.7 kB / 487.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.1384, allocations: 338.8 kB / 487.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.1385, allocations: 59.97 kB / 488 MB, free: 13.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.1387, allocations: 91.41 kB / 488.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002942/0.139, allocations: 159.3 kB / 488.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.139, allocations: 0 / 488.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004325/0.1394, allocations: 229.4 kB / 488.5 MB, free: 12.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.1395, allocations: 16 kB / 488.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1395, allocations: 4 kB / 488.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1395, allocations: 0 / 488.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.1397, allocations: 43.97 kB / 488.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1397, allocations: 0 / 488.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.591e-05/0.1398, allocations: 11.94 kB / 488.5 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.1398, allocations: 11.94 kB / 488.6 MB, free: 12.89 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.0001876/0.14, allocations: 158.3 kB / 488.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.64e-05/0.1401, allocations: 35.56 kB / 488.7 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.041e-05/0.1401, allocations: 37.83 kB / 488.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.1402, allocations: 4 kB / 488.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1402, allocations: 0 / 488.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.1402, allocations: 3.984 kB / 488.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.1412, allocations: 0.7311 MB / 489.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.1412, allocations: 4 kB / 489.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.595e-05/0.1413, allocations: 27.92 kB / 489.6 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.1413, allocations: 4 kB / 489.6 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.1414, allocations: 8 kB / 489.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.1414, allocations: 4 kB / 489.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.1414, allocations: 0 / 489.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005299/0.1419, allocations: 425.7 kB / 490 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.623e-05/0.142, allocations: 96.83 kB / 490.1 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.437e-05/0.1421, allocations: 11.98 kB / 490.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.1422, allocations: 12 kB / 490.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.1423, allocations: 23.91 kB / 490.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/0.1423, allocations: 12 kB / 490.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003183/0.1426, allocations: 273.9 kB / 490.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1426, allocations: 0 / 490.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003708/0.143, allocations: 51.98 kB / 490.5 MB, free: 10.86 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.001988/0.145, allocations: 0.5079 MB / 491 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000413/0.1454, allocations: 167.7 kB / 491.1 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.1455, allocations: 4 kB / 491.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.1456, allocations: 71.91 kB / 491.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005909/0.1462, allocations: 60.59 kB / 491.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009816/0.1472, allocations: 0.6116 MB / 491.9 MB, free: 9.582 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/0.1477, allocations: 0.7636 MB / 492.6 MB, free: 8.789 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.126e-05/0.1478, allocations: 35.42 kB / 492.7 MB, free: 8.754 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1478, allocations: 3.938 kB / 492.7 MB, free: 8.75 MB / 366.1 MB Notification: Performance of Templates: time 0.006969/0.1548, allocations: 3.592 MB / 496.3 MB, free: 5.172 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches