Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001361/0.001361, allocations: 108.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.001576/0.001576, 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.557/1.557, allocations: 227.4 MB / 246.3 MB, free: 9.043 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2486/0.2486, allocations: 46.11 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 80.11 kB / 416.8 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1177, allocations: 62.45 MB / 479.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003054/0.1208, allocations: 1.785 MB / 481.1 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.1225, allocations: 1.02 MB / 482.1 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.224e-05/0.1226, allocations: 3.938 kB / 482.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003321/0.1229, allocations: 51.81 kB / 482.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002924/0.1233, allocations: 79.69 kB / 482.2 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.1235, allocations: 59.88 kB / 482.3 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000181/0.1237, allocations: 99.69 kB / 482.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1238, allocations: 8 kB / 482.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.124, allocations: 43.78 kB / 482.4 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.034e-05/0.1241, allocations: 39.78 kB / 482.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.1241, allocations: 0 / 482.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.1242, allocations: 47.97 kB / 482.5 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.524e-05/0.1243, allocations: 23.86 kB / 482.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.091e-05/0.1243, allocations: 31.75 kB / 482.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.1246, allocations: 119.8 kB / 482.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1246, allocations: 0 / 482.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1246, allocations: 0 / 482.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1246, allocations: 0 / 482.7 MB, free: 2.262 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.0005543/0.1252, allocations: 423 kB / 483.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.1252, allocations: 12.88 kB / 483.1 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/0.1252, allocations: 8.844 kB / 483.1 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.1255, allocations: 216 kB / 483.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.1255, allocations: 4.312 kB / 483.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.1256, allocations: 8.125 kB / 483.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.1257, allocations: 53.67 kB / 483.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1257, allocations: 0 / 483.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.1257, allocations: 0 / 483.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1258, allocations: 0 / 483.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.007e-05/0.1258, allocations: 27.98 kB / 483.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.1262, allocations: 288.9 kB / 483.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.1264, allocations: 58.61 kB / 483.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.492e-05/0.1265, allocations: 20.84 kB / 483.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.1265, allocations: 4 kB / 483.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002166/0.1268, allocations: 71.33 kB / 483.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1268, allocations: 0 / 483.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005792/0.1273, allocations: 185 kB / 484.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.1274, allocations: 51.41 kB / 484.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.1276, allocations: 206.9 kB / 484.3 MB, free: 476 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.1276, allocations: 29.7 kB / 484.3 MB, free: 440 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.1278, allocations: 104.1 kB / 484.4 MB, free: 332 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.1278, allocations: 19.72 kB / 484.5 MB, free: 312 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.484e-05/0.1279, allocations: 25.7 kB / 484.5 MB, free: 280 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.1281, allocations: 330.8 kB / 484.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.359e-05/0.1281, allocations: 23.92 kB / 484.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.622e-05/0.1282, allocations: 37.64 kB / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.1283, allocations: 57.72 kB / 484.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1283, allocations: 4 kB / 484.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002045/0.1285, allocations: 101.4 kB / 485 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1286, allocations: 6.656 kB / 485 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1286, allocations: 4 kB / 485 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1286, allocations: 0 / 485 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.758e-05/0.1287, allocations: 16 kB / 485 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.1287, allocations: 3.984 kB / 485.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.03e-05/0.1288, allocations: 11.97 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.1288, allocations: 4 kB / 485.1 MB, free: 15.66 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.0001011/0.1289, allocations: 133.7 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.1289, allocations: 11.91 kB / 485.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.218e-05/0.129, allocations: 17.39 kB / 485.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.129, allocations: 0 / 485.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.129, allocations: 0 / 485.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.454e-05/0.1291, allocations: 7.938 kB / 485.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004859/0.1296, allocations: 407.4 kB / 485.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1296, allocations: 384 / 485.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-05/0.1296, allocations: 8 kB / 485.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1296, allocations: 0 / 485.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.1296, allocations: 7.938 kB / 485.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.1296, allocations: 7.984 kB / 485.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1297, allocations: 0 / 485.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.1299, allocations: 208.2 kB / 485.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.13, allocations: 92.86 kB / 486 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.13, allocations: 7.938 kB / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.384e-05/0.1301, allocations: 4 kB / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.1301, allocations: 7.984 kB / 486 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.1302, allocations: 0 / 486 MB, free: 14.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001366/0.1303, allocations: 156.3 kB / 486.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1303, allocations: 0 / 486.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.1306, allocations: 27.98 kB / 486.1 MB, free: 14.47 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.001031/0.1316, allocations: 450.1 kB / 486.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001881/0.1318, allocations: 55.92 kB / 486.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1318, allocations: 0 / 486.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.849e-05/0.1319, allocations: 35.92 kB / 486.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.1323, allocations: 32.28 kB / 486.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005016/0.1328, allocations: 260.9 kB / 487 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.1331, allocations: 0.7121 MB / 487.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.309e-05/0.1332, allocations: 17.17 kB / 487.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.911e-05/0.1332, allocations: 23.38 kB / 487.7 MB, free: 13 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1332, allocations: 0 / 487.7 MB, free: 13 MB / 366.1 MB Notification: Performance of Templates: time 0.005054/0.1383, allocations: 1.666 MB / 489.4 MB, free: 11.34 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches