Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001358/0.001358, allocations: 93.84 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001675/0.001675, allocations: 203.8 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 227.7 MB / 246.8 MB, free: 9.762 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2167/0.2167, allocations: 46.18 MB / 345.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002813/0.0002813, allocations: 8 kB / 419.5 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1221, allocations: 63.56 MB / 483.1 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002296/0.1244, allocations: 1.438 MB / 484.5 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.1262, allocations: 0.9941 MB / 485.5 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.028e-05/0.1263, allocations: 4 kB / 485.5 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000333/0.1267, allocations: 51.86 kB / 485.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002959/0.127, allocations: 91.66 kB / 485.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.1272, allocations: 59.89 kB / 485.7 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.1274, allocations: 107.7 kB / 485.8 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.869e-05/0.1275, allocations: 8 kB / 485.8 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.2e-05/0.1276, allocations: 43.72 kB / 485.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.538e-05/0.1277, allocations: 39.78 kB / 485.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.1277, allocations: 0 / 485.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.282e-05/0.1278, allocations: 39.98 kB / 486 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.966e-05/0.1279, allocations: 35.84 kB / 486 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.555e-05/0.128, allocations: 69.38 kB / 486.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.1282, allocations: 127.8 kB / 486.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1282, allocations: 4 kB / 486.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1282, allocations: 4 kB / 486.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1282, allocations: 0 / 486.2 MB, free: 0.9727 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.0005933/0.1288, allocations: 422.8 kB / 486.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.1288, allocations: 12.88 kB / 486.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.812e-05/0.1289, allocations: 12.75 kB / 486.6 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.1291, allocations: 221 kB / 486.9 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.1292, allocations: 8.312 kB / 486.9 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.1292, allocations: 8.125 kB / 486.9 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.1294, allocations: 53.67 kB / 486.9 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.1294, allocations: 0 / 486.9 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1294, allocations: 0 / 486.9 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1294, allocations: 4 kB / 486.9 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.422e-05/0.1295, allocations: 15.98 kB / 486.9 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.1299, allocations: 304.8 kB / 487.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.1301, allocations: 66.55 kB / 487.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.74e-05/0.1302, allocations: 16.86 kB / 487.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.1302, allocations: 3.984 kB / 487.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001969/0.1304, allocations: 71.39 kB / 487.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.1304, allocations: 0 / 487.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006085/0.131, allocations: 185.3 kB / 487.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.1311, allocations: 51.41 kB / 487.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.1314, allocations: 271 kB / 487.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.1314, allocations: 29.7 kB / 487.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.857e-05/0.1315, allocations: 116 kB / 488 MB, free: 14.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.1315, allocations: 15.81 kB / 488 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.1316, allocations: 21.7 kB / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1317, allocations: 330.8 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.598e-05/0.1318, allocations: 27.92 kB / 488.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.214e-05/0.1319, allocations: 29.72 kB / 488.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.132, allocations: 57.7 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.132, allocations: 0 / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001857/0.1322, allocations: 113.3 kB / 488.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1323, allocations: 8 kB / 488.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1323, allocations: 128 / 488.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1323, allocations: 0 / 488.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.768e-05/0.1324, allocations: 20 kB / 488.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1324, allocations: 0 / 488.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.459e-05/0.1325, allocations: 11.86 kB / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1325, allocations: 4.188 kB / 488.7 MB, free: 14.27 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.0001253/0.1326, allocations: 144.5 kB / 488.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.1326, allocations: 19.75 kB / 488.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.565e-05/0.1327, allocations: 25.55 kB / 488.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1327, allocations: 0 / 488.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1327, allocations: 0 / 488.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.1327, allocations: 3.938 kB / 488.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004463/0.1332, allocations: 411.3 kB / 489.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1332, allocations: 0 / 489.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.783e-05/0.1333, allocations: 12.03 kB / 489.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1333, allocations: 0 / 489.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.1333, allocations: 3.938 kB / 489.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1333, allocations: 7.938 kB / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1333, allocations: 0 / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.1335, allocations: 212.1 kB / 489.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.1336, allocations: 88.92 kB / 489.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.1336, allocations: 11.94 kB / 489.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.473e-05/0.1337, allocations: 7.984 kB / 489.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.1338, allocations: 4 kB / 489.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.1338, allocations: 4 kB / 489.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001948/0.134, allocations: 208.4 kB / 489.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.134, allocations: 0 / 489.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.1343, allocations: 24 kB / 489.8 MB, free: 13 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.001042/0.1353, allocations: 455.7 kB / 490.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000175/0.1355, allocations: 55.91 kB / 490.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1355, allocations: 0 / 490.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.518e-05/0.1356, allocations: 36.05 kB / 490.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.1359, allocations: 35.3 kB / 490.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005141/0.1365, allocations: 318.9 kB / 490.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.1368, allocations: 0.716 MB / 491.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.105e-05/0.1368, allocations: 25.17 kB / 491.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.68e-05/0.1369, allocations: 15.44 kB / 491.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1369, allocations: 0 / 491.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of Templates: time 0.004737/0.1416, allocations: 1.681 MB / 493.1 MB, free: 9.809 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches