Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001064/0.001064, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001134/0.001134, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.4 MB / 246.3 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2508/0.2508, allocations: 46.11 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 72.86 kB / 416.9 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1327, allocations: 62.45 MB / 479.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003309/0.136, allocations: 1.777 MB / 481.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.1377, allocations: 1.017 MB / 482.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.866e-05/0.1378, allocations: 0 / 482.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003351/0.1382, allocations: 43.83 kB / 482.1 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002733/0.1385, allocations: 79.67 kB / 482.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.1387, allocations: 67.81 kB / 482.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.1389, allocations: 95.75 kB / 482.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.745e-05/0.139, allocations: 8 kB / 482.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.942e-05/0.1391, allocations: 39.8 kB / 482.4 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.423e-05/0.1392, allocations: 43.7 kB / 482.5 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.1392, allocations: 4 kB / 482.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1393, allocations: 39.98 kB / 482.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.916e-05/0.1394, allocations: 15.92 kB / 482.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001762/0.1396, allocations: 35.73 kB / 482.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.1398, allocations: 111.9 kB / 482.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.1398, allocations: 0 / 482.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1398, allocations: 0 / 482.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.1398, allocations: 4 kB / 482.7 MB, free: 2.336 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007218/0.1405, allocations: 422.8 kB / 483.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.1406, allocations: 8.875 kB / 483.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.046e-05/0.1406, allocations: 12.83 kB / 483.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.1409, allocations: 204.8 kB / 483.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-06/0.1409, allocations: 4.375 kB / 483.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.1409, allocations: 8.109 kB / 483.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.1411, allocations: 53.67 kB / 483.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1411, allocations: 8 kB / 483.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1412, allocations: 0 / 483.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1412, allocations: 3.938 kB / 483.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.789e-05/0.1413, allocations: 27.92 kB / 483.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004/0.1417, allocations: 288.8 kB / 483.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.1419, allocations: 54.69 kB / 483.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.93e-05/0.1419, allocations: 24.84 kB / 483.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.1419, allocations: 0 / 483.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002281/0.1422, allocations: 67.33 kB / 483.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.704e-06/0.1422, allocations: 0 / 483.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006035/0.1428, allocations: 181.2 kB / 484 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.1429, allocations: 55.41 kB / 484.1 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.1431, allocations: 194.9 kB / 484.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.1431, allocations: 25.7 kB / 484.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.514e-05/0.1432, allocations: 104.1 kB / 484.4 MB, free: 432 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.1432, allocations: 23.7 kB / 484.4 MB, free: 408 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.385e-05/0.1432, allocations: 21.72 kB / 484.4 MB, free: 380 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.1434, allocations: 330.8 kB / 484.8 MB, free: 40 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.978e-05/0.1435, allocations: 19.98 kB / 484.8 MB, free: 20 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.252e-05/0.1436, allocations: 37.7 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.1437, allocations: 65.64 kB / 484.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1437, allocations: 0 / 484.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001971/0.1439, allocations: 101.6 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1439, allocations: 6.656 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.144, allocations: 4.078 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.144, allocations: 7.922 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.935e-05/0.1441, allocations: 23.95 kB / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.1441, allocations: 3.984 kB / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.021e-05/0.1442, allocations: 7.938 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.1442, allocations: 4 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001289/0.1443, allocations: 125.8 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.1443, allocations: 7.906 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.251e-05/0.1444, allocations: 17.41 kB / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1444, allocations: 0 / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1444, allocations: 4 kB / 485.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.1444, allocations: 3.938 kB / 485.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004652/0.1449, allocations: 399.2 kB / 485.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1449, allocations: 0 / 485.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.373e-05/0.145, allocations: 12.12 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.145, allocations: 0 / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.145, allocations: 11.88 kB / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.145, allocations: 0 / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.145, allocations: 0 / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.1452, allocations: 204.3 kB / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.837e-05/0.1453, allocations: 88.92 kB / 485.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.1453, allocations: 3.938 kB / 485.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.021e-05/0.1454, allocations: 8 kB / 485.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.1455, allocations: 7.984 kB / 485.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.1455, allocations: 8.375 kB / 485.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000142/0.1456, allocations: 152.7 kB / 486.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1456, allocations: 0 / 486.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002582/0.1459, allocations: 20 kB / 486.1 MB, free: 14.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001122/0.147, allocations: 465.7 kB / 486.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002099/0.1473, allocations: 59.95 kB / 486.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1473, allocations: 0 / 486.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.894e-05/0.1473, allocations: 31.92 kB / 486.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.1477, allocations: 24.92 kB / 486.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005476/0.1483, allocations: 248.9 kB / 486.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.1486, allocations: 0.7083 MB / 487.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.515e-05/0.1487, allocations: 21.17 kB / 487.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.82e-05/0.1488, allocations: 23.31 kB / 487.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1488, allocations: 0 / 487.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of Templates: time 0.005061/0.1538, allocations: 1.651 MB / 489.3 MB, free: 11.48 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches