Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00134/0.00134, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001382/0.001382, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 227.4 MB / 247.5 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2344/0.2344, allocations: 46.11 MB / 344.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 82.06 kB / 418.3 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1201, allocations: 62.45 MB / 480.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003559/0.1237, allocations: 1.77 MB / 482.5 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.1256, allocations: 1.029 MB / 483.6 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.758e-05/0.1257, allocations: 7.938 kB / 483.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003653/0.126, allocations: 107.7 kB / 483.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003404/0.1264, allocations: 131.5 kB / 483.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.1266, allocations: 79.67 kB / 483.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.1269, allocations: 131.7 kB / 484 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.127, allocations: 21.41 kB / 484 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.1271, allocations: 67.75 kB / 484.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.1272, allocations: 67.75 kB / 484.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.1273, allocations: 8 kB / 484.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.1274, allocations: 59.97 kB / 484.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.841e-05/0.1275, allocations: 35.84 kB / 484.3 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.605e-05/0.1275, allocations: 51.61 kB / 484.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.1278, allocations: 155.8 kB / 484.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.099e-05/0.1278, allocations: 4 kB / 484.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1278, allocations: 3.938 kB / 484.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.1278, allocations: 0 / 484.5 MB, free: 1.516 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006387/0.1285, allocations: 458.7 kB / 484.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.1285, allocations: 8.031 kB / 484.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.216e-05/0.1286, allocations: 16.75 kB / 485 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.1289, allocations: 228.9 kB / 485.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.1289, allocations: 8.375 kB / 485.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.219e-05/0.1289, allocations: 8.125 kB / 485.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.1291, allocations: 73.59 kB / 485.3 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.1291, allocations: 0 / 485.3 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.1291, allocations: 4 kB / 485.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.046e-06/0.1292, allocations: 4 kB / 485.3 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.1293, allocations: 31.97 kB / 485.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004812/0.1298, allocations: 340.6 kB / 485.6 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.1301, allocations: 74.55 kB / 485.7 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.92e-05/0.1301, allocations: 24.84 kB / 485.7 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.1302, allocations: 7.984 kB / 485.7 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002608/0.1304, allocations: 87.25 kB / 485.8 MB, free: 4 kB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.1305, allocations: 0 / 485.8 MB, free: 4 kB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009445/0.1314, allocations: 297 kB / 486.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.1315, allocations: 59.34 kB / 486.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.1318, allocations: 263.6 kB / 486.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.1318, allocations: 29.7 kB / 486.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.118e-05/0.1319, allocations: 112.1 kB / 486.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.066e-05/0.1319, allocations: 47.44 kB / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.457e-05/0.132, allocations: 33.72 kB / 486.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.1322, allocations: 330.8 kB / 487 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.511e-05/0.1323, allocations: 35.98 kB / 487 MB, free: 14.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.1324, allocations: 57.7 kB / 487.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.1326, allocations: 97.7 kB / 487.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1326, allocations: 0 / 487.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000281/0.1329, allocations: 168.6 kB / 487.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.1329, allocations: 8 kB / 487.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1329, allocations: 112 / 487.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1329, allocations: 7.875 kB / 487.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.133, allocations: 32.77 kB / 487.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1331, allocations: 0 / 487.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.12e-05/0.1331, allocations: 7.984 kB / 487.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.1331, allocations: 12 kB / 487.4 MB, free: 14.37 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 (16): * Single equations (assignments): 16 * 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.0001319/0.1333, allocations: 137.9 kB / 487.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.1333, allocations: 15.81 kB / 487.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.403e-05/0.1334, allocations: 25.52 kB / 487.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1334, allocations: 3.938 kB / 487.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.1334, allocations: 0 / 487.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1334, allocations: 3.938 kB / 487.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007129/0.1341, allocations: 0.5115 MB / 488.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1342, allocations: 0 / 488.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.281e-05/0.1342, allocations: 19.98 kB / 488.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1342, allocations: 0 / 488.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.1343, allocations: 4 kB / 488.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1343, allocations: 7.938 kB / 488.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.1343, allocations: 3.938 kB / 488.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003416/0.1346, allocations: 261 kB / 488.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.084e-05/0.1347, allocations: 96.91 kB / 488.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.1347, allocations: 4 kB / 488.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.02e-05/0.1348, allocations: 4 kB / 488.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.1349, allocations: 11.98 kB / 488.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.1349, allocations: 8 kB / 488.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001954/0.1351, allocations: 197.4 kB / 488.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1351, allocations: 4 kB / 488.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002913/0.1354, allocations: 32 kB / 488.7 MB, free: 12.92 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.00196/0.1374, allocations: 0.4997 MB / 489.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002823/0.1377, allocations: 111.8 kB / 489.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1377, allocations: 0 / 489.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.1378, allocations: 51.92 kB / 489.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.1382, allocations: 35.16 kB / 489.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006649/0.1389, allocations: 370.3 kB / 489.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.1393, allocations: 0.7279 MB / 490.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.357e-05/0.1394, allocations: 19.44 kB / 490.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1394, allocations: 0 / 490.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of Templates: time 0.005024/0.1444, allocations: 2.524 MB / 493.1 MB, free: 8.723 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches