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.00112/0.00112, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001097/0.001097, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2194/0.2194, allocations: 46.1 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 80.2 kB / 419 MB, free: 18.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1259, allocations: 62.45 MB / 481.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003391/0.1293, allocations: 1.918 MB / 483.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.1311, allocations: 1.129 MB / 484.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.039e-05/0.1312, allocations: 7.938 kB / 484.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004509/0.1317, allocations: 251.4 kB / 484.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004406/0.1321, allocations: 235.2 kB / 485 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.1324, allocations: 119.5 kB / 485.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003367/0.1327, allocations: 267.3 kB / 485.4 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.1329, allocations: 29.64 kB / 485.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.1331, allocations: 135.5 kB / 485.5 MB, free: 412 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.1333, allocations: 187.4 kB / 485.7 MB, free: 224 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.1333, allocations: 8 kB / 485.7 MB, free: 216 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.1335, allocations: 63.98 kB / 485.8 MB, free: 152 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.898e-05/0.1336, allocations: 59.77 kB / 485.8 MB, free: 92 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.1337, allocations: 107.2 kB / 486 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.134, allocations: 255 kB / 486.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.134, allocations: 4 kB / 486.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.134, allocations: 0 / 486.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.134, allocations: 0 / 486.2 MB, free: 15.73 MB / 366.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.0007801/0.1348, allocations: 0.5757 MB / 486.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.1348, allocations: 16.02 kB / 486.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.502e-05/0.1349, allocations: 28.56 kB / 486.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.1353, allocations: 294.4 kB / 487.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.1353, allocations: 4.375 kB / 487.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.1354, allocations: 16.12 kB / 487.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.1356, allocations: 111.3 kB / 487.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.1356, allocations: 3.906 kB / 487.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.1356, allocations: 4 kB / 487.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.1357, allocations: 4 kB / 487.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.1358, allocations: 39.97 kB / 487.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005557/0.1364, allocations: 492.6 kB / 487.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003735/0.1367, allocations: 125.2 kB / 487.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.832e-05/0.1369, allocations: 41.83 kB / 487.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.1369, allocations: 8 kB / 487.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.1371, allocations: 113.1 kB / 488.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 2.776e-06/0.1371, allocations: 0 / 488.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001209/0.1383, allocations: 0.5123 MB / 488.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.1384, allocations: 81.11 kB / 488.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004695/0.1389, allocations: 0.4899 MB / 489.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.1389, allocations: 29.7 kB / 489.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.139, allocations: 168.5 kB / 489.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.024e-05/0.1391, allocations: 71.02 kB / 489.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.096e-05/0.1392, allocations: 41.7 kB / 489.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1393, allocations: 354.8 kB / 489.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.1394, allocations: 55.97 kB / 489.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.1396, allocations: 95.34 kB / 489.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.1398, allocations: 155.6 kB / 490.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1399, allocations: 8 kB / 490.1 MB, free: 11.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000368/0.1402, allocations: 237 kB / 490.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.1403, allocations: 11.94 kB / 490.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1403, allocations: 80 / 490.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1403, allocations: 0 / 490.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.1404, allocations: 47.91 kB / 490.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.1404, allocations: 7.984 kB / 490.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.859e-05/0.1405, allocations: 11.91 kB / 490.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.1406, allocations: 8.062 kB / 490.4 MB, free: 11.24 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.0001697/0.1407, allocations: 173.8 kB / 490.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.428e-05/0.1408, allocations: 39.5 kB / 490.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.414e-05/0.1409, allocations: 42.89 kB / 490.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.1409, allocations: 0 / 490.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1409, allocations: 4 kB / 490.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.1409, allocations: 3.984 kB / 490.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008511/0.1417, allocations: 0.735 MB / 491.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1418, allocations: 0 / 491.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.876e-05/0.1418, allocations: 31.92 kB / 491.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.443e-06/0.1419, allocations: 4 kB / 491.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.1419, allocations: 11.94 kB / 491.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1419, allocations: 4 kB / 491.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1419, allocations: 128 / 491.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004496/0.1424, allocations: 436.5 kB / 491.9 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.85e-05/0.1424, allocations: 100.7 kB / 492 MB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.914e-05/0.1425, allocations: 12 kB / 492 MB, free: 9.527 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.1426, allocations: 11.98 kB / 492 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.1427, allocations: 19.92 kB / 492 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.1427, allocations: 16.17 kB / 492 MB, free: 9.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003333/0.143, allocations: 371.1 kB / 492.4 MB, free: 9.117 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1431, allocations: 3.938 kB / 492.4 MB, free: 9.113 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003367/0.1434, allocations: 44 kB / 492.4 MB, free: 9.07 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.001111/0.1445, allocations: 0.5178 MB / 493 MB, free: 8.734 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003342/0.1449, allocations: 151.8 kB / 493.1 MB, free: 8.586 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1449, allocations: 0 / 493.1 MB, free: 8.586 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.145, allocations: 83.84 kB / 493.2 MB, free: 8.504 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000509/0.1456, allocations: 62.64 kB / 493.3 MB, free: 8.445 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008826/0.1464, allocations: 0.6018 MB / 493.9 MB, free: 7.805 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.1468, allocations: 0.787 MB / 494.6 MB, free: 6.992 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001066/0.1469, allocations: 45.89 kB / 494.7 MB, free: 6.949 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.831e-05/0.147, allocations: 31.44 kB / 494.7 MB, free: 6.918 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.147, allocations: 0 / 494.7 MB, free: 6.918 MB / 366.1 MB Notification: Performance of Templates: time 0.03803/0.1851, allocations: 3.168 MB / 497.9 MB, free: 3.781 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 -s cvode -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