Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007277/0.0007278, allocations: 98.19 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008619/0.0008619, allocations: 203.8 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.7 MB / 247.5 MB, free: 9.488 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2129/0.2129, allocations: 46.18 MB / 345.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003043/0.0003043, allocations: 8 kB / 420.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1253, allocations: 63.55 MB / 483.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002263/0.1276, allocations: 1.45 MB / 485.2 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002395/0.13, allocations: 1.585 MB / 486.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.571e-05/0.1302, allocations: 0 / 486.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002908/0.1305, allocations: 35.83 kB / 486.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003065/0.1308, allocations: 79.73 kB / 486.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.131, allocations: 63.88 kB / 486.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.1312, allocations: 111.6 kB / 487 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.684e-05/0.1313, allocations: 8 kB / 487.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.1314, allocations: 51.77 kB / 487.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.1316, allocations: 43.77 kB / 487.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.1316, allocations: 4 kB / 487.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.1318, allocations: 95.89 kB / 487.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.131e-05/0.1319, allocations: 23.91 kB / 487.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.439e-05/0.132, allocations: 61.44 kB / 487.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002352/0.1322, allocations: 139.9 kB / 487.5 MB, free: 380 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1322, allocations: 0 / 487.5 MB, free: 380 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1322, allocations: 4 kB / 487.5 MB, free: 376 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.1322, allocations: 0 / 487.5 MB, free: 376 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005596/0.1328, allocations: 419.1 kB / 487.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.1328, allocations: 8.875 kB / 487.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.1329, allocations: 12.84 kB / 487.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.1332, allocations: 208.1 kB / 488.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1332, allocations: 384 / 488.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.1332, allocations: 8.125 kB / 488.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.1334, allocations: 83.31 kB / 488.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.1334, allocations: 4 kB / 488.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1334, allocations: 0 / 488.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1334, allocations: 0 / 488.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.349e-05/0.1335, allocations: 35.97 kB / 488.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004051/0.1339, allocations: 304.6 kB / 488.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.1342, allocations: 74.61 kB / 488.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.27e-05/0.1342, allocations: 24.84 kB / 488.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.1343, allocations: 4 kB / 488.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001807/0.1344, allocations: 71.45 kB / 488.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.1345, allocations: 0 / 488.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005967/0.1351, allocations: 197.2 kB / 488.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.1351, allocations: 77.11 kB / 489 MB, free: 14.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.1353, allocations: 174.2 kB / 489.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.1353, allocations: 29.7 kB / 489.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.485e-05/0.1354, allocations: 104.1 kB / 489.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.1354, allocations: 27.64 kB / 489.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/0.1355, allocations: 9.719 kB / 489.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1356, allocations: 338.7 kB / 489.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.543e-05/0.1357, allocations: 23.98 kB / 489.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.331e-05/0.1358, allocations: 46.56 kB / 489.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.1359, allocations: 69.73 kB / 489.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1359, allocations: 0 / 489.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000216/0.1361, allocations: 121.4 kB / 489.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1362, allocations: 8.062 kB / 489.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1362, allocations: 0 / 489.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1362, allocations: 0 / 489.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.727e-05/0.1363, allocations: 19.98 kB / 489.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1363, allocations: 0 / 489.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.585e-05/0.1364, allocations: 11.94 kB / 489.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.1364, allocations: 4 kB / 489.9 MB, free: 13.65 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 (11): * Single equations (assignments): 11 * 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.0001052/0.1365, allocations: 128.6 kB / 490.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.1365, allocations: 7.906 kB / 490.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.686e-05/0.1366, allocations: 16.72 kB / 490.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.1366, allocations: 7.938 kB / 490.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1366, allocations: 0 / 490.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1366, allocations: 3.938 kB / 490.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004762/0.1371, allocations: 415.3 kB / 490.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1371, allocations: 0 / 490.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.121e-05/0.1371, allocations: 11.98 kB / 490.5 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1372, allocations: 0 / 490.5 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.1372, allocations: 11.97 kB / 490.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1372, allocations: 0 / 490.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1372, allocations: 0 / 490.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.1374, allocations: 216.1 kB / 490.7 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.1e-05/0.1375, allocations: 89.02 kB / 490.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.116e-05/0.1376, allocations: 11.92 kB / 490.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.392e-05/0.1376, allocations: 8 kB / 490.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.1377, allocations: 8.125 kB / 490.8 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.1377, allocations: 7.984 kB / 490.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001092/0.1378, allocations: 131.2 kB / 491 MB, free: 12.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1378, allocations: 0 / 491 MB, free: 12.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003206/0.1382, allocations: 51.98 kB / 491 MB, free: 12.44 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 (9): * Single equations (assignments): 7 * 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.001249/0.1394, allocations: 0.5429 MB / 491.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.1396, allocations: 71.91 kB / 491.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1396, allocations: 0 / 491.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.595e-05/0.1397, allocations: 31.94 kB / 491.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.1401, allocations: 27.97 kB / 491.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004537/0.1405, allocations: 268.2 kB / 492 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.1408, allocations: 0.7083 MB / 492.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.804e-05/0.1409, allocations: 31.36 kB / 492.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1409, allocations: 0 / 492.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of Templates: time 0.004567/0.1455, allocations: 2.506 MB / 495.2 MB, free: 8.387 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches