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.001228/0.001228, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001326/0.001326, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2266/0.2266, allocations: 46.11 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 78.47 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1223, allocations: 62.45 MB / 481.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003487/0.1258, allocations: 1.737 MB / 483.2 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.1276, allocations: 1.021 MB / 484.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.172e-05/0.1278, allocations: 0 / 484.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003522/0.1281, allocations: 47.75 kB / 484.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003676/0.1285, allocations: 99.53 kB / 484.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.1287, allocations: 71.75 kB / 484.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.1289, allocations: 107.6 kB / 484.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.1291, allocations: 8 kB / 484.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.56e-05/0.1292, allocations: 43.78 kB / 484.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.814e-05/0.1292, allocations: 35.78 kB / 484.6 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.1293, allocations: 8 kB / 484.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.903e-05/0.1294, allocations: 43.98 kB / 484.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.703e-05/0.1294, allocations: 19.92 kB / 484.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.012e-05/0.1295, allocations: 39.72 kB / 484.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.1297, allocations: 123.6 kB / 484.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.1297, allocations: 0 / 484.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.1298, allocations: 0 / 484.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1298, allocations: 4 kB / 484.9 MB, free: 1.109 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.0005977/0.1304, allocations: 418.9 kB / 485.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.1304, allocations: 16.03 kB / 485.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.852e-05/0.1305, allocations: 8.844 kB / 485.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000325/0.1308, allocations: 212 kB / 485.5 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.1308, allocations: 8.375 kB / 485.5 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.1309, allocations: 4.125 kB / 485.5 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.131, allocations: 57.61 kB / 485.6 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.131, allocations: 0 / 485.6 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.1311, allocations: 0 / 485.6 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.1311, allocations: 7.938 kB / 485.6 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.391e-05/0.1311, allocations: 19.98 kB / 485.6 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.1316, allocations: 296.8 kB / 485.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.1318, allocations: 62.62 kB / 485.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.589e-05/0.1318, allocations: 20.84 kB / 486 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.1319, allocations: 0 / 486 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.132, allocations: 71.39 kB / 486 MB, free: 15.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.132, allocations: 0 / 486 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005987/0.1326, allocations: 177 kB / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.1327, allocations: 51.41 kB / 486.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.1329, allocations: 206.4 kB / 486.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.1329, allocations: 25.7 kB / 486.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.628e-05/0.133, allocations: 112.1 kB / 486.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.1331, allocations: 23.7 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.589e-05/0.1331, allocations: 21.66 kB / 486.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1333, allocations: 326.8 kB / 487 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.43e-05/0.1334, allocations: 23.98 kB / 487 MB, free: 14.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/0.1335, allocations: 37.64 kB / 487 MB, free: 14.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.1336, allocations: 61.72 kB / 487.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1336, allocations: 3.984 kB / 487.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001944/0.1338, allocations: 101.4 kB / 487.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1338, allocations: 8 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1338, allocations: 0 / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.1338, allocations: 0 / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.522e-05/0.1339, allocations: 15.98 kB / 487.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.134, allocations: 4 kB / 487.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.134, allocations: 7.938 kB / 487.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.134, allocations: 8.031 kB / 487.2 MB, free: 14.5 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.0001193/0.1342, allocations: 129.7 kB / 487.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.062e-05/0.1342, allocations: 11.91 kB / 487.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.277e-05/0.1342, allocations: 17.41 kB / 487.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1342, allocations: 4 kB / 487.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1343, allocations: 3.984 kB / 487.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1343, allocations: 3.938 kB / 487.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004611/0.1347, allocations: 399.2 kB / 487.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1348, allocations: 0 / 487.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.256e-05/0.1348, allocations: 8.188 kB / 487.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.1348, allocations: 3.984 kB / 487.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.1348, allocations: 12.25 kB / 487.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1348, allocations: 0 / 487.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1348, allocations: 4 kB / 487.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.1351, allocations: 200.3 kB / 488 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.413e-05/0.1351, allocations: 92.86 kB / 488.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.1352, allocations: 3.938 kB / 488.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.911e-05/0.1352, allocations: 7.984 kB / 488.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.1353, allocations: 8 kB / 488.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.1353, allocations: 4 kB / 488.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000127/0.1354, allocations: 160.8 kB / 488.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1354, allocations: 0 / 488.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.1357, allocations: 27.98 kB / 488.3 MB, free: 13.32 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.00103/0.1367, allocations: 454.7 kB / 488.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002271/0.137, allocations: 59.91 kB / 488.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.137, allocations: 4.062 kB / 488.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.391e-05/0.1371, allocations: 27.98 kB / 488.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.1374, allocations: 26.78 kB / 488.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/0.1379, allocations: 242.9 kB / 489.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.1382, allocations: 0.7041 MB / 489.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.852e-05/0.1383, allocations: 21.17 kB / 489.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.1383, allocations: 19.44 kB / 489.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1383, allocations: 0 / 489.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of Templates: time 0.004438/0.1427, allocations: 1.731 MB / 491.6 MB, free: 10.16 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches