Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008553/0.0008555, allocations: 93.27 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009947/0.0009948, allocations: 200.4 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 227.7 MB / 247.5 MB, free: 11.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2072/0.2072, allocations: 46.19 MB / 345.9 MB, free: 11.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002895/0.0002895, allocations: 15.94 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1161, allocations: 63.56 MB / 483.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002492/0.1186, allocations: 1.438 MB / 485.2 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001846/0.1205, allocations: 0.9902 MB / 486.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.1206, allocations: 4 kB / 486.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003589/0.121, allocations: 43.89 kB / 486.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003573/0.1213, allocations: 79.67 kB / 486.3 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.1216, allocations: 63.88 kB / 486.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.1219, allocations: 99.69 kB / 486.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.122, allocations: 4 kB / 486.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.1221, allocations: 43.73 kB / 486.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.582e-05/0.1222, allocations: 39.77 kB / 486.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.1222, allocations: 4 kB / 486.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.1224, allocations: 39.98 kB / 486.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.632e-05/0.1225, allocations: 23.92 kB / 486.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.543e-05/0.1226, allocations: 65.38 kB / 486.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.1227, allocations: 96.02 kB / 486.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1228, allocations: 0 / 486.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1228, allocations: 0 / 486.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1228, allocations: 0 / 486.8 MB, free: 1.074 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.0006236/0.1234, allocations: 407 kB / 487.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.1235, allocations: 8.875 kB / 487.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.07e-05/0.1235, allocations: 12.83 kB / 487.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.1238, allocations: 204 kB / 487.4 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.1238, allocations: 4.375 kB / 487.4 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.1238, allocations: 12.11 kB / 487.4 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.124, allocations: 57.61 kB / 487.5 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.124, allocations: 0 / 487.5 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.1241, allocations: 8 kB / 487.5 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1241, allocations: 0 / 487.5 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.746e-05/0.1242, allocations: 19.98 kB / 487.5 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004514/0.1246, allocations: 285 kB / 487.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.1248, allocations: 62.61 kB / 487.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.899e-05/0.1249, allocations: 20.86 kB / 487.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.1249, allocations: 4 kB / 487.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002258/0.1251, allocations: 67.39 kB / 487.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.1252, allocations: 0 / 487.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006026/0.1258, allocations: 181 kB / 488.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.1258, allocations: 55.41 kB / 488.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.126, allocations: 210.9 kB / 488.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.1261, allocations: 29.7 kB / 488.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.103e-05/0.1261, allocations: 104.1 kB / 488.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.1262, allocations: 19.72 kB / 488.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.1262, allocations: 13.72 kB / 488.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1263, allocations: 330.8 kB / 488.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.558e-05/0.1264, allocations: 19.98 kB / 488.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.946e-05/0.1265, allocations: 41.64 kB / 488.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.1266, allocations: 61.7 kB / 489 MB, free: 14.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.1266, allocations: 0 / 489 MB, free: 14.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001891/0.1268, allocations: 109.3 kB / 489.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1268, allocations: 4 kB / 489.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1268, allocations: 0 / 489.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1268, allocations: 192 / 489.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.129e-05/0.1269, allocations: 19.98 kB / 489.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.127, allocations: 3.938 kB / 489.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.324e-05/0.127, allocations: 11.97 kB / 489.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.127, allocations: 4 kB / 489.1 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.0001137/0.1272, allocations: 141.7 kB / 489.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.1272, allocations: 7.906 kB / 489.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.555e-05/0.1272, allocations: 21.39 kB / 489.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1272, allocations: 0 / 489.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1272, allocations: 0 / 489.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1273, allocations: 3.938 kB / 489.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004429/0.1277, allocations: 395.3 kB / 489.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1277, allocations: 0 / 489.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.1278, allocations: 11.98 kB / 489.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1278, allocations: 4 kB / 489.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.1278, allocations: 3.938 kB / 489.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1278, allocations: 0 / 489.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1278, allocations: 0 / 489.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003102/0.1281, allocations: 212.5 kB / 489.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.505e-05/0.1282, allocations: 92.84 kB / 490 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.1282, allocations: 11.94 kB / 490 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/0.1283, allocations: 4.375 kB / 490 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.1283, allocations: 3.984 kB / 490 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.1284, allocations: 4 kB / 490 MB, free: 13.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002144/0.1286, allocations: 160.3 kB / 490.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.1286, allocations: 4 kB / 490.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.1289, allocations: 20 kB / 490.2 MB, free: 13.31 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.001083/0.13, allocations: 456.3 kB / 490.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001664/0.1301, allocations: 59.92 kB / 490.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1301, allocations: 0 / 490.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.255e-05/0.1302, allocations: 31.97 kB / 490.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.1306, allocations: 23.98 kB / 490.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005076/0.1311, allocations: 299.9 kB / 491 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.1315, allocations: 0.7082 MB / 491.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.1315, allocations: 15.44 kB / 491.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1315, allocations: 4 kB / 491.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of Templates: time 0.00403/0.1356, allocations: 1.946 MB / 493.7 MB, free: 9.879 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches