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.001173/0.001173, 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.001226/0.001226, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2277/0.2277, allocations: 46.1 MB / 344.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 74.64 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1211, allocations: 62.45 MB / 480.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003789/0.125, allocations: 1.917 MB / 482.6 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002296/0.1273, allocations: 1.126 MB / 483.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.1274, allocations: 0 / 483.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000664/0.1281, allocations: 255.3 kB / 484 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005167/0.1287, allocations: 239.1 kB / 484.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.1289, allocations: 115.6 kB / 484.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003075/0.1293, allocations: 271.3 kB / 484.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.1294, allocations: 29.66 kB / 484.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.1296, allocations: 127.6 kB / 484.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.1298, allocations: 191.4 kB / 485 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/0.1298, allocations: 8 kB / 485 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.13, allocations: 71.97 kB / 485 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.235e-05/0.1301, allocations: 59.77 kB / 485.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.825e-05/0.1302, allocations: 99.17 kB / 485.2 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003115/0.1305, allocations: 251.4 kB / 485.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1305, allocations: 0 / 485.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1305, allocations: 0 / 485.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1305, allocations: 0 / 485.4 MB, free: 0.5352 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.0007692/0.1313, allocations: 0.5835 MB / 486 MB, free: 15.9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.1313, allocations: 8.031 kB / 486 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/0.1314, allocations: 36.56 kB / 486.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.1318, allocations: 290.4 kB / 486.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.1318, allocations: 8.375 kB / 486.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.1318, allocations: 8.125 kB / 486.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.1321, allocations: 107.3 kB / 486.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.1321, allocations: 3.906 kB / 486.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.1321, allocations: 8 kB / 486.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1321, allocations: 3.938 kB / 486.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.1323, allocations: 47.95 kB / 486.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005696/0.1328, allocations: 488.6 kB / 487 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004434/0.1333, allocations: 121.2 kB / 487.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.1334, allocations: 41.83 kB / 487.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.1334, allocations: 3.938 kB / 487.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002866/0.1337, allocations: 125.2 kB / 487.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.1337, allocations: 3.938 kB / 487.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.00133/0.1351, allocations: 0.5043 MB / 487.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.1351, allocations: 85.05 kB / 487.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005022/0.1357, allocations: 0.4899 MB / 488.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.1357, allocations: 33.7 kB / 488.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.1358, allocations: 172.5 kB / 488.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.271e-05/0.1359, allocations: 67.02 kB / 488.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.563e-05/0.136, allocations: 41.7 kB / 488.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1362, allocations: 350.8 kB / 489 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.1363, allocations: 55.97 kB / 489.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.1364, allocations: 87.41 kB / 489.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/0.1367, allocations: 171.4 kB / 489.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1367, allocations: 0 / 489.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000399/0.1371, allocations: 229.2 kB / 489.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.1372, allocations: 7.938 kB / 489.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1372, allocations: 3.938 kB / 489.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1372, allocations: 8.062 kB / 489.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.1373, allocations: 39.97 kB / 489.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.1374, allocations: 4 kB / 489.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.902e-05/0.1375, allocations: 11.91 kB / 489.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.1375, allocations: 11.98 kB / 489.6 MB, free: 12.04 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.0001725/0.1377, allocations: 173.7 kB / 489.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.978e-05/0.1377, allocations: 35.56 kB / 489.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.96e-05/0.1378, allocations: 42.89 kB / 489.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.1378, allocations: 8 kB / 489.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1378, allocations: 0 / 489.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1378, allocations: 0 / 489.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009255/0.1388, allocations: 0.7468 MB / 490.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.1388, allocations: 4 kB / 490.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.26e-05/0.1389, allocations: 31.92 kB / 490.7 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1389, allocations: 192 / 490.7 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.1389, allocations: 8 kB / 490.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1389, allocations: 7.938 kB / 490.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1389, allocations: 0 / 490.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004602/0.1394, allocations: 432.6 kB / 491.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.376e-05/0.1395, allocations: 104.7 kB / 491.2 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.201e-05/0.1395, allocations: 8 kB / 491.2 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.1396, allocations: 11.98 kB / 491.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/0.1397, allocations: 23.92 kB / 491.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/0.1397, allocations: 15.98 kB / 491.3 MB, free: 10.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003334/0.1401, allocations: 379.1 kB / 491.6 MB, free: 9.906 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1401, allocations: 0 / 491.6 MB, free: 9.906 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003597/0.1405, allocations: 48 kB / 491.7 MB, free: 9.859 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.001288/0.1418, allocations: 0.4927 MB / 492.2 MB, free: 9.547 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003841/0.1422, allocations: 171.8 kB / 492.4 MB, free: 9.379 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.1422, allocations: 0 / 492.4 MB, free: 9.379 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.1423, allocations: 87.72 kB / 492.4 MB, free: 9.293 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005465/0.1429, allocations: 65 kB / 492.5 MB, free: 9.234 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.1439, allocations: 0.643 MB / 493.1 MB, free: 8.547 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.1444, allocations: 0.7792 MB / 493.9 MB, free: 7.742 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.368e-05/0.1445, allocations: 35.42 kB / 494 MB, free: 7.707 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1445, allocations: 4 kB / 494 MB, free: 7.703 MB / 366.1 MB Notification: Performance of Templates: time 0.006859/0.1513, allocations: 3.857 MB / 497.8 MB, free: 3.855 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