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.001158/0.001158, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001322/0.001322, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 247.4 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2188/0.2188, allocations: 46.11 MB / 344.8 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001608, allocations: 84.98 kB / 418.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1221, allocations: 62.44 MB / 480.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003267/0.1254, allocations: 1.723 MB / 482.4 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002319/0.1278, allocations: 1.627 MB / 484.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.796e-05/0.1279, allocations: 4 kB / 484.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002644/0.1281, allocations: 39.77 kB / 484.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003477/0.1285, allocations: 95.53 kB / 484.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.1288, allocations: 79.67 kB / 484.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.129, allocations: 111.7 kB / 484.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1291, allocations: 23.97 kB / 484.4 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.1292, allocations: 39.8 kB / 484.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.1294, allocations: 51.77 kB / 484.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.1294, allocations: 8 kB / 484.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002189/0.1296, allocations: 115.9 kB / 484.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.575e-05/0.1297, allocations: 19.92 kB / 484.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.883e-05/0.1298, allocations: 35.8 kB / 484.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.1301, allocations: 187.6 kB / 484.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1301, allocations: 0 / 484.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1301, allocations: 0 / 484.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1301, allocations: 0 / 484.9 MB, free: 1.102 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006514/0.1308, allocations: 431 kB / 485.3 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.1308, allocations: 12.03 kB / 485.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.082e-05/0.1309, allocations: 12.78 kB / 485.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.1312, allocations: 208.2 kB / 485.5 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.1312, allocations: 4.375 kB / 485.5 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.1312, allocations: 4.125 kB / 485.5 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.1314, allocations: 87.3 kB / 485.6 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1315, allocations: 4 kB / 485.6 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.1315, allocations: 0 / 485.6 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.1315, allocations: 7.984 kB / 485.6 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.977e-05/0.1316, allocations: 31.97 kB / 485.6 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.132, allocations: 300.7 kB / 485.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.1322, allocations: 70.61 kB / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.564e-05/0.1323, allocations: 32.84 kB / 486 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.1324, allocations: 0 / 486 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002355/0.1326, allocations: 67.39 kB / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.1326, allocations: 0 / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006512/0.1333, allocations: 197.3 kB / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.1333, allocations: 77.11 kB / 486.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.1335, allocations: 178.1 kB / 486.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.1335, allocations: 33.7 kB / 486.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.556e-05/0.1336, allocations: 96.14 kB / 486.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.1337, allocations: 27.64 kB / 486.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.694e-05/0.1337, allocations: 29.7 kB / 486.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1338, allocations: 326.8 kB / 487 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.56e-05/0.1339, allocations: 20 kB / 487.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.749e-05/0.134, allocations: 46.56 kB / 487.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.1342, allocations: 73.77 kB / 487.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1342, allocations: 7.875 kB / 487.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002166/0.1344, allocations: 117.4 kB / 487.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1344, allocations: 8 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1344, allocations: 0 / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1344, allocations: 0 / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.528e-05/0.1345, allocations: 19.98 kB / 487.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.1346, allocations: 4.031 kB / 487.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.291e-05/0.1346, allocations: 7.938 kB / 487.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.1346, allocations: 4 kB / 487.3 MB, free: 14.36 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 9.378e-05/0.1347, allocations: 121.8 kB / 487.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.1348, allocations: 15.84 kB / 487.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.61e-05/0.1348, allocations: 13.19 kB / 487.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1348, allocations: 0 / 487.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.1348, allocations: 0 / 487.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.1349, allocations: 7.922 kB / 487.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004833/0.1353, allocations: 423.3 kB / 487.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1354, allocations: 0 / 487.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.077e-05/0.1354, allocations: 12 kB / 487.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.1354, allocations: 0 / 487.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.1354, allocations: 7.938 kB / 487.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1354, allocations: 4 kB / 487.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1354, allocations: 0 / 487.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.1357, allocations: 220.2 kB / 488.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.377e-05/0.1358, allocations: 85.02 kB / 488.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/0.1358, allocations: 11.94 kB / 488.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.817e-05/0.1359, allocations: 7.984 kB / 488.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.1359, allocations: 0 / 488.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.136, allocations: 4.188 kB / 488.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.1361, allocations: 135.2 kB / 488.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1361, allocations: 7.938 kB / 488.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003209/0.1364, allocations: 47.98 kB / 488.4 MB, free: 13.14 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.00126/0.1377, allocations: 0.5368 MB / 489 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.1379, allocations: 71.91 kB / 489 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1379, allocations: 0 / 489 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.21e-05/0.138, allocations: 35.97 kB / 489.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.1384, allocations: 35.53 kB / 489.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000542/0.1389, allocations: 248.9 kB / 489.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.1392, allocations: 0.7002 MB / 490.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.768e-05/0.1393, allocations: 27.36 kB / 490.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1393, allocations: 0 / 490.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of Templates: time 0.004775/0.144, allocations: 2.524 MB / 492.6 MB, free: 9.102 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