Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001758/0.001758, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0023/0.0023, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.888/1.888, allocations: 227.4 MB / 246.9 MB, free: 9.016 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2808/0.2808, allocations: 46.12 MB / 344.3 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 77.06 kB / 417.5 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1262, allocations: 62.45 MB / 480 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003626/0.1299, allocations: 1.777 MB / 481.7 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.1317, allocations: 1.021 MB / 482.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.1318, allocations: 0 / 482.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003283/0.1322, allocations: 39.83 kB / 482.8 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.1325, allocations: 79.73 kB / 482.9 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.1328, allocations: 59.83 kB / 482.9 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.133, allocations: 107.7 kB / 483 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.1331, allocations: 11.98 kB / 483 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.1333, allocations: 35.8 kB / 483.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.263e-05/0.1334, allocations: 39.77 kB / 483.1 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.1334, allocations: 4 kB / 483.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.1335, allocations: 39.94 kB / 483.2 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.477e-05/0.1336, allocations: 23.91 kB / 483.2 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.897e-05/0.1337, allocations: 31.75 kB / 483.2 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.1339, allocations: 96.03 kB / 483.3 MB, free: 2.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1339, allocations: 0 / 483.3 MB, free: 2.297 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1339, allocations: 0 / 483.3 MB, free: 2.297 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.1339, allocations: 4 kB / 483.3 MB, free: 2.293 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.0005887/0.1345, allocations: 411 kB / 483.7 MB, free: 1.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1346, allocations: 12.88 kB / 483.7 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6e-05/0.1346, allocations: 8.844 kB / 483.7 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.1349, allocations: 220.6 kB / 483.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.1349, allocations: 384 / 484 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.1349, allocations: 12.12 kB / 484 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.1351, allocations: 49.67 kB / 484 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1351, allocations: 4 kB / 484 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.1351, allocations: 4 kB / 484 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1351, allocations: 4 kB / 484 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.557e-05/0.1352, allocations: 15.98 kB / 484 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004/0.1356, allocations: 292.7 kB / 484.3 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.1358, allocations: 54.67 kB / 484.4 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.681e-05/0.1359, allocations: 24.86 kB / 484.4 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.136, allocations: 3.984 kB / 484.4 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/0.1362, allocations: 67.33 kB / 484.5 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.1362, allocations: 0 / 484.5 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006086/0.1368, allocations: 173.2 kB / 484.6 MB, free: 0.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.1369, allocations: 59.33 kB / 484.7 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.1371, allocations: 198.9 kB / 484.9 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1371, allocations: 25.7 kB / 484.9 MB, free: 500 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/0.1372, allocations: 100.1 kB / 485 MB, free: 396 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.1372, allocations: 23.7 kB / 485 MB, free: 372 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.761e-05/0.1373, allocations: 25.72 kB / 485.1 MB, free: 340 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1374, allocations: 326.8 kB / 485.4 MB, free: 4 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.195e-05/0.1375, allocations: 20.06 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.547e-05/0.1376, allocations: 41.7 kB / 485.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.1377, allocations: 57.64 kB / 485.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1377, allocations: 0 / 485.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002114/0.1379, allocations: 101.9 kB / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.138, allocations: 4 kB / 485.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.138, allocations: 0 / 485.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.138, allocations: 192 / 485.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.1381, allocations: 31.95 kB / 485.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1381, allocations: 3.938 kB / 485.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.56e-05/0.1382, allocations: 7.938 kB / 485.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.1382, allocations: 0 / 485.6 MB, free: 15.72 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.0001108/0.1383, allocations: 129.8 kB / 485.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.1383, allocations: 11.84 kB / 485.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.9e-05/0.1384, allocations: 17.39 kB / 485.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1384, allocations: 4 kB / 485.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.1384, allocations: 0 / 485.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1384, allocations: 7.938 kB / 485.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004624/0.1389, allocations: 395.2 kB / 486.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1389, allocations: 0 / 486.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.69e-05/0.1389, allocations: 8 kB / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.874e-06/0.139, allocations: 3.984 kB / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.139, allocations: 7.938 kB / 486.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.139, allocations: 4 kB / 486.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.139, allocations: 7.922 kB / 486.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.1392, allocations: 200.3 kB / 486.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.1393, allocations: 88.92 kB / 486.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.925e-05/0.1393, allocations: 7.938 kB / 486.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.909e-05/0.1394, allocations: 7.984 kB / 486.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.1395, allocations: 0 / 486.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.1395, allocations: 4 kB / 486.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001377/0.1396, allocations: 156.7 kB / 486.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1396, allocations: 0 / 486.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002871/0.1399, allocations: 31.98 kB / 486.7 MB, free: 14.54 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.001168/0.1411, allocations: 460.9 kB / 487.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.1413, allocations: 51.98 kB / 487.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1413, allocations: 0 / 487.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.721e-05/0.1414, allocations: 31.92 kB / 487.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.1418, allocations: 31.34 kB / 487.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005423/0.1424, allocations: 274.6 kB / 487.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.1427, allocations: 0.7082 MB / 488.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.491e-05/0.1427, allocations: 15.44 kB / 488.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1427, allocations: 4 kB / 488.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of Templates: time 0.003989/0.1467, allocations: 1.948 MB / 490.2 MB, free: 11.13 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches