Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008219/0.0008218, allocations: 95 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001001/0.001001, allocations: 202.2 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.8 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2067/0.2067, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002926/0.0002927, allocations: 12 kB / 419.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1207, allocations: 63.56 MB / 483.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.001943/0.1226, allocations: 1.438 MB / 484.5 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.1242, allocations: 0.9902 MB / 485.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.817e-05/0.1243, allocations: 4 kB / 485.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.1246, allocations: 39.83 kB / 485.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002443/0.1249, allocations: 71.75 kB / 485.6 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000173/0.1251, allocations: 67.81 kB / 485.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.1253, allocations: 95.69 kB / 485.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.73e-05/0.1254, allocations: 8 kB / 485.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.166e-05/0.1254, allocations: 43.78 kB / 485.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.911e-05/0.1255, allocations: 35.72 kB / 485.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.1255, allocations: 4 kB / 485.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.615e-05/0.1256, allocations: 39.98 kB / 485.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.91e-05/0.1257, allocations: 19.92 kB / 486 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.303e-05/0.1258, allocations: 57.5 kB / 486 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.126, allocations: 103.9 kB / 486.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.126, allocations: 0 / 486.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.126, allocations: 0 / 486.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.126, allocations: 0 / 486.1 MB, free: 1.094 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.00053/0.1265, allocations: 401.7 kB / 486.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.1266, allocations: 8.875 kB / 486.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.449e-05/0.1266, allocations: 8.844 kB / 486.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.1268, allocations: 208 kB / 486.7 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.1268, allocations: 8.375 kB / 486.7 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.1269, allocations: 4.125 kB / 486.7 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.127, allocations: 53.67 kB / 486.8 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.127, allocations: 0 / 486.8 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.127, allocations: 0 / 486.8 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.127, allocations: 8 kB / 486.8 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.556e-05/0.1271, allocations: 19.92 kB / 486.8 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.1275, allocations: 288.7 kB / 487.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.1276, allocations: 62.66 kB / 487.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.242e-05/0.1277, allocations: 20.84 kB / 487.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.1277, allocations: 8 kB / 487.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.1279, allocations: 67.33 kB / 487.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.1279, allocations: 3.938 kB / 487.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005158/0.1284, allocations: 177.2 kB / 487.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.1285, allocations: 51.41 kB / 487.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.1286, allocations: 170.2 kB / 487.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.1287, allocations: 29.7 kB / 487.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.1287, allocations: 104.1 kB / 487.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.1287, allocations: 19.66 kB / 487.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.573e-05/0.1288, allocations: 17.72 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1289, allocations: 326.8 kB / 488.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.664e-05/0.1289, allocations: 23.98 kB / 488.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.994e-05/0.129, allocations: 33.7 kB / 488.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.1291, allocations: 61.64 kB / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1292, allocations: 0 / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001814/0.1293, allocations: 101.6 kB / 488.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.1294, allocations: 4 kB / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1294, allocations: 0 / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.1294, allocations: 4 kB / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.556e-05/0.1295, allocations: 19.92 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1295, allocations: 0 / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.178e-05/0.1296, allocations: 11.97 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.1296, allocations: 4.375 kB / 488.4 MB, free: 14.58 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 9.274e-05/0.1297, allocations: 121.8 kB / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.1297, allocations: 19.75 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.813e-05/0.1297, allocations: 12.72 kB / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1298, allocations: 0 / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1298, allocations: 4 kB / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.1298, allocations: 7.922 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004391/0.1302, allocations: 387.3 kB / 488.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1302, allocations: 4 kB / 488.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.108e-05/0.1303, allocations: 4 kB / 488.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1303, allocations: 4 kB / 488.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.1303, allocations: 3.938 kB / 488.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1303, allocations: 3.938 kB / 488.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.1303, allocations: 7.984 kB / 489 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.1305, allocations: 204.3 kB / 489.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.517e-05/0.1306, allocations: 81.02 kB / 489.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.1306, allocations: 12.12 kB / 489.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.183e-05/0.1307, allocations: 3.984 kB / 489.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.1308, allocations: 7.938 kB / 489.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.1308, allocations: 4 kB / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.528e-05/0.1309, allocations: 131.2 kB / 489.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1309, allocations: 8 kB / 489.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.1311, allocations: 27.91 kB / 489.4 MB, free: 13.43 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.001017/0.1322, allocations: 456.2 kB / 489.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001637/0.1323, allocations: 63.97 kB / 489.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1324, allocations: 0 / 489.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.25e-05/0.1325, allocations: 31.92 kB / 490 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.1328, allocations: 23.98 kB / 490 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004096/0.1332, allocations: 230.5 kB / 490.2 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.1335, allocations: 0.7004 MB / 490.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.993e-05/0.1336, allocations: 8.891 kB / 490.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.1336, allocations: 23.42 kB / 490.9 MB, free: 12 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1336, allocations: 0 / 490.9 MB, free: 12 MB / 366.1 MB Notification: Performance of Templates: time 0.004279/0.1379, allocations: 1.637 MB / 492.6 MB, free: 10.38 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches