Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001311/0.001311, 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.001379/0.001379, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 247.5 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2308/0.2308, allocations: 46.12 MB / 344.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002248, allocations: 84.33 kB / 418.3 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1294, allocations: 62.46 MB / 480.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003452/0.1329, allocations: 1.724 MB / 482.5 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.1348, allocations: 1.025 MB / 483.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.294e-05/0.1349, allocations: 0 / 483.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003102/0.1352, allocations: 43.77 kB / 483.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003387/0.1356, allocations: 95.53 kB / 483.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.1358, allocations: 83.66 kB / 483.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00019/0.136, allocations: 99.7 kB / 483.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.1362, allocations: 12 kB / 483.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.459e-05/0.1363, allocations: 55.77 kB / 483.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.072e-05/0.1363, allocations: 27.8 kB / 483.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.1364, allocations: 4 kB / 483.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.1365, allocations: 43.97 kB / 484 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.263e-05/0.1366, allocations: 23.86 kB / 484 MB, free: 2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.1366, allocations: 35.75 kB / 484 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.1369, allocations: 119.9 kB / 484.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1369, allocations: 0 / 484.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1369, allocations: 0 / 484.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1369, allocations: 0 / 484.2 MB, free: 1.848 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.0006443/0.1376, allocations: 422.9 kB / 484.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.1376, allocations: 12.02 kB / 484.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.1377, allocations: 8.844 kB / 484.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.1379, allocations: 220 kB / 484.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.138, allocations: 8.297 kB / 484.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.138, allocations: 4.125 kB / 484.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.1382, allocations: 57.67 kB / 484.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1382, allocations: 0 / 484.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1382, allocations: 0 / 484.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1382, allocations: 4 kB / 484.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.775e-05/0.1383, allocations: 23.98 kB / 484.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004161/0.1387, allocations: 284.9 kB / 485.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.1389, allocations: 58.61 kB / 485.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.429e-05/0.139, allocations: 16.86 kB / 485.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.139, allocations: 15.94 kB / 485.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002515/0.1392, allocations: 63.38 kB / 485.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.1393, allocations: 0 / 485.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000596/0.1399, allocations: 181 kB / 485.5 MB, free: 332 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.1399, allocations: 55.41 kB / 485.6 MB, free: 264 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.1402, allocations: 202.3 kB / 485.8 MB, free: 52 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.1402, allocations: 33.7 kB / 485.8 MB, free: 12 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.517e-05/0.1403, allocations: 104.1 kB / 485.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.5e-05/0.1403, allocations: 23.66 kB / 485.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/0.1404, allocations: 25.7 kB / 485.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1406, allocations: 330.8 kB / 486.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.643e-05/0.1406, allocations: 15.94 kB / 486.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.141e-05/0.1407, allocations: 37.7 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.1408, allocations: 61.7 kB / 486.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1409, allocations: 0 / 486.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002185/0.1411, allocations: 105.4 kB / 486.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1411, allocations: 7.984 kB / 486.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1411, allocations: 0 / 486.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.1411, allocations: 0 / 486.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.432e-05/0.1412, allocations: 16 kB / 486.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1413, allocations: 0 / 486.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.812e-05/0.1413, allocations: 11.97 kB / 486.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.1413, allocations: 3.984 kB / 486.5 MB, free: 15.25 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.0001223/0.1415, allocations: 140.4 kB / 486.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.1415, allocations: 7.906 kB / 486.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.461e-05/0.1415, allocations: 21.39 kB / 486.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1416, allocations: 0 / 486.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1416, allocations: 0 / 486.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1416, allocations: 3.938 kB / 486.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004801/0.1421, allocations: 403.2 kB / 487.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1421, allocations: 384 / 487.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.397e-05/0.1421, allocations: 8 kB / 487.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1421, allocations: 4 kB / 487.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.1421, allocations: 11.94 kB / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1421, allocations: 240 / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1422, allocations: 0 / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.1424, allocations: 212.4 kB / 487.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.879e-05/0.1425, allocations: 88.91 kB / 487.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.1425, allocations: 15.88 kB / 487.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.784e-05/0.1426, allocations: 0 / 487.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.1427, allocations: 7.984 kB / 487.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.1427, allocations: 4 kB / 487.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001597/0.1428, allocations: 164.8 kB / 487.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.054e-06/0.1429, allocations: 4 kB / 487.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.1431, allocations: 27.94 kB / 487.6 MB, free: 14.04 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.001752/0.1449, allocations: 444.4 kB / 488.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002237/0.1451, allocations: 67.92 kB / 488.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1451, allocations: 0 / 488.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.798e-05/0.1452, allocations: 31.92 kB / 488.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.1456, allocations: 30.48 kB / 488.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005596/0.1462, allocations: 268.8 kB / 488.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.1466, allocations: 0.708 MB / 489.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.215e-05/0.1466, allocations: 19.44 kB / 489.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1466, allocations: 0 / 489.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of Templates: time 0.004356/0.151, allocations: 1.977 MB / 491.1 MB, free: 10.61 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches